X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff_plain/67d501b4f1758ba0783b14da4a6b3abd506792fa..8846115b1a5c29892fdf2c74747f71d37e16e864:/libavcodec/mpegvideo.h diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 39f2322..1b8791c 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -141,6 +141,7 @@ typedef struct Picture{ int32_t *mb_cmp_score; ///< Table for MB cmp scores, for mb decision FIXME remove int b_frame_score; /* */ struct MpegEncContext *owner2; ///< pointer to the MpegEncContext that allocated this picture + int needs_realloc; ///< Picture needs to be reallocated (eg due to a frame size change) } Picture; /** @@ -758,6 +759,7 @@ void ff_MPV_common_defaults(MpegEncContext *s); void ff_MPV_decode_defaults(MpegEncContext *s); int ff_MPV_common_init(MpegEncContext *s); +int ff_MPV_common_frame_size_change(MpegEncContext *s); void ff_MPV_common_end(MpegEncContext *s); void ff_MPV_decode_mb(MpegEncContext *s, DCTELEM block[12][64]); int ff_MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx);