• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/intel-driver


Commit MetaInfo

Revision8ac2289aca552998d290bbc8bc2b44fbb510b1f9 (tree)
Time2015-03-19 11:02:29
AuthorSean V Kelley <seanvk@post...>
CommiterXiang, Haihao

Log Message

Add support for HEVC decoding on CHV

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)

Change Summary

Incremental Difference

--- 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 = {
262262 },
263263 };
264264
265+extern struct hw_context *gen9_dec_hw_context_init(VADriverContextP, struct object_config *);
265266 static struct hw_codec_info chv_hw_codec_info = {
266- .dec_hw_context_init = gen8_dec_hw_context_init,
267+ .dec_hw_context_init = gen9_dec_hw_context_init,
267268 .enc_hw_context_init = gen8_enc_hw_context_init,
268269 .proc_hw_context_init = gen75_proc_context_init,
269270 .render_init = gen8_render_init,
@@ -296,6 +297,7 @@ static struct hw_codec_info chv_hw_codec_info = {
296297 .has_vp8_decoding = 1,
297298 .has_vp8_encoding = 1,
298299 .has_h264_mvc_encoding = 1,
300+ .has_hevc_decoding = 1,
299301
300302 .num_filters = 5,
301303 .filters = {
@@ -307,7 +309,6 @@ static struct hw_codec_info chv_hw_codec_info = {
307309 },
308310 };
309311
310-extern struct hw_context *gen9_dec_hw_context_init(VADriverContextP, struct object_config *);
311312 extern struct hw_context *gen9_enc_hw_context_init(VADriverContextP, struct object_config *);
312313 extern void gen9_post_processing_context_init(VADriverContextP, void *, struct intel_batchbuffer *);
313314 static struct hw_codec_info skl_hw_codec_info = {