diff options
author | Ivan Kalvachev <ikalvachev@gmail.com> | 2004-06-11 07:59:12 +0000 |
---|---|---|
committer | Ivan Kalvachev <ikalvachev@gmail.com> | 2004-06-11 07:59:12 +0000 |
commit | ffdff4d7e8baa6769e099c37bec20438ac7f5889 (patch) | |
tree | c895ca445b274e84dda3e7160d3a452978eef251 /libavcodec/mpegvideo.h | |
parent | 364ec9dcb6760ae86b1efb418f6cab16cd629da1 (diff) | |
download | ffmpeg-ffdff4d7e8baa6769e099c37bec20438ac7f5889.tar.gz |
mpeg2 chroma422/444 support, may be slower, may be faster for other codecs
Originally committed as revision 3215 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index d4c7064f46..4da5bb283d 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -670,6 +670,8 @@ typedef struct MpegEncContext { #define CHROMA_420 1 #define CHROMA_422 2 #define CHROMA_444 3 + int chroma_x_shift;//depend on pix_format, that depend on chroma_format + int chroma_y_shift; int progressive_frame; int full_pel[2]; @@ -722,7 +724,7 @@ int DCT_common_init(MpegEncContext *s); void MPV_decode_defaults(MpegEncContext *s); int MPV_common_init(MpegEncContext *s); void MPV_common_end(MpegEncContext *s); -void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64]); +void MPV_decode_mb(MpegEncContext *s, DCTELEM block[12][64]); int MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx); void MPV_frame_end(MpegEncContext *s); int MPV_encode_init(AVCodecContext *avctx); |