summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2018-02-02 12:23:58 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2018-02-02 12:28:47 +0800
commit7d667889155f14fa76dbe0f3af3c54f53c966aa8 (patch)
tree945eed0683af2416fa0b76e278ed94add3ff0f9c
parent23e2f98dff7b013d0fd50904c7ab94e9f1dc491e (diff)
downloadlibva-intel-driver-7d667889155f14fa76dbe0f3af3c54f53c966aa8.tar.gz
Support VBR for HEVC 10bit
VBR should be returned when querying the supported RC modes for VAProfileHEVCMain10/VAEntrypointEncSlice pair Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r--src/i965_drv_video.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index 61b0d4f7..36719e87 100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -978,7 +978,8 @@ i965_get_rc_attributes(VADriverContextP ctx, VAProfile profile, VAEntrypoint ent
rc_attribs |= VA_RC_CBR;
if (profile == VAProfileVP8Version0_3 ||
- profile == VAProfileHEVCMain)
+ profile == VAProfileHEVCMain ||
+ profile == VAProfileHEVCMain10)
rc_attribs |= VA_RC_VBR;
if (profile == VAProfileVP9Profile0)