summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/mp_image.h
diff options
context:
space:
mode:
authorranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-03 12:09:58 +0000
committerranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-03 12:09:58 +0000
commit9f62dfb2c810fd9043d41370cb343aa14e7680ba (patch)
treeb77f83c27d819210e95818705e2e9961297bc1da /libmpcodecs/mp_image.h
parent81df98523924656907a32991153864434cc8d124 (diff)
downloadmpv-9f62dfb2c810fd9043d41370cb343aa14e7680ba.tar.bz2
mpv-9f62dfb2c810fd9043d41370cb343aa14e7680ba.tar.xz
Add mpeg2_flags to mp_image_t, copy flags in vd_libmpeg2.c,
and add vf_softpulldown.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10511 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/mp_image.h')
-rw-r--r--libmpcodecs/mp_image.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpcodecs/mp_image.h b/libmpcodecs/mp_image.h
index 0cadc68e9b..0ff66d27d8 100644
--- a/libmpcodecs/mp_image.h
+++ b/libmpcodecs/mp_image.h
@@ -64,6 +64,9 @@
#define MP_MAX_PLANES 4
+#define MP_IMGMPEG2FLAG_TOP_FIELD_FIRST 0x01
+#define MP_IMGMPEG2FLAG_REPEAT_FIRST_FIELD 0x02
+
typedef struct mp_image_s {
unsigned short flags;
unsigned char type;
@@ -76,6 +79,7 @@ typedef struct mp_image_s {
char * qscale;
int qstride;
int pict_type; // 0->unknown, 1->I, 2->P, 3->B
+ int mpeg2_flags;
int qscale_type; // 0->mpeg1/4/h263, 1->mpeg2
int num_planes;
/* these are only used by planar formats Y,U(Cb),V(Cr) */