FFmpeg
|
#include <stdint.h>
#include "libavutil/avconfig.h"
#include "attributes.h"
#include "bswap.h"
#include "config.h"
Go to the source code of this file.
Data Structures | |
union | av_alias |
union | av_alias |
union | av_alias |
union | unaligned_64 |
union | unaligned_32 |
union | unaligned_16 |
Macros | |
#define | AV_RN(s, p) (((const union unaligned_##s *) (p))->l) |
#define | AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v)) |
#define | AV_RN16(p) AV_RN(16, p) |
#define | AV_RN32(p) AV_RN(32, p) |
#define | AV_RN64(p) AV_RN(64, p) |
#define | AV_WN16(p, v) AV_WN(16, p, v) |
#define | AV_WN32(p, v) AV_WN(32, p, v) |
#define | AV_WN64(p, v) AV_WN(64, p, v) |
#define | AV_RB(s, p) av_bswap##s(AV_RN##s(p)) |
#define | AV_WB(s, p, v) AV_WN##s(p, av_bswap##s(v)) |
#define | AV_RL(s, p) AV_RN##s(p) |
#define | AV_WL(s, p, v) AV_WN##s(p, v) |
#define | AV_RB8(x) (((const uint8_t*)(x))[0]) |
#define | AV_WB8(p, d) do { ((uint8_t*)(p))[0] = (d); } while(0) |
#define | AV_RL8(x) AV_RB8(x) |
#define | AV_WL8(p, d) AV_WB8(p, d) |
#define | AV_RB16(p) AV_RB(16, p) |
#define | AV_WB16(p, v) AV_WB(16, p, v) |
#define | AV_RL16(p) AV_RL(16, p) |
#define | AV_WL16(p, v) AV_WL(16, p, v) |
#define | AV_RB32(p) AV_RB(32, p) |
#define | AV_WB32(p, v) AV_WB(32, p, v) |
#define | AV_RL32(p) AV_RL(32, p) |
#define | AV_WL32(p, v) AV_WL(32, p, v) |
#define | AV_RB64(p) AV_RB(64, p) |
#define | AV_WB64(p, v) AV_WB(64, p, v) |
#define | AV_RL64(p) AV_RL(64, p) |
#define | AV_WL64(p, v) AV_WL(64, p, v) |
#define | AV_RB24(x) |
#define | AV_WB24(p, d) |
#define | AV_RL24(x) |
#define | AV_WL24(p, d) |
#define | AV_RB48(x) |
#define | AV_WB48(p, darg) |
#define | AV_RL48(x) |
#define | AV_WL48(p, darg) |
#define | AV_RNA(s, p) (((const av_alias##s*)(p))->u##s) |
#define | AV_WNA(s, p, v) (((av_alias##s*)(p))->u##s = (v)) |
#define | AV_RN16A(p) AV_RNA(16, p) |
#define | AV_RN32A(p) AV_RNA(32, p) |
#define | AV_RN64A(p) AV_RNA(64, p) |
#define | AV_WN16A(p, v) AV_WNA(16, p, v) |
#define | AV_WN32A(p, v) AV_WNA(32, p, v) |
#define | AV_WN64A(p, v) AV_WNA(64, p, v) |
#define | AV_RLA(s, p) AV_RN##s##A(p) |
#define | AV_WLA(s, p, v) AV_WN##s##A(p, v) |
#define | AV_RL64A(p) AV_RLA(64, p) |
#define | AV_WL64A(p, v) AV_WLA(64, p, v) |
#define | AV_COPYU(n, d, s) AV_WN##n(d, AV_RN##n(s)); |
#define | AV_COPY16U(d, s) AV_COPYU(16, d, s) |
#define | AV_COPY32U(d, s) AV_COPYU(32, d, s) |
#define | AV_COPY64U(d, s) AV_COPYU(64, d, s) |
#define | AV_COPY128U(d, s) |
#define | AV_COPY(n, d, s) (((av_alias##n*)(d))->u##n = ((const av_alias##n*)(s))->u##n) |
#define | AV_COPY16(d, s) AV_COPY(16, d, s) |
#define | AV_COPY32(d, s) AV_COPY(32, d, s) |
#define | AV_COPY64(d, s) AV_COPY(64, d, s) |
#define | AV_COPY128(d, s) |
#define | AV_SWAP(n, a, b) FFSWAP(av_alias##n, *(av_alias##n*)(a), *(av_alias##n*)(b)) |
#define | AV_SWAP64(a, b) AV_SWAP(64, a, b) |
#define | AV_ZERO(n, d) (((av_alias##n*)(d))->u##n = 0) |
#define | AV_ZERO16(d) AV_ZERO(16, d) |
#define | AV_ZERO32(d) AV_ZERO(32, d) |
#define | AV_ZERO64(d) AV_ZERO(64, d) |
#define | AV_ZERO128(d) |
Variables | |
union unaligned_64 | av_alias |
Definition at line 222 of file intreadwrite.h.
Definition at line 223 of file intreadwrite.h.
#define AV_RN16 | ( | p | ) | AV_RN(16, p) |
Definition at line 358 of file intreadwrite.h.
#define AV_RN32 | ( | p | ) | AV_RN(32, p) |
Definition at line 362 of file intreadwrite.h.
#define AV_RN64 | ( | p | ) | AV_RN(64, p) |
Definition at line 366 of file intreadwrite.h.
#define AV_WN16 | ( | p, | |
v | |||
) | AV_WN(16, p, v) |
Definition at line 370 of file intreadwrite.h.
#define AV_WN32 | ( | p, | |
v | |||
) | AV_WN(32, p, v) |
Definition at line 374 of file intreadwrite.h.
#define AV_WN64 | ( | p, | |
v | |||
) | AV_WN(64, p, v) |
Definition at line 378 of file intreadwrite.h.
Definition at line 388 of file intreadwrite.h.
Definition at line 389 of file intreadwrite.h.
Definition at line 390 of file intreadwrite.h.
#define AV_RB8 | ( | x | ) | (((const uint8_t*)(x))[0]) |
Definition at line 393 of file intreadwrite.h.
Definition at line 394 of file intreadwrite.h.
#define AV_RL8 | ( | x | ) | AV_RB8(x) |
Definition at line 396 of file intreadwrite.h.
Definition at line 397 of file intreadwrite.h.
#define AV_RB16 | ( | p | ) | AV_RB(16, p) |
Definition at line 400 of file intreadwrite.h.
#define AV_WB16 | ( | p, | |
v | |||
) | AV_WB(16, p, v) |
Definition at line 403 of file intreadwrite.h.
#define AV_RL16 | ( | p | ) | AV_RL(16, p) |
Definition at line 407 of file intreadwrite.h.
#define AV_WL16 | ( | p, | |
v | |||
) | AV_WL(16, p, v) |
Definition at line 410 of file intreadwrite.h.
#define AV_RB32 | ( | p | ) | AV_RB(32, p) |
Definition at line 414 of file intreadwrite.h.
#define AV_WB32 | ( | p, | |
v | |||
) | AV_WB(32, p, v) |
Definition at line 417 of file intreadwrite.h.
#define AV_RL32 | ( | p | ) | AV_RL(32, p) |
Definition at line 421 of file intreadwrite.h.
#define AV_WL32 | ( | p, | |
v | |||
) | AV_WL(32, p, v) |
Definition at line 424 of file intreadwrite.h.
#define AV_RB64 | ( | p | ) | AV_RB(64, p) |
Definition at line 428 of file intreadwrite.h.
#define AV_WB64 | ( | p, | |
v | |||
) | AV_WB(64, p, v) |
Definition at line 431 of file intreadwrite.h.
#define AV_RL64 | ( | p | ) | AV_RL(64, p) |
Definition at line 435 of file intreadwrite.h.
#define AV_WL64 | ( | p, | |
v | |||
) | AV_WL(64, p, v) |
Definition at line 438 of file intreadwrite.h.
#define AV_RB24 | ( | x | ) |
Definition at line 442 of file intreadwrite.h.
#define AV_WB24 | ( | p, | |
d | |||
) |
Definition at line 448 of file intreadwrite.h.
#define AV_RL24 | ( | x | ) |
Definition at line 456 of file intreadwrite.h.
#define AV_WL24 | ( | p, | |
d | |||
) |
Definition at line 462 of file intreadwrite.h.
#define AV_RB48 | ( | x | ) |
Definition at line 470 of file intreadwrite.h.
#define AV_WB48 | ( | p, | |
darg | |||
) |
#define AV_RL48 | ( | x | ) |
Definition at line 491 of file intreadwrite.h.
#define AV_WL48 | ( | p, | |
darg | |||
) |
Definition at line 516 of file intreadwrite.h.
Definition at line 517 of file intreadwrite.h.
#define AV_RN16A | ( | p | ) | AV_RNA(16, p) |
Definition at line 520 of file intreadwrite.h.
#define AV_RN32A | ( | p | ) | AV_RNA(32, p) |
Definition at line 524 of file intreadwrite.h.
#define AV_RN64A | ( | p | ) | AV_RNA(64, p) |
Definition at line 528 of file intreadwrite.h.
#define AV_WN16A | ( | p, | |
v | |||
) | AV_WNA(16, p, v) |
Definition at line 532 of file intreadwrite.h.
#define AV_WN32A | ( | p, | |
v | |||
) | AV_WNA(32, p, v) |
Definition at line 536 of file intreadwrite.h.
#define AV_WN64A | ( | p, | |
v | |||
) | AV_WNA(64, p, v) |
Definition at line 540 of file intreadwrite.h.
#define AV_RL64A | ( | p | ) | AV_RLA(64, p) |
Definition at line 552 of file intreadwrite.h.
#define AV_WL64A | ( | p, | |
v | |||
) | AV_WLA(64, p, v) |
Definition at line 555 of file intreadwrite.h.
Definition at line 563 of file intreadwrite.h.
Definition at line 591 of file intreadwrite.h.
Definition at line 614 of file intreadwrite.h.
Definition at line 620 of file intreadwrite.h.
Definition at line 623 of file intreadwrite.h.
Definition at line 627 of file intreadwrite.h.
Definition at line 631 of file intreadwrite.h.
#define AV_ZERO128 | ( | d | ) |
Definition at line 635 of file intreadwrite.h.
union unaligned_16 av_alias |