FFmpeg
|
common internal API header More...
#include <limits.h>
#include <stdint.h>
#include <stddef.h>
#include <assert.h>
#include "config.h"
#include "attributes.h"
#include "timer.h"
#include "cpu.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 | 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. | |
#define | ONLY_IF_THREADS_ENABLED(x) NULL |
Define a function with only the non-default version specified. | |
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 48 of file internal.h.
Referenced by ape_decode_frame(), avcodec_decode_video2(), avcodec_encode_video2(), build_basis(), dct_error(), decode_chunks(), decode_frame(), decode_subframe(), decorrelate(), draw_slice(), dvvideo_decode_frame(), encode_frame(), encode_picture(), encode_picture_lossless(), 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(), find_block_motion(), idct248_error(), initFilter(), multiple_resample(), select_input_picture(), slice_decode_thread(), sws_init_context(), swScale(), test_motion(), and vp3_draw_horiz_band().
#define attribute_align_arg |
Definition at line 55 of file internal.h.
#define av_export |
Definition at line 62 of file internal.h.
#define INT_BIT (CHAR_BIT * sizeof(int)) |
Definition at line 66 of file internal.h.
Referenced by decode_cabac_mb_mvd(), h263_get_motion_length(), and inter_predict().
#define E1 | ( | x | ) | x |
Definition at line 71 of file internal.h.
Definition at line 77 of file internal.h.
Definition at line 81 of file internal.h.
Referenced by do_hybrid_window().
#define LOCAL_ALIGNED_8 | ( | t, | |
v, | |||
... | |||
) | LOCAL_ALIGNED(8, t, v, __VA_ARGS__) |
Definition at line 86 of file internal.h.
Referenced by dv_encode_video_segment(), h264_filter_mb_fast_internal(), and MPV_motion_internal().
#define LOCAL_ALIGNED_16 | ( | t, | |
v, | |||
... | |||
) | LOCAL_ALIGNED(16, t, v, __VA_ARGS__) |
Definition at line 92 of file internal.h.
Referenced by apply_channel_coupling(), apply_window_mp3(), bink_decode_plane(), binkb_decode_plane(), bit8x8_c(), count_mantissa_bits(), dca_subsubframe(), dct_max8x8_c(), dct_quantize_refine(), dct_quantize_TMPL(), dct_sad8x8_c(), decode_slice_chroma(), decode_slice_luma(), dnxhd_calc_bits_thread(), dv_decode_video_segment(), dv_init_enc_block(), ff_check_alignment(), h263_skip_b_part(), imc_decode_frame(), 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 95 of file internal.h.
Referenced by adpcm_encode_init(), allocate_buffers(), allocate_sample_buffers(), ape_decode_init(), context_init(), ff_iir_filter_init_coeffs(), ff_snow_common_init_after_header(), init_context_frame(), init_mdct_win(), initFilter(), mca(), and sws_init_context().
#define FF_ALLOCZ_OR_GOTO | ( | ctx, | |
p, | |||
size, | |||
label | |||
) |
Definition at line 104 of file internal.h.
Referenced by alloc_buffers(), alloc_picture(), allocate_buffers(), allocate_sample_buffers(), context_init(), dnxhd_encode_init(), dnxhd_init_qmat(), dnxhd_init_rc(), dnxhd_init_vlc(), ff_alloc_picture(), ff_h264_alloc_tables(), ff_iir_filter_init_coeffs(), ff_MPV_common_init(), ff_mpv_frame_size_alloc(), ff_snow_common_init_after_header(), init_context_frame(), init_duplicate_context(), initFilter(), mca(), 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 123 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 FFmpeg 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 162 of file internal.h.