comparison avcodec.h @ 377:0d73175fbded libavcodec

- repeat_pict added to AVCodecContext to signal if the decoder must repeat frames from 3:2 pulldown sources. - repeat_pict honoured by MPEG-1/2 decoder.
author pulento
date Sun, 12 May 2002 02:55:48 +0000
parents ba9c3b8088c0
children 7875553fc63b
comparison
equal deleted inserted replaced
376:ba9c3b8088c0 377:0d73175fbded
3 3
4 #include "common.h" 4 #include "common.h"
5 5
6 #define LIBAVCODEC_VERSION_INT 0x000406 6 #define LIBAVCODEC_VERSION_INT 0x000406
7 #define LIBAVCODEC_VERSION "0.4.6" 7 #define LIBAVCODEC_VERSION "0.4.6"
8 #define LIBAVCODEC_BUILD 4606 8 #define LIBAVCODEC_BUILD 4607
9 #define LIBAVCODEC_BUILD_STR "4606" 9 #define LIBAVCODEC_BUILD_STR "4607"
10 10
11 enum CodecID { 11 enum CodecID {
12 CODEC_ID_NONE, 12 CODEC_ID_NONE,
13 CODEC_ID_MPEG1VIDEO, 13 CODEC_ID_MPEG1VIDEO,
14 CODEC_ID_H263, 14 CODEC_ID_H263,
128 #define FF_ASPECT_4_3_525 3 128 #define FF_ASPECT_4_3_525 3
129 #define FF_ASPECT_16_9_625 4 129 #define FF_ASPECT_16_9_625 4
130 #define FF_ASPECT_16_9_525 5 130 #define FF_ASPECT_16_9_525 5
131 int gop_size; /* 0 = intra only */ 131 int gop_size; /* 0 = intra only */
132 enum PixelFormat pix_fmt; /* pixel format, see PIX_FMT_xxx */ 132 enum PixelFormat pix_fmt; /* pixel format, see PIX_FMT_xxx */
133 133 int repeat_pict; /* set this to 1 if you want the decoder
134 to repeat frames for 3:2 pulldown (MPEG-2) */
134 /* if non NULL, 'draw_horiz_band' is called by the libavcodec 135 /* if non NULL, 'draw_horiz_band' is called by the libavcodec
135 decoder to draw an horizontal band. It improve cache usage. Not 136 decoder to draw an horizontal band. It improve cache usage. Not
136 all codecs can do that. You must check the codec capabilities 137 all codecs can do that. You must check the codec capabilities
137 before */ 138 before */
138 void (*draw_horiz_band)(struct AVCodecContext *s, 139 void (*draw_horiz_band)(struct AVCodecContext *s,