FFmpeg  4.0
Macros | Functions
intreadwrite.h File Reference
#include <stdint.h>
#include "config.h"
#include "libavutil/bswap.h"

Go to the source code of this file.

Macros

#define AV_RL16   AV_RL16
 
#define AV_RB16   AV_RB16
 
#define AV_RB24   AV_RB24
 
#define AV_RL24   AV_RL24
 
#define AV_RB32   AV_RB32
 
#define AV_RL32   AV_RL32
 
#define AV_RB64   AV_RB64
 
#define AV_RL64   AV_RL64
 

Functions

static av_always_inline uint16_t AV_RL16 (const void *p)
 
static av_always_inline uint16_t AV_RB16 (const void *p)
 
static av_always_inline uint32_t AV_RB24 (const void *p)
 
static av_always_inline uint32_t AV_RL24 (const void *p)
 
static av_always_inline uint32_t AV_RB32 (const void *p)
 
static av_always_inline uint32_t AV_RL32 (const void *p)
 
static av_always_inline uint64_t AV_RB64 (const void *p)
 
static av_always_inline uint64_t AV_RL64 (const void *p)
 

Macro Definition Documentation

◆ AV_RL16

#define AV_RL16   AV_RL16

Definition at line 42 of file intreadwrite.h.

Referenced by acm_read_header(), adpcm_decode_init(), ape_decode_init(), ape_probe(), av_read_image_line(), av_write_image_line(), avpriv_dca_convert_bitstream(), avs_decode_frame(), blend_line16(), blend_pixel16(), cin_decode_lzss(), cinaudio_decode_frame(), cine_read_probe(), cinvideo_decode_frame(), cmv_process_header(), cpia_decode_frame(), decode_audio_s16(), decode_frame(), decode_init(), decode_p_frame(), dfa_decode_frame(), dts_probe(), dxt1_block_internal(), dxt3_block_internal(), dxt5_block_internal(), dxv_decompress_cgo(), dxv_decompress_cocg(), encode_gbrp10(), encode_gbrp12(), encode_rgb48_10bit(), ff_get_wav_header(), ff_mlp_checksum16(), ff_mlp_read_major_sync(), ff_mms_asf_header_parser(), ff_opus_parse_extradata(), ff_rtp_send_h263_rfc2190(), ff_wv_parse_header(), fic_decode_frame(), filter_slice(), flic_decode_frame_15_16BPP(), flic_decode_init(), flic_probe(), flic_read_header(), flic_read_packet(), frm_read_probe(), gamma_convert(), get_chunk_header(), get_tcp_server_response(), gif_probe(), gif_read_ext(), hnm_decode_frame(), ico_write_packet(), init_stream(), interpolate_bilinear16(), ipmovie_read_header(), ipvideo_decode_frame(), libopus_decode_init(), lxf_read_header(), matroska_parse_tracks(), matroska_parse_wavpack(), mm_decode_frame(), mov_write_dops_tag(), msvideo1_decode_16bit(), mtv_probe(), mxf_write_d10_audio_packet(), mxpeg_decode_mxm(), nc_probe(), nsv_probe(), ogm_dshow_header(), opus_header(), p010LEToUV_c(), p010LEToY_c(), p016LEToUV_c(), paf_audio_decode(), parse(), parse_mpeg1waveformatex(), pcx_probe(), pick_color16(), pictor_probe(), planarCopyWrapper(), probe(), probe_bfstm(), process_ipmovie_chunk(), psd_probe(), ptx_decode_frame(), read16(), read_ayuv64le_A_c(), read_ayuv64le_UV_c(), read_ayuv64le_Y_c(), read_gab2_sub(), read_packet(), read_ya16le_alpha_c(), read_ya16le_gray_c(), rgb48Toxyz12(), rgba64leToA_c(), rl2_decode_init(), roq_probe(), roq_read_header(), roq_read_packet(), rtmp_packet_read_one_chunk(), s337m_probe(), set_spdif(), skeleton_header(), spdif_header_dts(), str_probe(), str_read_packet(), tgv_decode_frame(), tgv_decode_inter(), tmv_probe(), tqi_decode_frame(), truemotion1_decode_header(), truemotion2rt_decode_header(), tta_probe(), tta_write_header(), vmd_decode(), vmd_probe(), vmd_read_header(), voc_probe(), vp8_decode_frame_header(), vp8_handle_packet(), vqa_decode_init(), wma_decode_init(), ws_snd_decode_frame(), wsaud_probe(), wsaud_read_header(), wsaud_read_packet(), wsvqa_read_header(), wsvqa_read_packet(), wtvfile_open2(), wv_probe(), xa_probe(), xan_decode_chroma(), xan_wc3_decode_frame(), xyz12Torgb48(), yop_probe(), and yop_read_header().

