OSDN Git Service

Enc: support AVC MVC encoder on SKL/APL/KBL
authorPengfei Qu <Pengfei.Qu@intel.com>
Tue, 18 Apr 2017 03:12:23 +0000 (11:12 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 27 Apr 2017 11:48:19 +0000 (19:48 +0800)
Fixes #143

Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
src/gen9_avc_encoder.c
src/i965_device_info.c

index 79e9070..604d9db 100644 (file)
@@ -7416,6 +7416,8 @@ gen9_avc_pak_pipeline(VADriverContextP ctx,
     case VAProfileH264ConstrainedBaseline:
     case VAProfileH264Main:
     case VAProfileH264High:
+    case VAProfileH264MultiviewHigh:
+    case VAProfileH264StereoHigh:
         vaStatus = gen9_avc_encode_picture(ctx, profile, encode_state, encoder_context);
         break;
 
index a272eb1..2019b97 100644 (file)
@@ -359,7 +359,7 @@ static struct hw_codec_info skl_hw_codec_info = {
     .has_di_motion_compensated = 1,
     .has_vp8_decoding = 1,
     .has_vp8_encoding = 1,
-    .has_h264_mvc_encoding = 0,
+    .has_h264_mvc_encoding = 1,
     .has_hevc_decoding = 1,
     .has_hevc_encoding = 1,
     .has_lp_h264_encoding = 1,
@@ -414,7 +414,7 @@ static struct hw_codec_info bxt_hw_codec_info = {
     .has_di_motion_compensated = 1,
     .has_vp8_decoding = 1,
     .has_vp8_encoding = 1,
-    .has_h264_mvc_encoding = 0,
+    .has_h264_mvc_encoding = 1,
     .has_hevc_decoding = 1,
     .has_hevc_encoding = 1,
     .has_hevc10_decoding = 1,
@@ -475,7 +475,7 @@ static struct hw_codec_info kbl_hw_codec_info = {
     .has_di_motion_compensated = 1,
     .has_vp8_decoding = 1,
     .has_vp8_encoding = 1,
-    .has_h264_mvc_encoding = 0,
+    .has_h264_mvc_encoding = 1,
     .has_hevc_decoding = 1,
     .has_hevc_encoding = 1,
     .has_hevc10_encoding = 1,
@@ -539,7 +539,7 @@ static struct hw_codec_info glk_hw_codec_info = {
     .has_di_motion_compensated = 1,
     .has_vp8_decoding = 1,
     .has_vp8_encoding = 1,
-    .has_h264_mvc_encoding = 0,
+    .has_h264_mvc_encoding = 1,
     .has_hevc_decoding = 1,
     .has_hevc_encoding = 1,
     .has_hevc10_decoding = 1,