Go to the documentation of this file.
19 #ifndef MPLAYER_MP_IMAGE_H
20 #define MPLAYER_MP_IMAGE_H
26 #undef fprintf //FIXME
37 #define ASMALIGN(ZEROBITS) ".p2align " #ZEROBITS "\n\t"
38 #define CODEC_FLAG2_MEMC_ONLY 0x00001000
46 #define MP_IMGFLAG_PRESERVE 0x01
48 #define MP_IMGFLAG_READABLE 0x02
52 #define MP_IMGFLAG_ACCEPT_ALIGNED_STRIDE 0x4
54 #define MP_IMGFLAG_PREFER_ALIGNED_STRIDE 0x8
56 #define MP_IMGFLAG_ACCEPT_STRIDE 0x10
58 #define MP_IMGFLAG_ACCEPT_WIDTH 0x20
61 #define MP_IMGFLAG_COMMON_STRIDE 0x40
63 #define MP_IMGFLAG_COMMON_PLANE 0x80
65 #define MP_IMGFLAGMASK_RESTRICTIONS 0xFF
69 #define MP_IMGFLAG_PLANAR 0x100
71 #define MP_IMGFLAG_YUV 0x200
73 #define MP_IMGFLAG_SWAPPED 0x400
75 #define MP_IMGFLAG_RGB_PALETTE 0x800
77 #define MP_IMGFLAGMASK_COLORS 0xF00
82 #define MP_IMGFLAG_DRAW_CALLBACK 0x1000
84 #define MP_IMGFLAG_DIRECT 0x2000
86 #define MP_IMGFLAG_ALLOCATED 0x4000
89 #define MP_IMGFLAG_TYPE_DISPLAYED 0x8000
93 #define MP_IMGTYPE_EXPORT 0
95 #define MP_IMGTYPE_STATIC 1
97 #define MP_IMGTYPE_TEMP 2
99 #define MP_IMGTYPE_IP 3
101 #define MP_IMGTYPE_IPB 4
103 #define MP_IMGTYPE_NUMBERED 5
107 #define MP_IMGTYPE_INCOMPLETE 6
109 #define MP_MAX_PLANES 4
111 #define MP_IMGFIELD_ORDERED 0x01
112 #define MP_IMGFIELD_TOP_FIRST 0x02
113 #define MP_IMGFIELD_REPEAT_FIRST 0x04
114 #define MP_IMGFIELD_TOP 0x08
115 #define MP_IMGFIELD_BOTTOM 0x10
116 #define MP_IMGFIELD_INTERLACED 0x20
118 typedef struct mp_image {