comparison avcodec.h @ 383:e6b64bc3bc87 libavcodec

- repeat_pict meaning changed, now it signals the extra delay for the decoded frame. - extra_delay = (repeat_pict / 2) * (1/fps)
author pulento
date Tue, 14 May 2002 19:56:42 +0000
parents b1663b0ffbbc
children 64247fd53524
comparison
equal deleted inserted replaced
382:b1663b0ffbbc 383:e6b64bc3bc87
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 4608 8 #define LIBAVCODEC_BUILD 4609
9 #define LIBAVCODEC_BUILD_STR "4608" 9 #define LIBAVCODEC_BUILD_STR "4609"
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 int repeat_pict; /* set this to 1 if you want the decoder 133 int repeat_pict; /* when decoding, this signal how much the picture */
134 to repeat frames for 3:2 pulldown (MPEG-2) */ 134 /* must be delayed. */
135 /* extra_delay = (repeat_pict / 2) * (1/fps) */
135 /* if non NULL, 'draw_horiz_band' is called by the libavcodec 136 /* if non NULL, 'draw_horiz_band' is called by the libavcodec
136 decoder to draw an horizontal band. It improve cache usage. Not 137 decoder to draw an horizontal band. It improve cache usage. Not
137 all codecs can do that. You must check the codec capabilities 138 all codecs can do that. You must check the codec capabilities
138 before */ 139 before */
139 void (*draw_horiz_band)(struct AVCodecContext *s, 140 void (*draw_horiz_band)(struct AVCodecContext *s,