From 7d667889155f14fa76dbe0f3af3c54f53c966aa8 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Fri, 2 Feb 2018 12:23:58 +0800 Subject: Support VBR for HEVC 10bit VBR should be returned when querying the supported RC modes for VAProfileHEVCMain10/VAEntrypointEncSlice pair Signed-off-by: Xiang, Haihao --- src/i965_drv_video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1