summaryrefslogtreecommitdiff
path: root/src/i965_device_info.c
diff options
context:
space:
mode:
authorPengfei Qu <Pengfei.Qu@intel.com>2017-05-16 15:49:13 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-06-12 14:04:01 +0800
commit3416db0c8280a321db0b8d2afde9c30c3229ee7d (patch)
tree9f19eba9d89509a781eb490bcf883916651f8e24 /src/i965_device_info.c
parent53fa3daa12f6dbdd391d24ab479dc601ae37a89d (diff)
downloadlibva-intel-driver-3416db0c8280a321db0b8d2afde9c30c3229ee7d.tar.gz
ENC: add RC query for AVC mb rc mode on SKL+
v0: add h264_brc_mode to store the RC capability of H264 Fixes #168 Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Diffstat (limited to 'src/i965_device_info.c')
-rw-r--r--src/i965_device_info.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/i965_device_info.c b/src/i965_device_info.c
index 2019b978..629b1f2a 100644
--- a/src/i965_device_info.c
+++ b/src/i965_device_info.c
@@ -132,6 +132,8 @@ static struct hw_codec_info snb_hw_codec_info = {
.has_tiled_surface = 1,
.has_di_motion_adptive = 1,
+ .h264_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR,
+
.num_filters = 2,
.filters = {
{ VAProcFilterNoiseReduction, I965_RING_NULL },
@@ -173,6 +175,8 @@ static struct hw_codec_info ivb_hw_codec_info = {
.has_di_motion_adptive = 1,
.has_di_motion_compensated = 1,
+ .h264_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR,
+
.num_filters = 2,
.filters = {
{ VAProcFilterNoiseReduction, I965_RING_NULL },
@@ -217,6 +221,8 @@ static struct hw_codec_info hsw_hw_codec_info = {
.has_di_motion_compensated = 1,
.has_h264_mvc_encoding = 1,
+ .h264_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR,
+
.num_filters = 5,
.filters = {
{ VAProcFilterNoiseReduction, I965_RING_VEBOX },
@@ -262,6 +268,8 @@ static struct hw_codec_info bdw_hw_codec_info = {
.has_vp8_decoding = 1,
.has_h264_mvc_encoding = 1,
+ .h264_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR,
+
.num_filters = 5,
.filters = {
{ VAProcFilterNoiseReduction, I965_RING_VEBOX },
@@ -309,6 +317,8 @@ static struct hw_codec_info chv_hw_codec_info = {
.has_h264_mvc_encoding = 1,
.has_hevc_decoding = 1,
+ .h264_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR,
+
.num_filters = 5,
.filters = {
{ VAProcFilterNoiseReduction, I965_RING_VEBOX },
@@ -365,6 +375,7 @@ static struct hw_codec_info skl_hw_codec_info = {
.has_lp_h264_encoding = 1,
.lp_h264_brc_mode = VA_RC_CQP,
+ .h264_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR | VA_RC_MB,
.num_filters = 5,
.filters = {
@@ -423,6 +434,7 @@ static struct hw_codec_info bxt_hw_codec_info = {
.has_lp_h264_encoding = 1,
.lp_h264_brc_mode = VA_RC_CQP,
+ .h264_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR | VA_RC_MB,
.num_filters = 5,
.filters = {
@@ -486,6 +498,7 @@ static struct hw_codec_info kbl_hw_codec_info = {
.has_lp_h264_encoding = 1,
.lp_h264_brc_mode = VA_RC_CQP,
+ .h264_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR | VA_RC_MB,
.num_filters = 5,
.filters = {
@@ -550,6 +563,7 @@ static struct hw_codec_info glk_hw_codec_info = {
.has_lp_h264_encoding = 1,
.lp_h264_brc_mode = VA_RC_CQP,
+ .h264_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR | VA_RC_MB,
.num_filters = 5,
.filters = {