diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-04-08 21:03:35 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-04-08 21:03:35 +0000 |
commit | bc657ac31dfd2458d52736e36af03615d8c1664b (patch) | |
tree | 4e1751851c8c1820236d521694377fe1cdecccd8 /libavcodec/avcodec.h | |
parent | 4606ac8dee9985bae07fcd0c0e04d6e2c63d6dc5 (diff) | |
download | ffmpeg-bc657ac31dfd2458d52736e36af03615d8c1664b.tar.gz |
* using pixtype as enum - by Philip Gladstone
Originally committed as revision 389 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 499cff7cff..3f6ee75661 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -39,6 +39,7 @@ enum CodecType { }; enum PixelFormat { + PIX_FMT_ANY, PIX_FMT_YUV420P, PIX_FMT_YUV422, PIX_FMT_RGB24, @@ -98,7 +99,7 @@ typedef struct AVCodecContext { #define FF_ASPECT_16_9_625 4 #define FF_ASPECT_16_9_525 5 int gop_size; /* 0 = intra only */ - int pix_fmt; /* pixel format, see PIX_FMT_xxx */ + enum PixelFormat pix_fmt; /* pixel format, see PIX_FMT_xxx */ /* if non NULL, 'draw_horiz_band' is called by the libavcodec decoder to draw an horizontal band. It improve cache usage. Not |