summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-12-04 21:13:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-12-04 21:13:02 +0000
commit140cb66321f2d3271d4e1a9c80eee42e0500c4fa (patch)
tree46fac4ba73ad79302383b7c8b8ae25b3d665a2cb /libavcodec/mpegvideo.h
parent5b20b7328a6b0d0286b6d0f1975fbd417ae010eb (diff)
new PSNR code (now works with chroma, b frames, ...)
rename *_TYPE to FF_*_TYPE for the external API allow user specified pict_type Originally committed as revision 1308 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 7a0682fc5a..46e19d4b17 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -48,6 +48,11 @@ enum OutputFormat {
#define MAX_RUN 64
#define MAX_LEVEL 64
+#define I_TYPE FF_I_TYPE // Intra
+#define P_TYPE FF_P_TYPE // Predicted
+#define B_TYPE FF_B_TYPE // Bi-dir predicted
+#define S_TYPE FF_S_TYPE // S(GMC)-VOP MPEG4
+
typedef struct Predictor{
double coeff;
double count;