comparison avcodec.h @ 2022:62f5652f03c4 libavcodec

mention avcodec_align_dimensions()
author michael
date Thu, 13 May 2004 19:08:39 +0000
parents a14873a809a8
children f65d87bfdd5a
comparison
equal deleted inserted replaced
2021:779dbab120d5 2022:62f5652f03c4
895 #define FF_ER_VERY_AGGRESSIVE 4 895 #define FF_ER_VERY_AGGRESSIVE 4
896 896
897 /** 897 /**
898 * called at the beginning of each frame to get a buffer for it. 898 * called at the beginning of each frame to get a buffer for it.
899 * if pic.reference is set then the frame will be read later by lavc 899 * if pic.reference is set then the frame will be read later by lavc
900 * width and height should be rounded up to the next multiple of 16 900 * avcodec_align_dimensions() should be used to find the required width and
901 * height, as they normally need to be rounded up to the next multiple of 16
901 * - encoding: unused 902 * - encoding: unused
902 * - decoding: set by lavc, user can override 903 * - decoding: set by lavc, user can override
903 */ 904 */
904 int (*get_buffer)(struct AVCodecContext *c, AVFrame *pic); 905 int (*get_buffer)(struct AVCodecContext *c, AVFrame *pic);
905 906