diff options
author | Sean V Kelley <seanvk@posteo.de> | 2015-02-18 08:29:55 -0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2015-03-20 13:06:28 +0800 |
commit | 0b59959bc96bb116007f11b4f7eaf48c1f026713 (patch) | |
tree | a61995d64b7588a9ee70fac7bb4754730fed172d | |
parent | 8d6c2111c564fc1d282e232d81c6dba4e08ee363 (diff) |
Add support for HEVC decoding on CHVskl-betav1.5-branch
We can re-use SKL HEVC decode pipeline
Signed-off-by: Sean V Kelley <seanvk@posteo.de>
Cc: haihao.xiang@intel.com
Cc: focus.luo@intel.com
(cherry picked from commit 78171ec3b8e73071405d9ff6ecbddc05a6787001)
-rw-r--r-- | src/i965_device_info.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/i965_device_info.c b/src/i965_device_info.c index 0c8dcf2..9227d0b 100644 --- a/src/i965_device_info.c +++ b/src/i965_device_info.c @@ -262,8 +262,9 @@ static struct hw_codec_info bdw_hw_codec_info = { }, }; +extern struct hw_context *gen9_dec_hw_context_init(VADriverContextP, struct object_config *); static struct hw_codec_info chv_hw_codec_info = { - .dec_hw_context_init = gen8_dec_hw_context_init, + .dec_hw_context_init = gen9_dec_hw_context_init, .enc_hw_context_init = gen8_enc_hw_context_init, .proc_hw_context_init = gen75_proc_context_init, .render_init = gen8_render_init, @@ -296,6 +297,7 @@ static struct hw_codec_info chv_hw_codec_info = { .has_vp8_decoding = 1, .has_vp8_encoding = 1, .has_h264_mvc_encoding = 1, + .has_hevc_decoding = 1, .num_filters = 5, .filters = { @@ -307,7 +309,6 @@ static struct hw_codec_info chv_hw_codec_info = { }, }; -extern struct hw_context *gen9_dec_hw_context_init(VADriverContextP, struct object_config *); extern struct hw_context *gen9_enc_hw_context_init(VADriverContextP, struct object_config *); extern void gen9_post_processing_context_init(VADriverContextP, void *, struct intel_batchbuffer *); static struct hw_codec_info skl_hw_codec_info = { |