FFmpeg
Deprecated List
Member av_bitstream_filter_close (AVBitStreamFilterContext *bsf)
the old bitstream filtering API (using AVBitStreamFilterContext) is deprecated.
Member av_bitstream_filter_filter (AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
the old bitstream filtering API (using AVBitStreamFilterContext) is deprecated.
Member av_bitstream_filter_init (const char *name)
the old bitstream filtering API (using AVBitStreamFilterContext) is deprecated.
Member av_bitstream_filter_next (const AVBitStreamFilter *f)
the old bitstream filtering API (using AVBitStreamFilterContext) is deprecated.
Member av_copy_packet (AVPacket *dst, const AVPacket *src)
Use av_packet_ref
Member av_copy_packet_side_data (AVPacket *dst, const AVPacket *src)
Use av_packet_copy_props
Member av_dup_packet (AVPacket *pkt)
Use av_packet_ref or av_packet_make_refcounted
Member av_free_packet (AVPacket *pkt)
Use av_packet_unref
Member av_get_codec_tag_string (char *buf, size_t buf_size, unsigned int codec_tag)
see av_fourcc_make_string() and av_fourcc2str().
Member av_hwaccel_next (const AVHWAccel *hwaccel)
AVHWaccel structures contain no user-serviceable parts, so this function should not be used.
Member av_lockmgr_register (int(*cb)(void **mutex, enum AVLockOp op))
This function does nothing, and always returns 0. Be sure to build with thread support to get basic thread safety.
Member av_parser_change (AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
use AVBitStreamFilter
Member av_picture_copy (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height)
av_image_copy() instead.
Member av_picture_crop (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int top_band, int left_band)
unused
Member av_picture_pad (AVPicture *dst, const AVPicture *src, int height, int width, enum AVPixelFormat pix_fmt, int padtop, int padbottom, int padleft, int padright, int *color)
unused
Member av_register_bitstream_filter (AVBitStreamFilter *bsf)
the old bitstream filtering API (using AVBitStreamFilterContext) is deprecated.
Member av_register_hwaccel (AVHWAccel *hwaccel)
This function doesn't do anything.
Member 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
Member av_vdpau_get_profile (AVCodecContext *avctx, VdpDecoderProfile *profile)
Use av_vdpau_bind_context() instead.
Member avcodec_copy_context (AVCodecContext *dest, const AVCodecContext *src)
The semantics of this function are ill-defined and it should not be used. If you need to transfer the stream parameters from one codec context to another, use an intermediate AVCodecParameters instance and the avcodec_parameters_from_context() / avcodec_parameters_to_context() functions.
Member avcodec_decode_audio4 (AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, const AVPacket *avpkt)
Use avcodec_send_packet() and avcodec_receive_frame().
Member avcodec_decode_video2 (AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, const AVPacket *avpkt)
Use avcodec_send_packet() and avcodec_receive_frame().
Member avcodec_encode_audio2 (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
use avcodec_send_frame()/avcodec_receive_packet() instead
Member avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
use avcodec_send_frame()/avcodec_receive_packet() instead
Member avcodec_find_best_pix_fmt_of_2 (enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
see av_find_best_pix_fmt_of_2()
Member avcodec_get_chroma_sub_sample (enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift)
Use av_pix_fmt_get_chroma_sub_sample
Member avcodec_get_context_defaults3 (AVCodecContext *s, const AVCodec *codec)
This function should not be used, as closing and opening a codec context multiple time is not supported.
Member avcodec_get_pix_fmt_loss (enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt, int has_alpha)
see av_get_pix_fmt_loss()
Member AVCodecContext::b_frame_strategy
use encoder private options instead
Member AVCodecContext::b_sensitivity
use encoder private options instead
Member AVCodecContext::brd_scale
use encoder private options instead
Member AVCodecContext::chromaoffset
use encoder private options instead
Member AVCodecContext::coded_frame
use the quality factor packet side data instead
Member AVCodecContext::coder_type
use encoder private options instead
Member AVCodecContext::context_model
use encoder private options instead
Member AVCodecContext::frame_bits
this field is unused
Member AVCodecContext::frame_skip_cmp
use encoder private options instead
Member AVCodecContext::frame_skip_exp
use encoder private options instead
Member AVCodecContext::frame_skip_factor
use encoder private options instead
Member AVCodecContext::frame_skip_threshold
use encoder private options instead
Member AVCodecContext::max_prediction_order
use encoder private options instead
Member AVCodecContext::me_penalty_compensation
use encoder private options instead
Member AVCodecContext::min_prediction_order
use encoder private options instead
Member AVCodecContext::mpeg_quant
use encoder private options instead
Member AVCodecContext::noise_reduction
use encoder private options instead
Member AVCodecContext::pre_me
use encoder private options instead
Member AVCodecContext::prediction_method
use encoder private options instead
Member AVCodecContext::rtp_callback )(struct AVCodecContext *avctx, void *data, int size, int mb_nb)
unused
Member AVCodecContext::rtp_payload_size
use encoder private options instead
Member AVCodecContext::scenechange_threshold
use encoder private options instead
Member AVCodecContext::side_data_only_packets
this field disables the default behaviour and it is kept only for compatibility.
Member AVCodecContext::timecode_frame_start
use encoder private options instead
Member AVCodecContext::vbv_delay
this value is now exported as a part of AV_PKT_DATA_CPB_PROPERTIES packet side data
Member AVCodecParserContext::convergence_duration
unused
Member avfilter_link_set_closed (AVFilterLink *link, int closed)
applications are not supposed to mess with links, they should close the sinks.
Member AVFrame::error [AV_NUM_DATA_POINTERS]
unused
Member AVFrame::pkt_pts
use the pts field instead
Member AVFrame::reordered_opaque
in favor of pkt_pts
Member AVLockOp
Deprecated together with av_lockmgr_register().
Member AVMixCoeffType
use libswresample
Member AVPacket::convergence_duration
Same as the duration field, but as int64_t.
Member AVPicture
use AVFrame or imgutils functions instead
Member avpicture_alloc (AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height)
unused
Member avpicture_fill (AVPicture *picture, const uint8_t *ptr, enum AVPixelFormat pix_fmt, int width, int height)
use av_image_fill_arrays() instead.
Member avpicture_free (AVPicture *picture)
unused
Member avpicture_get_size (enum AVPixelFormat pix_fmt, int width, int height)
use av_image_get_buffer_size() instead.
Member avpicture_layout (const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height, unsigned char *dest, int dest_size)
use av_image_copy_to_buffer() instead.
Member avresample_alloc_context (void)
use libswresample
Member avresample_available (AVAudioResampleContext *avr)
use libswresample
Member avresample_build_matrix (uint64_t in_layout, uint64_t out_layout, double center_mix_level, double surround_mix_level, double lfe_mix_level, int normalize, double *matrix, int stride, enum AVMatrixEncoding matrix_encoding)
use libswresample
Member avresample_close (AVAudioResampleContext *avr)
use libswresample
Member avresample_config (AVAudioResampleContext *avr, AVFrame *out, AVFrame *in)
use libswresample
Member avresample_configuration (void)
use libswresample
Member avresample_convert (AVAudioResampleContext *avr, uint8_t **output, int out_plane_size, int out_samples, uint8_t *const *input, int in_plane_size, int in_samples)
use libswresample
Member avresample_convert_frame (AVAudioResampleContext *avr, AVFrame *output, AVFrame *input)
use libswresample
Member avresample_free (AVAudioResampleContext **avr)
use libswresample
Member avresample_get_class (void)
use libswresample
Member avresample_get_delay (AVAudioResampleContext *avr)
use libswresample
Member avresample_get_matrix (AVAudioResampleContext *avr, double *matrix, int stride)
use libswresample
Member avresample_get_out_samples (AVAudioResampleContext *avr, int in_nb_samples)
use libswresample
Member avresample_is_open (AVAudioResampleContext *avr)
use libswresample
Member avresample_license (void)
use libswresample
Member avresample_open (AVAudioResampleContext *avr)
use libswresample
Member avresample_read (AVAudioResampleContext *avr, uint8_t **output, int nb_samples)
use libswresample
Member avresample_set_channel_mapping (AVAudioResampleContext *avr, const int *channel_map)
use libswresample
Member avresample_set_compensation (AVAudioResampleContext *avr, int sample_delta, int compensation_distance)
use libswresample
Member avresample_set_matrix (AVAudioResampleContext *avr, const double *matrix, int stride)
use libswresample
Member avresample_version (void)
use libswresample
Member AVResampleDitherMethod
use libswresample
Member AVResampleFilterType
use libswresample
Member AVSubtitleRect::pict
unused
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.