diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2016-05-24 08:00:38 -0400 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2016-05-27 13:24:35 +0800 |
commit | c0cb3ca4eebd086ac506314d908323d0a65321a1 (patch) | |
tree | 455a72f4314434b627f1f715dfa72cd69d207291 /src | |
parent | ab776598eeea312b51add08a6ccb7d8ac2793e6b (diff) |
Export the VBR bit rate-control for VP9 encoding on KBL
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Sean V Kelley <sean.v.kelley@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/i965_drv_video.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index ca0f462..0a337f4 100644 --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -959,6 +959,10 @@ i965_GetConfigAttributes(VADriverContextP ctx, if (profile != VAProfileMPEG2Main && profile != VAProfileMPEG2Simple) attrib_list[i].value |= VA_RC_CBR; + + if (profile == VAProfileVP9Profile0) + attrib_list[i].value |= VA_RC_VBR; + break; } else if (entrypoint == VAEntrypointEncSliceLP) { struct i965_driver_data * const i965 = i965_driver_data(ctx); |