diff options
Diffstat (limited to 'libmpcodecs/mp_image.h')
-rw-r--r-- | libmpcodecs/mp_image.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libmpcodecs/mp_image.h b/libmpcodecs/mp_image.h index 0ff66d27d8..9efe128954 100644 --- a/libmpcodecs/mp_image.h +++ b/libmpcodecs/mp_image.h @@ -64,8 +64,11 @@ #define MP_MAX_PLANES 4 -#define MP_IMGMPEG2FLAG_TOP_FIELD_FIRST 0x01 -#define MP_IMGMPEG2FLAG_REPEAT_FIRST_FIELD 0x02 +#define MP_IMGFIELD_ORDERED 0x01 +#define MP_IMGFIELD_TOP_FIRST 0x02 +#define MP_IMGFIELD_REPEAT_FIRST 0x04 +#define MP_IMGFIELD_TOP 0x08 +#define MP_IMGFIELD_BOTTOM 0x10 typedef struct mp_image_s { unsigned short flags; @@ -79,7 +82,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 fields; int qscale_type; // 0->mpeg1/4/h263, 1->mpeg2 int num_planes; /* these are only used by planar formats Y,U(Cb),V(Cr) */ |