summaryrefslogtreecommitdiff
path: root/va/va.h
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-08-21 11:34:50 +0000
committerAustin Yuan <shengquan.yuan@gmail.com>2010-03-08 17:25:07 +0800
commit11f69c8407d2d1ee68d9ca12f650a62a3b0bef64 (patch)
treed49e829d721dfe95bd71e446fc7ff93db6c2ccaf /va/va.h
parent78f1145efe07fb5437dae60548c4d079e12866f6 (diff)
downloadlibva-11f69c8407d2d1ee68d9ca12f650a62a3b0bef64.tar.gz
Move vaPutSurface() flags to <va/va.h> header.
Diffstat (limited to 'va/va.h')
-rw-r--r--va/va.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 02be829..08294a8 100644
--- a/va/va.h
+++ b/va/va.h
@@ -127,6 +127,22 @@ typedef int VAStatus; /* Return status type from functions */
#define VA_STATUS_ERROR_SURFACE_IN_DISPLAYING 0x00000015
#define VA_STATUS_ERROR_UNKNOWN 0xFFFFFFFF
+/* De-interlacing flags for vaPutSurface() */
+#define VA_FRAME_PICTURE 0x00000000
+#define VA_TOP_FIELD 0x00000001
+#define VA_BOTTOM_FIELD 0x00000002
+
+/*
+ * Clears the drawable with background color.
+ * for hardware overlay based implementation this flag
+ * can be used to turn off the overlay
+ */
+#define VA_CLEAR_DRAWABLE 0x00000008
+
+/* Color space conversion flags for vaPutSurface() */
+#define VA_SRC_BT601 0x00000010
+#define VA_SRC_BT709 0x00000020
+
/*
* Returns a short english description of error_status
*/