Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-intel-intel-driver: Commit

hardware/intel/intel-driver


Commit MetaInfo

Revisionc0cb3ca4eebd086ac506314d908323d0a65321a1 (tree)
Time2016-05-27 14:24:35
AuthorZhao Yakui <yakui.zhao@inte...>
CommiterXiang, Haihao

Log Message

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>

Change Summary

Incremental Difference

--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -959,6 +959,10 @@ i965_GetConfigAttributes(VADriverContextP ctx,
959959 if (profile != VAProfileMPEG2Main &&
960960 profile != VAProfileMPEG2Simple)
961961 attrib_list[i].value |= VA_RC_CBR;
962+
963+ if (profile == VAProfileVP9Profile0)
964+ attrib_list[i].value |= VA_RC_VBR;
965+
962966 break;
963967 } else if (entrypoint == VAEntrypointEncSliceLP) {
964968 struct i965_driver_data * const i965 = i965_driver_data(ctx);
Show on old repository browser