summaryrefslogtreecommitdiff
path: root/src/i965_device_info.c
diff options
context:
space:
mode:
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>2017-12-01 14:44:58 -0800
committerXiang, Haihao <haihao.xiang@intel.com>2018-01-10 14:34:35 +0800
commit874a0da8c07e632168ae635507aeab24207806ed (patch)
treea186ed2c0cd1cc9ebf563cd9e6aea885d2afa3ba /src/i965_device_info.c
parentce568d7c441febf4ae531bd3962990fb66a1bcdb (diff)
downloadlibva-intel-driver-874a0da8c07e632168ae635507aeab24207806ed.tar.gz
Stats/PreEnc: Add basic infrastructure for PreEnc enablement
Add necessary changes in common structures and apis to support Stats Entrypoint. * add support for the new entrypoint VAEntrypointStats * added new preproc encode operation enum * define virtual methods for preproc_set_curbe/send_surface * add fixes in vaQueryConfigEntrypoints(), vaQueryConfigProfiles, vaGetConfigAttributes(), vaQuerySurfaceAttributes(), vaCreateContext(), vaCreateBuffer(),vaBeginPicture(), vaRenderPicture() and vaEndPicture() * If PreEnc enabled, only invoke VME. Note: Enabled the PreEnc Support only for avc encode in Skylake. libva PR: https://github.com/01org/libva/pull/110 Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Diffstat (limited to 'src/i965_device_info.c')
-rw-r--r--src/i965_device_info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i965_device_info.c b/src/i965_device_info.c
index fdfe6516..3e9485e8 100644
--- a/src/i965_device_info.c
+++ b/src/i965_device_info.c
@@ -374,6 +374,7 @@ static struct hw_codec_info skl_hw_codec_info = {
.has_hevc_encoding = 1,
.has_lp_h264_encoding = 1,
.has_fei_h264_encoding = 1,
+ .has_h264_preenc = 1,
.lp_h264_brc_mode = VA_RC_CQP,
.h264_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR | VA_RC_MB,