summaryrefslogtreecommitdiff
path: root/va
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2010-09-02 15:26:24 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2010-09-15 08:37:31 +0800
commit5f2030ba303fc8196779368b5e398cbd5aeb9d0d (patch)
tree2e0e6c0e6b763d587276c4913d57a6bf2e2721cb /va
parent6772bdb4406edaf55da2e3604003c9eafff31c36 (diff)
add scaling flags for vaPutSurface()
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'va')
-rw-r--r--va/va.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 76c5708..4b70bbe 100644
--- a/va/va.h
+++ b/va/va.h
@@ -146,6 +146,13 @@ typedef int VAStatus; /* Return status type from functions */
#define VA_SRC_BT601 0x00000010
#define VA_SRC_BT709 0x00000020
+/* Scaling flags for vaPutSurface() */
+#define VA_FILTER_SCALING_DEFAULT 0x00000000
+#define VA_FILTER_SCALING_FAST 0x00000100
+#define VA_FILTER_SCALING_HQ 0x00000200
+#define VA_FILTER_SCALING_NL_ANAMORPHIC 0x00000300
+#define VA_FILTER_SCALING_MASK 0x00000f00
+
/*
* Returns a short english description of error_status
*/