comparison mp_image.h @ 4962:993f274191ff

ACCEPT_WIDTH flag added
author arpi
date Wed, 06 Mar 2002 23:40:31 +0000
parents 429994672d8c
children 643da7f45219
comparison
equal deleted inserted replaced
4961:c8a3e58a43d8 4962:993f274191ff
9 #define MP_IMGFLAG_ALLOCATED 0x04 9 #define MP_IMGFLAG_ALLOCATED 0x04
10 // set if it's in video buffer/memory: 10 // set if it's in video buffer/memory:
11 #define MP_IMGFLAG_DIRECT 0x08 11 #define MP_IMGFLAG_DIRECT 0x08
12 // codec accept any stride (>=width): 12 // codec accept any stride (>=width):
13 #define MP_IMGFLAG_ACCEPT_STRIDE 0x10 13 #define MP_IMGFLAG_ACCEPT_STRIDE 0x10
14 // codec accept any width (width*bpp=stride) (>=width):
15 #define MP_IMGFLAG_ACCEPT_WIDTH 0x20
14 // stride should be aligned to 16-byte (MB) boundary: 16 // stride should be aligned to 16-byte (MB) boundary:
15 #define MP_IMGFLAG_ALIGNED_STRIDE 0x20 17 #define MP_IMGFLAG_ALIGNED_STRIDE 0x40
16 // codec uses drawing/rendering callbacks (draw_slice()-like thing, DR method 2) 18 // codec uses drawing/rendering callbacks (draw_slice()-like thing, DR method 2)
17 #define MP_IMGFLAG_DRAW_CALBACK 0x40 19 #define MP_IMGFLAG_DRAW_CALLBACK 0x80
18 20
19 // set if number of planes > 1 21 // set if number of planes > 1
20 #define MP_IMGFLAG_PLANAR 0x100 22 #define MP_IMGFLAG_PLANAR 0x100
21 // set if it's YUV colorspace 23 // set if it's YUV colorspace
22 #define MP_IMGFLAG_YUV 0x200 24 #define MP_IMGFLAG_YUV 0x200