summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-06 23:40:31 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-06 23:40:31 +0000
commite2c91bcfcf3cc360f8c56dc9c4afca4eee5351ec (patch)
tree82998a79b8320d67cf3b195ffc738ccc9c49c288
parent651b49adc90f50f2bc8a8591d326262da5fa9e25 (diff)
downloadmpv-e2c91bcfcf3cc360f8c56dc9c4afca4eee5351ec.tar.bz2
mpv-e2c91bcfcf3cc360f8c56dc9c4afca4eee5351ec.tar.xz
ACCEPT_WIDTH flag added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4963 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mp_image.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/mp_image.h b/mp_image.h
index 543149df86..928348aa50 100644
--- a/mp_image.h
+++ b/mp_image.h
@@ -11,10 +11,12 @@
#define MP_IMGFLAG_DIRECT 0x08
// codec accept any stride (>=width):
#define MP_IMGFLAG_ACCEPT_STRIDE 0x10
+// codec accept any width (width*bpp=stride) (>=width):
+#define MP_IMGFLAG_ACCEPT_WIDTH 0x20
// stride should be aligned to 16-byte (MB) boundary:
-#define MP_IMGFLAG_ALIGNED_STRIDE 0x20
+#define MP_IMGFLAG_ALIGNED_STRIDE 0x40
// codec uses drawing/rendering callbacks (draw_slice()-like thing, DR method 2)
-#define MP_IMGFLAG_DRAW_CALBACK 0x40
+#define MP_IMGFLAG_DRAW_CALLBACK 0x80
// set if number of planes > 1
#define MP_IMGFLAG_PLANAR 0x100