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 |
Macros | |
#define | AV_RB16(x) |
#define | AV_WB16(p, darg) |
#define | AV_RL16(x) |
#define | AV_WL16(p, darg) |
#define | AV_RB32(x) |
#define | AV_WB32(p, darg) |
#define | AV_RL32(x) |
#define | AV_WL32(p, darg) |
#define | AV_RB64(x) |
#define | AV_WB64(p, darg) |
#define | AV_RL64(x) |
#define | AV_WL64(p, darg) |
#define | AV_RN(s, p) AV_RL##s(p) |
#define | AV_WN(s, p, v) AV_WL##s(p, 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_RB24(x) |
#define | AV_WB24(p, d) |
#define | AV_RL24(x) |
#define | AV_WL24(p, d) |
#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_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) |
#define AV_RB16 | ( | x | ) |
Definition at line 208 of file intreadwrite.h.
#define AV_WB16 | ( | p, | |
darg | |||
) |
Definition at line 213 of file intreadwrite.h.
Referenced by adx_encode(), av_write_image_line(), concatenate_packet(), decode_frame(), dnxhd_write_header(), encode_slice(), fillPlane16(), jpeg_create_header(), jpeg_put_comments(), jpeg_table_header(), mov_read_chapters(), mov_text_encode_frame(), output_frame_end(), planarCopyWrapper(), prores_encode_picture(), qdm2_restore_block(), sap_write_header(), sctp_read(), sp5x_decode_frame(), spdif_header_dts4(), tcp_write_packet(), and text2movsub().
#define AV_RL16 | ( | x | ) |
Definition at line 221 of file intreadwrite.h.
#define AV_WL16 | ( | p, | |
darg | |||
) |
Definition at line 226 of file intreadwrite.h.
Referenced by ape_read_header(), av_write_image_line(), bmp_encode_frame(), decode_frame(), encode_init(), fillPlane16(), oma_read_header(), planarCopyWrapper(), siff_read_packet(), smush_read_header(), targa_encode_frame(), wsaud_read_packet(), and wsvqa_read_packet().
#define AV_RB32 | ( | x | ) |
#define AV_WB32 | ( | p, | |
darg | |||
) |
Definition at line 241 of file intreadwrite.h.
Referenced by a64multi_encode_frame(), a64multi_init_encoder(), alac_encode_init(), alloc_and_copy(), av_blowfish_crypt(), av_sha_final(), decode_slice(), dnxhd_encode_picture(), dnxhd_write_header(), dv_read_header(), dv_write_pack(), dyn_packet_buf_write(), encode_frame(), ff_avc_write_annexb_extradata(), ffm_write_packet(), filter_frame(), find_expected_header(), matroska_read_header(), mov_create_timecode_track(), mov_read_extradata(), mp3_header_decompress(), mpegts_write_packet_internal(), parse_playlist(), prores_encode_picture(), put_bits(), qdm2_parse_config(), read_kuki_chunk(), rtmp_send_hs_packet(), rtmp_server_handshake(), sunrast_encode_frame(), super2xsai(), svq3_parse_packet(), utvideo_encode_init(), xmv_fetch_video_packet(), xmv_read_extradata(), and xtea_crypt_ecb().
#define AV_RL32 | ( | x | ) |
#define AV_WL32 | ( | p, | |
darg | |||
) |
Definition at line 258 of file intreadwrite.h.
Referenced by aac_decode_frame_int(), add_metadata(), ape_read_packet(), av_image_copy_to_buffer(), av_lfg_init(), av_md5_final(), av_read_frame(), avi_read_tag(), celt_header(), encode_frame(), encode_init(), fourxm_read_header(), mov_read_extradata(), ogg_build_speex_headers(), oma_read_header(), png_write_chunk(), put_bits(), read_header(), read_packet(), rm_assemble_video_frame(), rtmpe9_sig(), rtp_asf_fix_header(), sbg_read_packet(), send_command_packet(), smush_read_header(), srt_read_header(), super2xsai(), svq3_decode_slice_header(), targa_encode_frame(), utvideo_encode_init(), v410_encode_frame(), vorbis_header(), write_extradata(), and wv_read_packet().
#define AV_RB64 | ( | x | ) |
Definition at line 268 of file intreadwrite.h.
#define AV_WB64 | ( | p, | |
darg | |||
) |
Definition at line 279 of file intreadwrite.h.
Referenced by av_des_crypt_mac(), encode_frame(), ffm_write_packet(), mkv_write_header(), and mxf_gen_umid().
#define AV_RL64 | ( | x | ) |
Definition at line 293 of file intreadwrite.h.
#define AV_WL64 | ( | p, | |
darg | |||
) |
Definition at line 304 of file intreadwrite.h.
Referenced by ff_asfcrypt_dec(), and sbg_read_packet().
#define AV_RN | ( | s, | |
p | |||
) | AV_RL##s(p) |
Definition at line 321 of file intreadwrite.h.
#define AV_WN | ( | s, | |
p, | |||
v | |||
) | AV_WL##s(p, v) |
Definition at line 322 of file intreadwrite.h.
Referenced by libschroedinger_decode_frame().
#define AV_RN16 | ( | p | ) | AV_RN(16, p) |
Definition at line 328 of file intreadwrite.h.
Referenced by cdxl_read_probe(), fill16(), and wtvfile_open2().
#define AV_RN32 | ( | p | ) | AV_RN(32, p) |
Definition at line 332 of file intreadwrite.h.
Referenced by av_image_copy_to_buffer(), cdxl_read_probe(), epaf_probe(), fill32(), ircam_probe(), pmp_probe(), targa_encode_frame(), wv_read_block_header(), and wv_read_header().
#define AV_RN64 | ( | p | ) | AV_RN(64, p) |
Definition at line 336 of file intreadwrite.h.
Referenced by addkey_s(), av_adler32_update(), cdxl_read_probe(), ff_asfcrypt_dec(), ff_cavs_filter(), intra_pred_vert(), and libschroedinger_decode_frame().
#define AV_WN16 | ( | p, | |
v | |||
) | AV_WN(16, p, v) |
Definition at line 340 of file intreadwrite.h.
#define AV_WN32 | ( | p, | |
v | |||
) | AV_WN(32, p, v) |
Definition at line 344 of file intreadwrite.h.
Referenced by av_base64_decode(), fill16(), fill24(), fill32(), import_palette(), and lag_decode_frame().
#define AV_WN64 | ( | p, | |
v | |||
) | AV_WN(64, p, v) |
Definition at line 348 of file intreadwrite.h.
Referenced by addkey_d(), and vp8_decode_mb_row_no_filter().
#define AV_RB | ( | s, | |
p | |||
) | av_bswap##s(AV_RN##s(p)) |
Definition at line 357 of file intreadwrite.h.
#define AV_WB | ( | s, | |
p, | |||
v | |||
) | AV_WN##s(p, av_bswap##s(v)) |
Definition at line 358 of file intreadwrite.h.
#define AV_RL | ( | s, | |
p | |||
) | AV_RN##s(p) |
Definition at line 359 of file intreadwrite.h.
#define AV_WL | ( | s, | |
p, | |||
v | |||
) | AV_WN##s(p, v) |
Definition at line 360 of file intreadwrite.h.
#define AV_RB8 | ( | x | ) | (((const uint8_t*)(x))[0]) |
Definition at line 363 of file intreadwrite.h.
#define AV_WB8 | ( | p, | |
d | |||
) | do { ((uint8_t*)(p))[0] = (d); } while(0) |
Definition at line 364 of file intreadwrite.h.
Referenced by alac_encode_init().
#define AV_RL8 | ( | x | ) | AV_RB8(x) |
Definition at line 366 of file intreadwrite.h.
Referenced by libopus_decode_init(), and opus_header().
#define AV_WL8 | ( | p, | |
d | |||
) | AV_WB8(p, d) |
Definition at line 367 of file intreadwrite.h.
#define AV_RB24 | ( | x | ) |
Definition at line 412 of file intreadwrite.h.
#define AV_WB24 | ( | p, | |
d | |||
) |
Definition at line 418 of file intreadwrite.h.
Referenced by decode_frame(), decode_region(), decode_region_intra(), decode_region_masked(), decode_rle(), encode_frame(), ffm_write_packet(), fill_picture_rgb(), filter_frame(), and find_expected_header().
#define AV_RL24 | ( | x | ) |
Definition at line 426 of file intreadwrite.h.
#define AV_WL24 | ( | p, | |
d | |||
) |
Definition at line 432 of file intreadwrite.h.
Referenced by cdxl_decode_ham6(), cdxl_decode_ham8(), super2xsai(), and targa_encode_frame().
#define AV_RNA | ( | s, | |
p | |||
) | (((const av_alias##s*)(p))->u##s) |
Definition at line 444 of file intreadwrite.h.
#define AV_WNA | ( | s, | |
p, | |||
v | |||
) | (((av_alias##s*)(p))->u##s = (v)) |
Definition at line 445 of file intreadwrite.h.
#define AV_RN16A | ( | p | ) | AV_RNA(16, p) |
Definition at line 448 of file intreadwrite.h.
Referenced by dctcoef_get().
#define AV_RN32A | ( | p | ) | AV_RNA(32, p) |
Definition at line 452 of file intreadwrite.h.
Referenced by dctcoef_get(), decode_mvs(), decode_splitmvs(), ff_h264_decode_nal(), output_plane(), pred_pskip_motion(), pred_spatial_direct_motion(), qmf_32_subbands(), vp8_mc_chroma(), vp8_mc_luma(), and xwd_encode_frame().
#define AV_RN64A | ( | p | ) | AV_RNA(64, p) |
Definition at line 456 of file intreadwrite.h.
Referenced by decodeplane8(), ff_h264_decode_nal(), get_dct8x8_allowed(), and idctRowCondDC().
#define AV_WN16A | ( | p, | |
v | |||
) | AV_WNA(16, p, v) |
Definition at line 460 of file intreadwrite.h.
Referenced by dctcoef_set(), mss4_decode_dct_block(), and pcm_decode_frame().
#define AV_WN32A | ( | p, | |
v | |||
) | AV_WNA(32, p, v) |
Definition at line 464 of file intreadwrite.h.
Referenced by dctcoef_set(), decode_coeffs(), decode_mb_mode(), decode_splitmvs(), ff_h264_decode_mb_cabac(), fill_decode_caches(), fill_filter_caches_inter(), intra_predict(), output_plane(), pcx_decode_frame(), pred4x4_horizontal_vp8_c(), pred4x4_vertical_vp8_c(), pred_temp_direct_motion(), qmf_32_subbands(), qtrle_decode_32bpp(), set_4x4_block(), super2xsai(), svq3_mc_dir(), vp8_decode_mb_row_no_filter(), and vp8_decode_mv_mb_modes().
#define AV_WN64A | ( | p, | |
v | |||
) | AV_WNA(64, p, v) |
Definition at line 468 of file intreadwrite.h.
Referenced by decodeplane8(), ff_h264_filter_mb(), fill_64(), filter_mb_dir(), and h264_filter_mb_fast_internal().
Definition at line 476 of file intreadwrite.h.
#define AV_COPY16U | ( | d, | |
s | |||
) | AV_COPYU(16, d, s) |
Definition at line 479 of file intreadwrite.h.
Referenced by av_memcpy_backptr(), and copy_block2().
#define AV_COPY32U | ( | d, | |
s | |||
) | AV_COPYU(32, d, s) |
Definition at line 483 of file intreadwrite.h.
Referenced by av_memcpy_backptr(), copy(), and copy_block4().
#define AV_COPY64U | ( | d, | |
s | |||
) | AV_COPYU(64, d, s) |
Definition at line 487 of file intreadwrite.h.
Referenced by copy_block8(), and copy_block9().
#define AV_COPY128U | ( | d, | |
s | |||
) |
Definition at line 491 of file intreadwrite.h.
Referenced by copy_block16(), and copy_block17().
Definition at line 504 of file intreadwrite.h.
#define AV_COPY16 | ( | d, | |
s | |||
) | AV_COPY(16, d, s) |
Definition at line 508 of file intreadwrite.h.
Referenced by decode_frame(), fill_decode_caches(), and write_back_motion_list().
#define AV_COPY32 | ( | d, | |
s | |||
) | AV_COPY(32, d, s) |
Definition at line 512 of file intreadwrite.h.
Referenced by fill_decode_caches(), fill_filter_caches(), fill_filter_caches_inter(), intra_predict(), MPV_motion_internal(), svq3_decode_mb(), write_back_intra_pred_mode(), and write_back_non_zero_count().
#define AV_COPY64 | ( | d, | |
s | |||
) | AV_COPY(64, d, s) |
Definition at line 516 of file intreadwrite.h.
Referenced by backup_mb_border(), fill_decode_caches(), and write_back_motion_list().
#define AV_COPY128 | ( | d, | |
s | |||
) |
Definition at line 520 of file intreadwrite.h.
Referenced by backup_mb_border(), fill_decode_caches(), fill_filter_caches_inter(), and write_back_motion_list().
Definition at line 527 of file intreadwrite.h.
#define AV_ZERO | ( | n, | |
d | |||
) | (((av_alias##n*)(d))->u##n = 0) |
Definition at line 533 of file intreadwrite.h.
#define AV_ZERO16 | ( | d | ) | AV_ZERO(16, d) |
Definition at line 536 of file intreadwrite.h.
Referenced by fill_decode_caches().
#define AV_ZERO32 | ( | d | ) | AV_ZERO(32, d) |
Definition at line 540 of file intreadwrite.h.
Referenced by decode_mb_mode(), decode_mvs(), decode_splitmvs(), fetch_diagonal_mv(), fill_decode_caches(), fill_filter_caches_inter(), pred_spatial_direct_motion(), and svq3_decode_mb().
#define AV_ZERO64 | ( | d | ) | AV_ZERO(64, d) |
Definition at line 544 of file intreadwrite.h.
Referenced by fill_decode_caches(), filter_mb_dir(), and vp8_decode_mb_row_no_filter().
#define AV_ZERO128 | ( | d | ) |
Definition at line 548 of file intreadwrite.h.
Referenced by decode_cabac_luma_residual(), decode_luma_residual(), fill_decode_caches(), fill_filter_caches_inter(), intra_predict(), svq3_decode_mb(), and write_back_motion_list().