comparison libmpcodecs/mp_image.h @ 11669:bcf9862f61b2

set top_field first for lavc decoding and add MP_IMGFIELD_INTERLACED
author michael
date Mon, 22 Dec 2003 17:26:19 +0000
parents 229079491864
children 6c12ee26fab9
comparison
equal deleted inserted replaced
11668:18326298f607 11669:bcf9862f61b2
67 #define MP_IMGFIELD_ORDERED 0x01 67 #define MP_IMGFIELD_ORDERED 0x01
68 #define MP_IMGFIELD_TOP_FIRST 0x02 68 #define MP_IMGFIELD_TOP_FIRST 0x02
69 #define MP_IMGFIELD_REPEAT_FIRST 0x04 69 #define MP_IMGFIELD_REPEAT_FIRST 0x04
70 #define MP_IMGFIELD_TOP 0x08 70 #define MP_IMGFIELD_TOP 0x08
71 #define MP_IMGFIELD_BOTTOM 0x10 71 #define MP_IMGFIELD_BOTTOM 0x10
72 #define MP_IMGFIELD_INTERLACED 0x20
72 73
73 typedef struct mp_image_s { 74 typedef struct mp_image_s {
74 unsigned short flags; 75 unsigned short flags;
75 unsigned char type; 76 unsigned char type;
76 unsigned char bpp; // bits/pixel. NOT depth! for RGB it will be n*8 77 unsigned char bpp; // bits/pixel. NOT depth! for RGB it will be n*8