FFmpeg 5.1.6
Deprecated List
Global av_bprint_channel_layout (struct AVBPrint *bp, int nb_channels, uint64_t channel_layout)
use av_channel_layout_describe()
Global AV_CH_LAYOUT_NATIVE
channel order is now indicated in a special field in AVChannelLayout
Global av_channel_layout_extract_channel (uint64_t channel_layout, int index)
use av_channel_layout_channel_from_index()
Global AV_CODEC_FLAG_TRUNCATED
use codec parsers for packetizing input
Global av_d2str (double d)
use av_asprintf() with "%f" or a more specific format
Global av_fifo_alloc (unsigned int size)
use av_fifo_alloc2()
Global av_fifo_alloc_array (size_t nmemb, size_t size)
use av_fifo_alloc2()
Global av_fifo_drain (AVFifoBuffer *f, int size)
use the new AVFifo-API with av_fifo_drain2()
Global av_fifo_free (AVFifoBuffer *f)
use the AVFifo API with av_fifo_freep2()
Global av_fifo_freep (AVFifoBuffer **f)
use the AVFifo API with av_fifo_freep2()
Global av_fifo_generic_peek (AVFifoBuffer *f, void *dest, int buf_size, void(*func)(void *, void *, int))
use the new AVFifo-API with av_fifo_peek() when func == NULL, av_fifo_peek_to_cb() otherwise
Global av_fifo_generic_peek_at (AVFifoBuffer *f, void *dest, int offset, int buf_size, void(*func)(void *, void *, int))
use the new AVFifo-API with av_fifo_peek() when func == NULL, av_fifo_peek_to_cb() otherwise
Global av_fifo_generic_read (AVFifoBuffer *f, void *dest, int buf_size, void(*func)(void *, void *, int))
use the new AVFifo-API with av_fifo_read() when func == NULL, av_fifo_read_to_cb() otherwise
Global av_fifo_generic_write (AVFifoBuffer *f, void *src, int size, int(*func)(void *, void *, int))
use the new AVFifo-API with av_fifo_write() when func == NULL, av_fifo_write_from_cb() otherwise
Global av_fifo_grow (AVFifoBuffer *f, unsigned int additional_space)
use the new AVFifo-API with av_fifo_grow2(); note that unlike this function it adds to the allocated size, rather than to the used size
Global av_fifo_peek2 (const AVFifoBuffer *f, int offs)
use the new AVFifo-API with av_fifo_peek() or av_fifo_peek_to_cb()
Global av_fifo_realloc2 (AVFifoBuffer *f, unsigned int size)
use the new AVFifo-API with av_fifo_grow2() to increase FIFO size, decreasing FIFO size is not supported
Global av_fifo_reset (AVFifoBuffer *f)
use av_fifo_reset2() with the new AVFifo-API
Global av_fifo_size (const AVFifoBuffer *f)
use av_fifo_can_read() with the new AVFifo-API
Global av_fifo_space (const AVFifoBuffer *f)
use av_fifo_can_write() with the new AVFifo-API
Global av_fopen_utf8 (const char *path, const char *mode)
Avoid using it, as on Windows, the FILE* allocated by this function may be allocated with a different CRT than the caller who uses the FILE*. No replacement provided in public API.
Global av_get_channel_description (uint64_t channel)
use av_channel_description()
Global av_get_channel_layout (const char *name)
use av_channel_layout_from_string()
Global av_get_channel_layout_channel_index (uint64_t channel_layout, uint64_t channel)
use av_channel_layout_index_from_channel()
Global av_get_channel_layout_nb_channels (uint64_t channel_layout)
use AVChannelLayout.nb_channels
Global av_get_channel_layout_string (char *buf, int buf_size, int nb_channels, uint64_t channel_layout)
use av_channel_layout_describe()
Global av_get_channel_name (uint64_t channel)
use av_channel_name()
Global av_get_colorspace_name (enum AVColorSpace val)
use av_color_space_name()
Global av_get_default_channel_layout (int nb_channels)
use av_channel_layout_default()
Global av_get_extended_channel_layout (const char *name, uint64_t *channel_layout, int *nb_channels)
use av_channel_layout_from_string()
Global av_get_standard_channel_layout (unsigned index, uint64_t *layout, const char **name)
use av_channel_layout_standard()
Global av_mallocz_array (size_t nmemb, size_t size) av_malloc_attrib
use av_calloc()
Global av_tempfile (const char *prefix, char **filename, int log_offset, void *log_ctx)
as fd numbers cannot be passed saftely between libs on some platforms
Global avcodec_get_frame_class (void)
This function should not be used.
Global AVCodecContext::channel_layout
use ch_layout
Global AVCodecContext::channels
use ch_layout.nb_channels
Global AVCodecContext::debug_mv
unused
Global AVCodecContext::request_channel_layout
use "downmix" codec private option
Global AVCodecContext::sub_text_format
unused
Global AVCodecContext::thread_safe_callbacks
the custom get_buffer2() callback should always be thread-safe. Thread-unsafe get_buffer2() implementations will be invalid starting with LIBAVCODEC_VERSION_MAJOR=60; in other words, libavcodec will behave as if this field was always set to 1. Callers that want to be forward compatible with future libavcodec versions should wrap access to this field in #if LIBAVCODEC_VERSION_MAJOR < 60
Global avfilter_pad_count (const AVFilterPad *pads)
Use avfilter_filter_pad_count() instead.
Global AVFrame::channel_layout
use ch_layout instead
Global AVFrame::channels
use ch_layout instead
File dict.h
AVDictionary is provided for compatibility with libav. It is both in implementation as well as API inefficient. It does not scale and is extremely slow with large dictionaries. It is recommended that new code uses our tree container from tree.c/h where applicable, which uses AVL trees to achieve O(log n) performance.