OSDN Git Service
(root)
/
android-x86
/
hardware-intel-common-vaapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab77659
)
Export the VBR bit rate-control for VP9 encoding on KBL
author
Zhao Yakui
<yakui.zhao@intel.com>
Tue, 24 May 2016 12:00:38 +0000
(08:00 -0400)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 27 May 2016 05:24:35 +0000
(13:24 +0800)
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Sean V Kelley <sean.v.kelley@intel.com>
src/i965_drv_video.c
patch
|
blob
|
history
diff --git
a/src/i965_drv_video.c
b/src/i965_drv_video.c
index
ca0f462
..
0a337f4
100644
(file)
--- 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);