Libav
|
common internal API header More...
#include <limits.h>
#include <stdint.h>
#include <stddef.h>
#include <assert.h>
#include "config.h"
#include "attributes.h"
#include "dict.h"
#include "libm.h"
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | emms_c() |
#define | attribute_align_arg |
#define | av_export |
#define | FF_DISABLE_DEPRECATION_WARNINGS |
#define | FF_ENABLE_DEPRECATION_WARNINGS |
#define | INT_BIT (CHAR_BIT * sizeof(int)) |
#define | E1(x) x |
#define | LOCAL_ALIGNED_A(a, t, v, s, o,...) |
#define | LOCAL_ALIGNED_D(a, t, v, s, o,...) |
#define | LOCAL_ALIGNED(a, t, v,...) E1(LOCAL_ALIGNED_A(a, t, v, __VA_ARGS__,,)) |
#define | LOCAL_ALIGNED_8(t, v,...) LOCAL_ALIGNED(8, t, v, __VA_ARGS__) |
#define | LOCAL_ALIGNED_16(t, v,...) LOCAL_ALIGNED(16, t, v, __VA_ARGS__) |
#define | FF_ALLOC_OR_GOTO(ctx, p, size, label) |
#define | FF_ALLOCZ_OR_GOTO(ctx, p, size, label) |
#define | NULL_IF_CONFIG_SMALL(x) x |
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. More... | |
#define | ONLY_IF_THREADS_ENABLED(x) NULL |
Define a function with only the non-default version specified. More... | |
Functions | |
void | avpriv_report_missing_feature (void *avc, const char *msg,...) av_printf_format(2 |
Log a generic warning message about a missing feature. More... | |
void void | avpriv_request_sample (void *avc, const char *msg,...) av_printf_format(2 |
Log a generic warning message about a missing feature. More... | |
void void int | avpriv_open (const char *filename, int flags,...) |
A wrapper for open() setting O_CLOEXEC. More... | |
common internal API header
Definition in file internal.h.
#define NDEBUG |
Definition at line 30 of file internal.h.
#define emms_c | ( | ) |
Definition at line 46 of file internal.h.
Referenced by ape_decode_frame(), avcodec_decode_video2(), avcodec_encode_video2(), avpicture_deinterlace(), build_basis(), dct_error(), decode_chunks(), decode_frame(), decode_subframe(), decorrelate(), denoise_depth(), draw_slice(), dvvideo_decode_frame(), dvvideo_encode_frame(), encode_frame(), encode_picture(), encode_picture_ls(), encode_thread(), ff_ac3_process_exponents(), ff_draw_horiz_band(), ff_faandct(), ff_faandct248(), ff_faanidct(), ff_faanidct_add(), ff_faanidct_put(), ff_h264_draw_horiz_band(), ff_mjpeg_decode_sos(), ff_MPV_frame_end(), ff_rate_control_init(), ff_rate_control_uninit(), ff_rate_estimate_qscale(), field_end(), filter(), filter_frame(), frame_end(), idct248_error(), initFilter(), ljpeg_encode_frame(), select_input_picture(), slice_decode_thread(), sws_init_context(), swscale(), and vp3_draw_horiz_band().
#define attribute_align_arg |
Definition at line 53 of file internal.h.
#define av_export |
Definition at line 60 of file internal.h.
#define FF_DISABLE_DEPRECATION_WARNINGS |
Definition at line 75 of file internal.h.
Referenced by ac3_decode_init(), asf_parse_packet(), av_dup_packet(), av_free_packet(), av_grow_packet(), av_init_packet(), av_new_packet(), av_packet_from_data(), avcodec_default_get_buffer2(), avfilter_graph_alloc_filter(), dca_decode_frame(), dca_decode_init(), dsputil_init_sse(), ff_aac_ac3_parse(), ff_alloc_packet(), ff_er_frame_end(), ff_filter_alloc(), ff_get_buffer(), ff_insert_inpad(), ff_insert_outpad(), ff_interleave_add_packet(), ff_MPV_encode_init(), ff_MPV_frame_end(), ff_MPV_frame_start(), ff_thread_get_buffer(), ff_thread_release_buffer(), is_intra_more_likely(), mlp_parse(), mmap_read_frame(), mpeg_decode_mb(), mpeg_decode_slice(), mpeg_field_start(), mpeg_get_pixelformat(), MPV_decode_mb_internal(), mxg_read_packet(), parse_packet(), read_restart_header(), rm_assemble_video_frame(), slice_end(), str_read_packet(), submit_packet(), update_context_from_user(), and yop_read_packet().
#define FF_ENABLE_DEPRECATION_WARNINGS |
Definition at line 76 of file internal.h.
Referenced by ac3_decode_init(), asf_parse_packet(), av_dup_packet(), av_free_packet(), av_grow_packet(), av_init_packet(), av_new_packet(), av_packet_from_data(), avcodec_default_get_buffer2(), avfilter_graph_alloc_filter(), dca_decode_frame(), dca_decode_init(), dsputil_init_sse(), ff_aac_ac3_parse(), ff_alloc_packet(), ff_er_frame_end(), ff_filter_alloc(), ff_get_buffer(), ff_insert_inpad(), ff_insert_outpad(), ff_interleave_add_packet(), ff_MPV_encode_init(), ff_MPV_frame_end(), ff_MPV_frame_start(), ff_thread_get_buffer(), ff_thread_release_buffer(), is_intra_more_likely(), mlp_parse(), mmap_read_frame(), mpeg_decode_mb(), mpeg_decode_slice(), mpeg_field_start(), mpeg_get_pixelformat(), MPV_decode_mb_internal(), mxg_read_packet(), parse_packet(), read_restart_header(), rm_assemble_video_frame(), slice_end(), str_read_packet(), submit_packet(), update_context_from_user(), and yop_read_packet().
#define INT_BIT (CHAR_BIT * sizeof(int)) |
Definition at line 80 of file internal.h.
Referenced by decode_cabac_mb_mvd(), h263_get_motion_length(), and inter_predict().
#define E1 | ( | x) | x |
Definition at line 85 of file internal.h.
Definition at line 91 of file internal.h.
Definition at line 95 of file internal.h.
Referenced by do_hybrid_window(), and ff_lpc_calc_coefs().
#define LOCAL_ALIGNED_8 | ( | t, | |
v, | |||
... | |||
) | LOCAL_ALIGNED(8, t, v, __VA_ARGS__) |
Definition at line 100 of file internal.h.
Referenced by apply_obmc(), dv_encode_video_segment(), and h264_filter_mb_fast_internal().
#define LOCAL_ALIGNED_16 | ( | t, | |
v, | |||
... | |||
) | LOCAL_ALIGNED(16, t, v, __VA_ARGS__) |
Definition at line 106 of file internal.h.
Referenced by apply_channel_coupling(), bink_decode_plane(), binkb_decode_plane(), bit8x8_c(), count_mantissa_bits(), dca_subsubframe(), dct_max8x8_c(), dct_quantize(), dct_quantize_refine(), dct_sad8x8_c(), decode_subframe(), decorrelate(), decorrelation(), dnxhd_calc_bits_thread(), dv_decode_video_segment(), dv_init_enc_block(), ff_check_alignment(), ff_ps_apply(), h263_skip_b_part(), hybrid6_cx(), imc_decode_frame(), intra_recon(), mpc7_decode_init(), quant_psnr8x8_c(), rd8x8_c(), rv34_decode_inter_macroblock(), rv34_output_i16x16(), sbr_hf_assemble(), and sbr_hf_inverse_filter().
#define FF_ALLOC_OR_GOTO | ( | ctx, | |
p, | |||
size, | |||
label | |||
) |
Definition at line 109 of file internal.h.
Referenced by adpcm_encode_frame(), adpcm_encode_init(), allocate_buffers(), allocate_sample_buffers(), ape_decode_init(), context_init(), ff_iir_filter_init_coeffs(), init_context_frame(), init_mdct_win(), initFilter(), and sws_init_context().
#define FF_ALLOCZ_OR_GOTO | ( | ctx, | |
p, | |||
size, | |||
label | |||
) |
Definition at line 118 of file internal.h.
Referenced by alloc_buffers(), allocate_buffers(), allocate_sample_buffers(), context_init(), dnxhd_encode_init(), dnxhd_init_qmat(), dnxhd_init_rc(), dnxhd_init_vlc(), ff_h264_alloc_tables(), ff_iir_filter_init_coeffs(), ff_MPV_common_init(), ff_MPV_encode_init(), frame_size_alloc(), init_context_frame(), init_duplicate_context(), initFilter(), and sws_init_context().
#define NULL_IF_CONFIG_SMALL | ( | x) | x |
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Used to disable the definition of strings (for example AVCodec long_names).
Definition at line 142 of file internal.h.
Referenced by mpeg12_class().
#define ONLY_IF_THREADS_ENABLED | ( | x) | NULL |
Define a function with only the non-default version specified.
On systems with ELF shared libraries, all symbols exported from Libav libraries are tagged with the name and major version of the library to which they belong. If a function is moved from one library to another, a wrapper must be retained in the original location to preserve binary compatibility.
Functions defined with this macro will never be used to resolve symbols by the build-time linker.
type | return type of function |
name | name of function |
args | argument list of function |
ver | version tag to assign function Return NULL if a threading library has not been enabled. Used to disable threading functions in AVCodec definitions when not needed. |
Definition at line 182 of file internal.h.
Log a generic warning message about a missing feature.
[in] | avc | a pointer to an arbitrary struct of which the first field is a pointer to an AVClass struct |
[in] | msg | string containing the name of the missing feature |
Referenced by aac_adtstoasc_filter(), amr_decode_fix_avctx(), amrnb_decode_init(), amrwb_decode_init(), atrac3p_decode_frame(), decode_audio_specific_config(), decode_eld_specific_config(), decode_ga_specific_config(), decode_gop_header(), decode_group3_2d_line(), decode_init(), decode_seq_header(), decode_subframe(), decode_tones_info(), ff_hevc_decode_nal_sps(), ff_ivi_decode_frame(), ff_jpegls_decode_picture(), ff_mjpeg_decode_sof(), ff_rv10_encode_picture_header(), ff_vc1_parse_frame_header_adv(), g2m_load_cursor(), parse_adts_frame_header(), parse_MP4SLDescrTag(), read_sbr_extension(), rm_write_video(), rso_read_header(), skeleton_header(), spdif_read_packet(), tiff_decode_tag(), tta_decode_init(), vp6_parse_header(), and vqa_decode_init().
Log a generic warning message about a missing feature.
Additionally request that a sample showcasing the feature be uploaded.
[in] | avc | a pointer to an arbitrary struct of which the first field is a pointer to an AVClass struct |
[in] | msg | string containing the name of the missing feature |
Referenced by aac_decode_er_frame(), alac_decode_init(), amrnb_decode_frame(), amrwb_decode_frame(), ape_decode_init(), avpriv_adx_decode_header(), cdxl_decode_frame(), cinepak_decode(), cook_decode_init(), dca_decode_frame(), dca_exss_parse_header(), dca_subframe_footer(), decode_audio_block(), decode_band_hdr(), decode_bytes(), decode_channel_transform(), decode_eld_specific_config(), decode_element(), decode_frame(), decode_frame_header(), decode_frame_headers(), decode_ga_specific_config(), decode_ics(), decode_init(), decode_packet(), decode_scalefactors(), decode_slice_header(), decode_subframe(), decode_wmv9(), decode_yuv_frame(), determine_bitrate(), dxtory_decode_v2_410(), dxtory_decode_v2_420(), dxtory_decode_v2_444(), dxtory_decode_v2_565(), dxtory_decode_v2_rgb(), encode_frame(), execute_code(), ff_eac3_parse_header(), ff_h264_decode_seq_parameter_set(), ff_parse_mpeg2_descriptor(), flashsv_decode_frame(), g2m_decode_frame(), get_cox(), get_packet_header(), get_siz(), get_sot(), imc_decode_init(), jpeg2000_decode_packet(), jpeg2000_decode_packets(), latm_decode_audio_specific_config(), mimic_decode_frame(), mov_read_mdhd(), mpc7_decode_init(), mpc8_decode_init(), mtv_read_header(), mxf_parse_structural_metadata(), mxf_read_packet_old(), mxf_read_primer_pack(), oma_read_header(), parse_fmtp(), parse_setup_header(), ptx_decode_frame(), qt_rtp_parse_packet(), read_block_data(), read_frame(), read_header(), read_major_sync(), read_restart_header(), read_sbr_extension(), read_stream_mux_config(), rso_read_header(), rv10_decode_init(), rv10_decode_picture_header(), save_bits(), smc_decode_stream(), smjpeg_read_header(), spdif_get_offset_and_codec(), spdif_header_dts(), spdif_header_truehd(), spdif_read_packet(), sunrast_decode_frame(), synth_superframe(), tak_decode_frame(), tiff_unpack_fax(), tm2_read_header(), truemotion1_decode_header(), truespeech_decode_init(), vqa_decode_init(), wsaud_read_header(), xmv_read_header(), xwd_decode_frame(), and xwma_read_header().
A wrapper for open() setting O_CLOEXEC.
Definition at line 71 of file file_open.c.
Referenced by audio_open(), av_file_map(), bktr_init(), device_open(), dv1394_read_header(), fbdev_read_header(), ff_tempfile(), and read_random().