diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-02-26 17:26:20 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-02-26 17:26:20 +0000 |
commit | 2ec23b6d44313a2f8a69120e46369b801a5cce38 (patch) | |
tree | 90fb255f3738ed971641174b5ec20a0c7514fe9a /libavcodec/avcodec.h | |
parent | 5082f759e0d02b26e1b4dba8341d516079cfb115 (diff) | |
download | ffmpeg-2ec23b6d44313a2f8a69120e46369b801a5cce38.tar.gz |
move repeat_pict field from AVCodecContext -> AVFrame (closes bug #683536)
Originally committed as revision 1608 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 297f5022e6..0ca39ab936 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -16,8 +16,8 @@ extern "C" { #define LIBAVCODEC_VERSION_INT 0x000406 #define LIBAVCODEC_VERSION "0.4.6" -#define LIBAVCODEC_BUILD 4657 -#define LIBAVCODEC_BUILD_STR "4657" +#define LIBAVCODEC_BUILD 4658 +#define LIBAVCODEC_BUILD_STR "4658" enum CodecID { CODEC_ID_NONE, @@ -280,6 +280,15 @@ static const int Motion_Est_QTab[] = { ME_ZERO, ME_PHODS, ME_LOG, * Note: user allocated (direct rendering) & internal buffers can not coexist currently\ */\ int type;\ + \ + /**\ + * when decoding, this signal how much the picture must be delayed.\ + * extra_delay = repeat_pict / (2*fps)\ + * encoding: unused\ + * decoding: set by lavc\ + */\ + int repeat_pict; + #define FF_BUFFER_TYPE_INTERNAL 1 #define FF_BUFFER_TYPE_USER 2 // Direct rendering buffers @@ -379,11 +388,7 @@ typedef struct AVCodecContext { * decoding: set by lavc. */ enum PixelFormat pix_fmt; - - int repeat_pict; /* when decoding, this signal how much the picture */ - /* must be delayed. */ - /* extra_delay = (repeat_pict / 2) * (1/fps) */ - + /** * if non NULL, 'draw_horiz_band' is called by the libavcodec * decoder to draw an horizontal band. It improve cache usage. Not |