◆ AV_RB16

#define AV_RB16   AV_RB16

Definition at line 53 of file intreadwrite.h.

Referenced by aac_adtstoasc_filter(), ac3_decode_frame(), adts_aac_probe(), adts_aac_read_packet(), adx_decode(), adx_decode_frame(), adx_probe(), adx_read_packet(), aic_decode_header(), analyze(), aptx_decode_samples(), ast_probe(), av_read_image_line(), av_write_image_line(), avpriv_copy_bits(), avpriv_dca_convert_bitstream(), avpriv_split_xiph_headers(), avr_probe(), bmp_probe(), cdxl_decode_frame(), cdxl_read_packet(), cdxl_read_probe(), cenc_filter(), check_header(), cinepak_decode(), cinepak_decode_frame(), cinepak_predecode_check(), cmap_read_palette(), convert_input(), cook_parse(), decode_13(), decode_dvd_subtitles(), decode_frame(), decode_frame_header(), decode_hlit(), decode_hybrid(), decode_init(), decode_picture_header(), decode_slice(), decode_slice_thread(), decode_styl(), decrypt_init(), dnxhd_decode_header(), dnxhd_probe(), dvbsub_decode(), dvbsub_init_decoder(), dvbsub_parse(), dvbsub_parse_object_segment(), dvbsub_parse_page_segment(), dvbsub_parse_region_segment(), dvbsub_probe(), dvdsub_parse(), dxa_probe(), encode_gbrp10(), encode_gbrp12(), encode_rgb48_10bit(), encode_styl(), enqueue_packet(), extract_header(), ff_adx_decode_header(), ff_avc_write_annexb_extradata(), ff_els_decoder_init(), ff_h263_handle_packet(), ff_h264_decode_extradata(), ff_h264_handle_aggregated_packet(), ff_init_range_decoder(), ff_mov_write_packet(), ff_parse_pes_pts(), ff_rdt_parse_header(), ff_rtp_send_jpeg(), ff_rtsp_open_transport_ctx(), ff_rtsp_tcp_read_packet(), ff_srtp_decrypt(), ff_srtp_encrypt(), ff_tdecode_header(), fill_data_min_max(), film_read_header(), find_headers_search(), find_new_headers(), fits_decode_frame(), fits_encode_frame(), flac_probe(), flush(), flush_packet(), flv_write_packet(), get16(), get_video_private_data(), h261_probe(), h264_extradata_to_annexb(), handle_packet(), handle_user_control(), hqx_decode_frame(), import_palette(), ingenient_probe(), is_extra(), jpeg_parse_packet(), jpeg_probe(), lag_rac_refill(), latm_check_bitstream(), latm_write_packet(), lmlm4_probe(), matroska_parse_block(), matroska_parse_tracks(), mjpeg2jpeg_filter(), mjpega_dump_header(), mkv_check_bitstream(), mlp_thd_probe(), mov2textsub(), mov_check_bitstream(), mov_parse_stsd_data(), mov_read_dops(), mov_read_targa_y216(), mov_text_color_cb(), mov_text_decode_frame(), mov_text_style_cb(), mov_text_tx3g(), mpa_robust_parse_rtp_header(), mpegts_get_pcr(), mpegts_push_data(), mpegts_read_header(), mpegts_write_packet_internal(), mss2_decode_frame(), mv_probe(), mxf_read_local_tags(), mxg_read_packet(), mxpeg_decode_app(), mxpeg_decode_com(), oma_read_header(), opus_find_frame_end(), p010BEToUV_c(), p010BEToY_c(), p016BEToUV_c(), planarCopyWrapper(), probe(), prompeg_write(), psd_probe(), pva_check(), qcelp_decode_frame(), qdm2_parse_config(), qdm2_parse_subpacket(), qdraw_probe(), read16(), read_access_unit(), read_ya16be_alpha_c(), read_ya16be_gray_c(), rgb48Toxyz12(), rgba64beToA_c(), rtcp_parse_packet(), rtp_parse_mp4_au(), rtp_parse_one_packet(), rtp_parse_packet_internal(), samplecpy(), sap_fetch_packet(), sap_read_header(), sctp_write(), set_codec_str(), sgi_probe(), sgi_rle_encode(), spdif_header_dts(), sup_probe(), sup_read_packet(), sup_write_packet(), unpack(), vc2hq_handle_frame_fragment(), vp6_parse_header(), vp8_handle_packet(), vp8_header(), vp9_handle_packet(), write_hint_packets(), write_section_data(), xiph_handle_packet(), xyz12Torgb48(), and yop_probe().

◆ AV_RB24

#define AV_RB24   AV_RB24

◆ AV_RL24

#define AV_RL24   AV_RL24

◆ AV_RB32

#define AV_RB32   AV_RB32

Definition at line 130 of file intreadwrite.h.

Referenced by a64_write_header(), aa_probe(), acm_probe(), adts_aac_probe(), adts_aac_read_packet(), adx_read_header(), aic_decode_header(), aiff_read_header(), aix_probe(), analyze_chunk(), apng_find_chunk(), apng_read_header(), ast_probe(), av_base64_encode(), av_blowfish_crypt(), av_cast5_init(), av_encryption_info_get_side_data(), av_encryption_init_info_get_side_data(), av_packet_split_side_data(), AV_RB64(), AV_RL24(), av_tea_init(), av_xtea_init(), avpriv_dca_convert_bitstream(), avpriv_find_start_code(), avui_decode_frame(), brender_read_probe(), cdxl_read_packet(), cdxl_read_probe(), cenc_filter(), check(), check_hevc_startcode(), check_tag(), cinepak_decode_codebook(), cinepak_decode_vectors(), clv_decode_init(), cmv_decode_frame(), dca_parse_params(), dcadec_decode_frame(), decipher(), decode_13(), decode_dvd_subtitles(), decode_entropy_coded_image(), decode_frame(), decode_init(), decode_nal_units(), decode_picture_header(), decode_tiles(), decrypt_init(), detect_stream_specific(), dirac_combine_frame(), dirac_decode_frame(), dirac_probe(), dnxhd_decode_header(), dnxhd_probe(), dpx_probe(), dv_extract_timecode(), dv_probe(), dvd_nav_parse(), dvdsub_parse(), dxa_read_packet(), dxva2_vc1_decode_slice(), ea_read_packet(), encipher(), encode_hclr(), encode_hlit(), encode_styl(), ff_adx_decode_header(), ff_avc_write_annexb_extradata(), ff_check_h264_startcode(), ff_decklink_set_format(), ff_dnxhd_parse_header_prefix(), ff_hevc_annexb2mp4(), ff_isom_write_avcc(), ff_isom_write_hvcc(), ff_mjpeg_decode_frame(), ff_mjpeg_decode_sof(), ff_mov_write_packet(), ff_mss12_decode_init(), ff_rtmp_packet_dump(), ff_rtp_send_vc2hq(), ff_rtsp_open_transport_ctx(), ff_rtsp_tcp_write_packet(), ff_srtp_decrypt(), ff_srtp_encrypt(), ffat_create_decoder(), fic_decode_frame(), fill_data_min_max(), film_probe(), film_read_header(), find_headers_search(), find_index_range(), fits_decode_frame(), flac_decode_frame(), flush(), flush_packet(), force_one_stream(), gen_pong(), get_chunk(), get_generic_seed(), get_slice_offset(), h263_handle_packet(), h264_mp4toannexb_init(), handle_chunk_size(), handle_set_peer_bw(), handle_window_ack_size(), hevc_mp4toannexb_init(), id3v2_check_write_tag(), j2k_probe(), jpeg_probe(), jpegls_probe(), libopenjpeg_decode_frame(), libshine_encode_frame(), lmlm4_probe(), main(), matroska_parse_prores(), matroska_probe(), mjpeg_decode_app(), mkv_write_block(), mlp_get_major_sync_size(), mlp_parse(), mlp_thd_probe(), mov_finalize_stsd_codec(), mov_parse_stsd_data(), mov_parse_vc1_frame(), mov_probe(), mov_read_dops(), mov_read_packet(), mov_read_udta_string(), mov_rewrite_dvd_sub_extradata(), mov_text_decode_frame(), mov_write_avid_tag(), mov_write_dvc1_structs(), mp3_header_decompress(), mp3_parse_info_tag(), mp3_read_probe(), mp3_write_audio_packet(), mp3lame_encode_frame(), mpeg_decode_frame(), mpeg_parse_packet(), mpegps_read_pes_header(), mpegts_check_bitstream(), mpegts_prefix_m2ts_header(), msf_probe(), mv_probe(), mxf_read_packet_old(), mxf_write_header(), nc_probe(), nprobe(), nsp_probe(), nut_probe(), ogg_init(), old_dirac_header(), parse_master(), parse_optional_info(), parse_pcr(), probe(), prompeg_write(), qdm2_parse_config(), read32(), read_diff_float_data(), read_extra_header(), read_header(), read_probe(), redspark_probe(), resync(), rl2_probe(), rtcp_parse_packet(), rtmp_packet_read_one_chunk(), rtmp_receive_hs_packet(), rtp_parse_one_packet(), rtp_parse_packet_internal(), rv10_decode_init(), rv34_parse(), s302m_parse_frame_header(), sds_probe(), sdx_probe(), send_picture(), sha1_transform(), shn_probe(), smush_read_packet(), sox_probe(), spdif_header_dts(), sunrast_decode_frame(), sunrast_probe(), svq3_decode_init(), swf_read_packet(), tea_crypt_ecb(), thp_probe(), thp_read_packet(), tiff_probe(), twinvq_decode_init(), ty_probe(), unpack_parse_unit(), vaapi_vc1_decode_slice(), vc1_decode_frame(), vc1_decode_init(), vc1_probe(), vc2hq_handle_frame_fragment(), vmdaudio_decode_frame(), vp8_header(), vp9_decode_frame(), vqf_read_header(), webp_probe(), write_hint_packets(), write_palette(), write_section_data(), wsd_probe(), wsvqa_probe(), wsvqa_read_header(), wsvqa_read_packet(), and xtea_crypt_ecb().

