summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vfcap.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-11 20:55:10 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-11 20:55:10 +0000
commita2ac31892837e61cc2e441cd143ad4d6afdaed24 (patch)
tree2de139677dfd5e4c338048b7f5a97af7a615a9b3 /libmpcodecs/vfcap.h
parent050c4bc9adbb3ba8a4831bea765887f973aeb75b (diff)
downloadmpv-a2ac31892837e61cc2e441cd143ad4d6afdaed24.tar.bz2
mpv-a2ac31892837e61cc2e441cd143ad4d6afdaed24.tar.xz
VFCAP defines moved out from vf.h, to be easier to include in libvo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5565 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vfcap.h')
-rw-r--r--libmpcodecs/vfcap.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/libmpcodecs/vfcap.h b/libmpcodecs/vfcap.h
new file mode 100644
index 0000000000..11f477de88
--- /dev/null
+++ b/libmpcodecs/vfcap.h
@@ -0,0 +1,26 @@
+// VFCAP_* values: they are flags, returned by query_format():
+
+// set, if the given colorspace is supported (with or without conversion)
+#define VFCAP_CSP_SUPPORTED 0x1
+// set, if the given colorspace is supported _without_ conversion
+#define VFCAP_CSP_SUPPORTED_BY_HW 0x2
+// set if the driver/filter can draw OSD
+#define VFCAP_OSD 0x4
+// set if the driver/filter can handle compressed SPU stream
+#define VFCAP_SPU 0x8
+// scaling up/down by hardware, or software:
+#define VFCAP_HWSCALE_UP 0x10
+#define VFCAP_HWSCALE_DOWN 0x20
+#define VFCAP_SWSCALE 0x40
+// driver/filter can do vertical flip (upside-down)
+#define VFCAP_FLIP 0x80
+
+// driver/hardware handles timing (blocking)
+#define VFCAP_TIMER 0x100
+// driver _always_ flip image upside-down (for ve_vfw)
+#define VFCAP_FLIPPED 0x200
+// driver accept stride: (put_image/draw_frame)
+#define VFCAP_ACCEPT_STRIDE 0x400
+
+#define VFCAP_POSTPROC 0x800
+