Global 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)
This flag is deprecated, and will be removed. When it is removed, the extra palette allocation in AVFrame.data[1] is removed as well. Only actual paletted formats (as indicated by AV_PIX_FMT_FLAG_PAL) will have a palette. Starting with FFmpeg versions which have this flag deprecated, the extra "pseudo" palette is already ignored, and API users are not required to allocate a palette for AV_PIX_FMT_FLAG_PSEUDOPAL formats (it was required before the deprecation, though).
Global 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)
Global 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)
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.