• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/intel-driver


Commit MetaInfo

Revisionc0cb3ca4eebd086ac506314d908323d0a65321a1 (tree)
Zeit2016-05-27 14:24:35
AutorZhao 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>

Ändern Zusammenfassung

Diff

--- 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);