comparison avcodec.h @ 315:40d8092e2ff0 libavcodec

* using pixtype as enum - by Philip Gladstone
author kabi
date Mon, 08 Apr 2002 21:03:35 +0000
parents ac677a84d5df
children 02d6d988399e
comparison
equal deleted inserted replaced
314:289eb941b8ba 315:40d8092e2ff0
37 CODEC_TYPE_VIDEO, 37 CODEC_TYPE_VIDEO,
38 CODEC_TYPE_AUDIO, 38 CODEC_TYPE_AUDIO,
39 }; 39 };
40 40
41 enum PixelFormat { 41 enum PixelFormat {
42 PIX_FMT_ANY,
42 PIX_FMT_YUV420P, 43 PIX_FMT_YUV420P,
43 PIX_FMT_YUV422, 44 PIX_FMT_YUV422,
44 PIX_FMT_RGB24, 45 PIX_FMT_RGB24,
45 PIX_FMT_BGR24, 46 PIX_FMT_BGR24,
46 PIX_FMT_YUV422P, 47 PIX_FMT_YUV422P,
96 #define FF_ASPECT_4_3_625 2 97 #define FF_ASPECT_4_3_625 2
97 #define FF_ASPECT_4_3_525 3 98 #define FF_ASPECT_4_3_525 3
98 #define FF_ASPECT_16_9_625 4 99 #define FF_ASPECT_16_9_625 4
99 #define FF_ASPECT_16_9_525 5 100 #define FF_ASPECT_16_9_525 5
100 int gop_size; /* 0 = intra only */ 101 int gop_size; /* 0 = intra only */
101 int pix_fmt; /* pixel format, see PIX_FMT_xxx */ 102 enum PixelFormat pix_fmt; /* pixel format, see PIX_FMT_xxx */
102 103
103 /* if non NULL, 'draw_horiz_band' is called by the libavcodec 104 /* if non NULL, 'draw_horiz_band' is called by the libavcodec
104 decoder to draw an horizontal band. It improve cache usage. Not 105 decoder to draw an horizontal band. It improve cache usage. Not
105 all codecs can do that. You must check the codec capabilities 106 all codecs can do that. You must check the codec capabilities
106 before */ 107 before */