◆ AV_RL32

#define AV_RL32   AV_RL32

Definition at line 146 of file intreadwrite.h.

Referenced by a64multi_encode_init(), aasc_decode_frame(), aasc_decode_init(), acm_read_header(), add_input_streams(), adpcm_decode_init(), aea_read_probe(), aix_probe(), ape_probe(), ast_probe(), av_lfg_init(), AV_RL64(), av_twofish_init(), av_xtea_le_init(), avformat_transfer_internal_stream_timing_info(), avi_probe(), avi_read_header(), avi_read_idx1(), avr_probe(), bfi_probe(), bmp_probe(), celt_header(), check_checksum(), check_slice_size(), cin_probe(), cine_read_probe(), cllc_decode_frame(), clv_decode_init(), cmv_decode_frame(), constant_color(), dds_probe(), decode_block(), decode_flush(), decode_frame(), decode_frame_common(), decode_header_trees(), decode_i_frame(), decode_init(), decode_p_frame(), decode_plane(), decode_plane10(), decode_simple_internal(), decode_vol_header(), dfa_probe(), dfa_read_packet(), dirac_probe(), dpx_probe(), draw_curves(), draw_dot(), dss_probe(), dump_paramchange(), dump_sidedata(), dxa_read_packet(), dxt1_block_internal(), dxt3_block_internal(), dxt5_block_internal(), dxv_decompress_cgo(), dxv_decompress_cocg(), dxv_decompress_dxt1(), dxv_decompress_dxt5(), dxv_decompress_yo(), ea_probe(), ea_read_packet(), encode_init(), epaf_probe(), exr_probe(), ff_dv_frame_profile(), ff_flac_is_extradata_valid(), ff_get_packet_palette(), ff_get_wav_header(), ff_h263_decode_frame(), ff_h263_decode_init(), ff_h263_decode_picture_header(), ff_mjpeg_decode_init(), ff_mjpeg_decode_sos(), ff_mms_asf_header_parser(), ff_mov_read_stsd_entries(), ff_mpeg4_decode_picture_header(), ff_mpeg4_workaround_bugs(), ff_rm_read_mdpr_codecdata(), ff_rtp_send_h263_rfc2190(), ff_update_duplicate_context(), ff_wv_parse_header(), filter_frame(), find_index_range(), flic_decode_init(), flic_probe(), flic_read_header(), flic_read_packet(), flush(), fourxm_probe(), fourxm_read_header(), fourxm_read_packet(), fsb_probe(), gdv_read_probe(), genh_probe(), get_chunk_header(), get_opcodes(), get_packet_header(), get_qt_codec(), get_quant(), get_slice_offset(), get_tcp_server_response(), handle_packet_stream_changing_type(), hnm_probe(), hqx_decode_frame(), ico_write_packet(), idcin_probe(), idct_mb(), iff_probe(), init_duplicate_context(), init_stream(), is_animated_webp_packet(), is_pes_stream(), ivf_write_header(), lag_decode_arith_plane(), lag_decode_frame(), libcelt_dec_init(), lvf_probe(), lxf_read_header(), m101_decode_frame(), main(), matroska_parse_tracks(), matroska_parse_wavpack(), metasound_decode_init(), mjpeg_decode_app(), mjpega_dump_header(), mkv_write_attachments(), mkv_write_block(), mkv_write_codecprivate(), mov_parse_stsd_subtitle(), mov_probe(), mov_read_header(), mov_skip_multiple_stsd(), mov_write_audio_tag(), mov_write_dops_tag(), mp3_write_audio_packet(), mpc8_probe(), mpeg_decode_frame(), mpeg_decode_init(), mpeg_decode_slice(), mpegts_set_stream_info(), mpegts_write_packet_internal(), msrle_decode_init(), mtaf_probe(), multiswap_init(), new_output_stream(), nsv_probe(), nuv_packet(), nuv_read_dts(), ogm_dshow_header(), parse_media_type(), parse_mpeg1waveformatex(), parse_strk(), parse_vtrk(), parse_waveformatex(), pmp_probe(), pmt_cb(), print_pkt_side_data(), probe(), probe_bfstm(), process_ipmovie_chunk(), prores_encode_init(), psd_probe(), qcp_probe(), r3d_probe(), raw_decode(), raw_encode(), raw_init_decoder(), read32(), read_header(), read_packet(), ripemd128_transform(), ripemd160_transform(), ripemd256_transform(), ripemd320_transform(), rl2_decode_init(), rm_read_audio_stream_info(), roq_probe(), roq_read_packet(), rsd_probe(), rtmp_packet_read_one_chunk(), rtmpe9_sig(), rtp_asf_fix_header(), sdr2_probe(), set_direct_mv(), siff_probe(), skeleton_header(), smacker_probe(), smacker_read_packet(), smka_decode_frame(), smush_read_probe(), smvjpeg_decode_init(), sol_probe(), sox_probe(), speex_header(), srt_decode_frame(), srt_write_packet(), str_probe(), str_read_header(), str_read_packet(), svq3_decode_slice_header(), tb_unreliable(), tf_h(), tf_RS(), tgq_decode_frame(), tgv_decode_frame(), thp_probe(), tm2_read_header(), tmv_probe(), tta_check_crc(), tta_decode_init(), tta_probe(), tta_read_header(), twofish_decrypt(), twofish_encrypt(), txd_probe(), udp_get_file_handle(), udp_read(), v410_decode_frame(), vble_decode_frame(), vc1t_probe(), vcr2_init_sequence(), vid_probe(), vmd_read_header(), vmdvideo_decode_init(), vorbis_header(), vpk_probe(), vqf_probe(), wavesynth_decode(), wavesynth_parse_extradata(), wavpack_decode_frame(), wc3_probe(), wmavoice_decode_init(), write_packet(), write_sm_data(), wsaud_probe(), wsaud_read_packet(), wtvfile_open2(), wv_probe(), xa_probe(), xmv_fetch_video_packet(), xmv_probe(), xmv_process_packet_header(), xtea_le_crypt_ecb(), xvid_encode_init(), and zero12v_decode_frame().

