#include <limits.h>#include <stdint.h>#include <stddef.h>#include <assert.h>#include "config.h"#include "attributes.h"#include "timer.h"#include "dict.h"#include "macros.h"#include "pixfmt.h"#include "version.h"#include "libm.h"Go to the source code of this file.
common internal API header
Definition in file internal.h.
Definition at line 30 of file internal.h.
Definition at line 67 of file internal.h.
Definition at line 82 of file internal.h.
Definition at line 83 of file internal.h.
Definition at line 87 of file internal.h.
Definition at line 92 of file internal.h.
Definition at line 97 of file internal.h.
Definition at line 98 of file internal.h.
Definition at line 100 of file internal.h.
Access a field in a structure by its offset.
Definition at line 105 of file internal.h.
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 117 of file internal.h.
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.
Definition at line 156 of file internal.h.
Definition at line 192 of file internal.h.
Definition at line 193 of file internal.h.
Definition at line 199 of file internal.h.
Definition at line 205 of file internal.h.
Definition at line 214 of file internal.h.
Definition at line 215 of file internal.h.
Log a generic warning message about a missing feature.
Referenced by aac_adtstoasc_filter(), add_conv_layer(), alac_decode_frame(), alac_decode_init(), amrnb_decode_frame(), amrnb_decode_init(), amrwb_decode_init(), atrac3p_decode_frame(), avi_write_header(), bmp_decode_frame(), cfhd_decode(), check_modelinput_inlink(), check_output_nb(), codec2_read_header(), cpia_decode_frame(), decode_audio_specific_config_gb(), decode_block(), decode_eld_specific_config(), decode_element(), decode_extension_payload(), decode_frame(), decode_ga_specific_config(), decode_gop_header(), decode_group3_2d_line(), decode_header(), decode_ics(), decode_idat_chunk(), decode_seq_header(), decode_subframe(), decode_tones_info(), dnn_detect_post_proc(), dvbsub_parse_object_segment(), execute_model_native(), ff_check_exec_params(), ff_dnn_execute_model_ov(), ff_get_wav_header(), ff_h264_decode_picture_parameter_set(), ff_hevc_encode_nal_vps(), ff_ivi_decode_frame(), ff_jpegls_decode_picture(), ff_mjpeg_decode_sof(), ff_mjpeg_decode_sos(), ff_proc_from_dnn_to_frame(), ff_proc_from_frame_to_dnn(), ff_rtp_send_vc2hq(), ff_rv10_encode_picture_header(), ff_spdif_read_packet(), ff_vc1_parse_frame_header_adv(), fill_model_input_tf(), g2m_decode_frame(), g2m_load_cursor(), g723_1_encode_init(), get_packet_header(), h264_handle_packet(), handle_id3(), hevc_handle_packet(), jpeg_parse_packet(), libopenjpeg_decode_frame(), mpc8_read_header(), mpegaudio_parse(), ogg_replace_stream(), old_codec37(), old_codec47(), parse_adts_frame_header(), parse_bit_alloc(), parse_channel(), parse_decoder_init(), parse_fmtp_config(), parse_MP4SLDescrTag(), parse_packed_headers(), pixfmt_from_pixmap_format(), read_frame_header(), read_header(), rpl_read_header(), rso_read_header(), rso_write_header(), s337m_get_offset_and_codec(), set_option(), shorten_decode_frame(), spdif_write_header(), svq3_decode_slice_header(), tak_decode_frame(), tiff_decode_tag(), txd_decode_frame(), v4l2_check_b_frame_support(), vfw_read_header(), vp5_parse_header(), vp6_parse_header(), vp9_handle_packet(), wv_read_block_header(), xcbgrab_read_header(), xiph_handle_packet(), and xwd_decode_frame().
Log a generic warning message about a missing feature.
Additionally request that a sample showcasing the feature be uploaded.
Clip and convert a double value into the long long amin-amax range.
This function is needed because conversion of floating point to integers when it does not fit in the integer's representation does not necessarily saturate correctly (usually converted to a cvttsd2si on x86) which saturates numbers
INT64_MAX to INT64_MIN. The standard marks such conversions as undefined
behavior, allowing this sort of mathematically bogus conversions. This provides a safe alternative that is slower obviously but assures safety and better mathematical behavior.
Definition at line 232 of file internal.h.
A wrapper for open() setting O_CLOEXEC.
Definition at line 66 of file file_open.c.
Referenced by av_file_map(), av_fopen_utf8(), bktr_init(), fbdev_read_header(), fbdev_write_header(), ff_fbdev_get_device_list(), ff_oss_audio_open(), and read_random().
Wrapper to work around the lack of mkstemp() on mingw.
Also, tries to create file in /tmp first, if possible. *prefix can be a character constant; *filename will be allocated internally.
Definition at line 110 of file file_open.c.
Referenced by av_tempfile(), cache_open(), and xvid_encode_init().
Definition at line 178 of file imgutils.c.
Referenced by av_image_alloc(), bmp_encode_frame(), ff_frame_pool_get(), gif_encode_init(), pcx_encode_frame(), scale_frame(), and xwd_encode_frame().
Definition at line 275 of file internal.h.
Referenced by blur(), compose(), decompose(), ff_affine_transform(), spatial_compose53i_buffered_init(), spatial_compose53i_dy(), spatial_compose53i_dy_buffered(), spatial_compose53i_init(), spatial_compose53i_init_TMPL(), spatial_compose97i_buffered_init(), spatial_compose97i_dy(), spatial_compose97i_dy_buffered(), spatial_compose97i_init(), spatial_compose97i_init_TMPL(), spatial_compose_daub97i_dy_TMPL(), spatial_compose_dirac53i_dy_TMPL(), spatial_decompose53i(), and spatial_decompose97i().
Set a dictionary value to an ISO-8601 compliant timestamp string.
Definition at line 258 of file dict.c.
Referenced by amf_parse_object(), ff_standardize_creation_time(), matroska_parse_flac(), mov_metadata_creation_time(), and parse_header().