hardware/intel/intel-driver
Revision | c0cb3ca4eebd086ac506314d908323d0a65321a1 (tree) |
---|---|
Zeit | 2016-05-27 14:24:35 |
Autor | Zhao Yakui <yakui.zhao@inte...> |
Commiter | Xiang, Haihao |
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>
@@ -959,6 +959,10 @@ i965_GetConfigAttributes(VADriverContextP ctx, | ||
959 | 959 | if (profile != VAProfileMPEG2Main && |
960 | 960 | profile != VAProfileMPEG2Simple) |
961 | 961 | attrib_list[i].value |= VA_RC_CBR; |
962 | + | |
963 | + if (profile == VAProfileVP9Profile0) | |
964 | + attrib_list[i].value |= VA_RC_VBR; | |
965 | + | |
962 | 966 | break; |
963 | 967 | } else if (entrypoint == VAEntrypointEncSliceLP) { |
964 | 968 | struct i965_driver_data * const i965 = i965_driver_data(ctx); |