diff mpegvideo.h @ 2074:2faafe7a3db6 libavcodec

mpeg2 chroma422/444 support, may be slower, may be faster for other codecs
author iive
date Fri, 11 Jun 2004 07:59:12 +0000
parents b6f2add2511e
children 70b27300a496
line wrap: on
line diff
--- a/mpegvideo.h	Fri Jun 11 02:24:08 2004 +0000
+++ b/mpegvideo.h	Fri Jun 11 07:59:12 2004 +0000
@@ -670,6 +670,8 @@
 #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 @@
 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);