FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Deprecated List
File asrc_abuffer.h
use buffersrc.h instead.
Global av_asrc_buffer_add_audio_buffer_ref (AVFilterContext *abuffersrc, AVFilterBufferRef *samplesref, int av_unused flags)
use av_buffersrc_add_ref() instead.
Global av_asrc_buffer_add_buffer (AVFilterContext *abuffersrc, uint8_t *buf, int buf_size, int sample_rate, int sample_fmt, int64_t ch_layout, int planar, int64_t pts, int av_unused flags)
use av_buffersrc_add_ref() instead.
Global av_asrc_buffer_add_samples (AVFilterContext *abuffersrc, uint8_t *data[8], int linesize[8], int nb_samples, int sample_rate, int sample_fmt, int64_t ch_layout, int planar, int64_t pts, int av_unused flags)
use av_buffersrc_add_ref() instead.
Global av_destruct_packet (AVPacket *pkt)
use the AVBuffer API instead
Global av_find_opt (void *obj, const char *name, const char *unit, int mask, int flags)
use av_opt_find.
Global av_get_bits_per_sample_fmt (enum AVSampleFormat sample_fmt)
Use av_get_bytes_per_sample() instead.
Global av_log_ask_for_sample (void *avc, const char *msg,...) av_printf_format(2
Use avpriv_request_sample() instead.
Global av_log_missing_feature (void *avc, const char *feature, int want_sample)
Use avpriv_report_missing_feature() instead.
Global av_parser_change (AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
use AVBitStreamFilter
Global av_set_string3 (void *obj, const char *name, const char *val, int alloc, const AVOption **o_out)
use av_opt_set()
File avcodec.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.

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.

Global avcodec_alloc_frame (void)
use av_frame_alloc()
Global avcodec_decode_audio3 (AVCodecContext *avctx, int16_t *samples, int *frame_size_ptr, AVPacket *avpkt)
Use avcodec_decode_audio4 instead.
Global avcodec_encode_audio (AVCodecContext *avctx, uint8_t *buf, int buf_size, const short *samples)
Use avcodec_encode_audio2 instead.
Global avcodec_encode_video (AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVFrame *pict)
use avcodec_encode_video2() instead.
Global avcodec_free_frame (AVFrame **frame)
use av_frame_free()
Global avcodec_get_edge_width (void)
CODEC_FLAG_EMU_EDGE is deprecated, so this function is no longer needed
Global avcodec_get_frame_defaults (AVFrame *frame)
use av_frame_unref()
Global avcodec_set_dimensions (AVCodecContext *s, int width, int height)
this function is not supposed to be used from outside of lavc
Global AVCodecContext::error_rate
use the 'error_rate' private AVOption of the mpegvideo encoders
Global AVCodecContext::get_buffer )(struct AVCodecContext *c, AVFrame *pic)
use get_buffer2()
Global AVCodecContext::pkt
this field is not supposed to be accessed from outside lavc
Global AVCodecContext::release_buffer )(struct AVCodecContext *c, AVFrame *pic)
custom freeing callbacks should be set from get_buffer2()
Global AVCodecContext::reordered_opaque
in favor of pkt_pts
  • encoding: unused
  • decoding: Set by user.
Global AVCodecContext::request_channels
Deprecated in favor of request_channel_layout.
Global AVCodecContext::thread_opaque
this field should not be used from outside of lavc
Global AVCodecContext::xvmc_acceleration
XvMC doesn't need it anymore.
Global AVFrame::hwaccel_picture_private
this field is unused
Global AVFrame::reordered_opaque
in favor of pkt_pts
Global avpicture_deinterlace (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height)
- use yadif (in libavfilter) instead
Global CODEC_CAP_NEG_LINESIZES
no codecs use this capability
Global CODEC_FLAG_EMU_EDGE
edges are not used/required anymore. I.e. this flag is now always set.
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.
Global FF_DEBUG_MV
this option does nothing
Global FF_MAX_B_FRAMES
there is no libavcodec-wide limit on the number of B-frames
Group lavc_resample
use libswresample instead
Global PIX_FMT_BE
use the AV_PIX_FMT_FLAG_* flags
Global sws_getContext (int srcW, int srcH, enum AVPixelFormat srcFormat, int dstW, int dstH, enum AVPixelFormat dstFormat, int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, const double *param)
Use sws_getCachedContext() instead.