◆ AV_RB64

#define AV_RB64   AV_RB64

◆ AV_RL64

#define AV_RL64   AV_RL64

Function Documentation

◆ AV_RL16()

static av_always_inline uint16_t AV_RL16 ( const void p)
static

Definition at line 43 of file intreadwrite.h.

◆ AV_RB16()

static av_always_inline uint16_t AV_RB16 ( const void p)
static

Definition at line 54 of file intreadwrite.h.

◆ AV_RB24()

static av_always_inline uint32_t AV_RB24 ( const void p)
static

Definition at line 65 of file intreadwrite.h.

◆ AV_RL24()

static av_always_inline uint32_t AV_RL24 ( const void p)
static

Definition at line 79 of file intreadwrite.h.

◆ AV_RB32()

static av_always_inline uint32_t AV_RB32 ( const void p)
static

Definition at line 131 of file intreadwrite.h.

◆ AV_RL32()

static av_always_inline uint32_t AV_RL32 ( const void p)
static

Definition at line 147 of file intreadwrite.h.

◆ AV_RB64()

static av_always_inline uint64_t AV_RB64 ( const void p)
static

Definition at line 165 of file intreadwrite.h.

◆ AV_RL64()

static av_always_inline uint64_t AV_RL64 ( const void p)
static

Definition at line 174 of file intreadwrite.h.