summaryrefslogtreecommitdiff
path: root/src/i965_drv_video.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-07-01 12:47:28 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-07-01 13:16:13 +0800
commita0b06fa98887b341c8208ce40a471f1721944df2 (patch)
tree4efb9f3aaeaffd4109b9ce3726112bd40d4c294a /src/i965_drv_video.h
parenta70ea804d4ceb93b10d1bb3cc50c92fe559d96e4 (diff)
downloadlibva-intel-driver-a0b06fa98887b341c8208ce40a471f1721944df2.tar.gz
libva-intel-driver-a0b06fa98887b341c8208ce40a471f1721944df2.tar.bz2
libva-intel-driver-a0b06fa98887b341c8208ce40a471f1721944df2.zip
Add the dependency to the ring supported by the underlying OS for VPP filters
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit a532539cbc7048f5c01b64dfe239f1570123c959)
Diffstat (limited to 'src/i965_drv_video.h')
-rw-r--r--src/i965_drv_video.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/i965_drv_video.h b/src/i965_drv_video.h
index e694d67..48519cd 100644
--- a/src/i965_drv_video.h
+++ b/src/i965_drv_video.h
@@ -258,6 +258,17 @@ struct object_subpic
unsigned int flags;
};
+#define I965_RING_NULL 0
+#define I965_RING_BSD 1
+#define I965_RING_BLT 2
+#define I965_RING_VEBOX 3
+
+struct i965_filter
+{
+ VAProcFilterType type;
+ int ring;
+};
+
struct hw_codec_info
{
struct hw_context *(*dec_hw_context_init)(VADriverContextP, struct object_config *);
@@ -282,7 +293,7 @@ struct hw_codec_info
unsigned int has_di_motion_compensated:1;
unsigned int num_filters;
- VAProcFilterType filters[VAProcFilterCount];
+ struct i965_filter filters[VAProcFilterCount];
};