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:
23e2f98
)
Support VBR for HEVC 10bit
author
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 2 Feb 2018 04:23:58 +0000
(12:23 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 2 Feb 2018 04:28:47 +0000
(12:28 +0800)
VBR should be returned when querying the supported RC modes for
VAProfileHEVCMain10/VAEntrypointEncSlice pair
Signed-off-by: Xiang, Haihao <haihao.xiang@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
61b0d4f
..
36719e8
100644
(file)
--- a/
src/i965_drv_video.c
+++ b/
src/i965_drv_video.c
@@
-978,7
+978,8
@@
i965_get_rc_attributes(VADriverContextP ctx, VAProfile profile, VAEntrypoint ent
rc_attribs |= VA_RC_CBR;
if (profile == VAProfileVP8Version0_3 ||
- profile == VAProfileHEVCMain)
+ profile == VAProfileHEVCMain ||
+ profile == VAProfileHEVCMain10)
rc_attribs |= VA_RC_VBR;
if (profile == VAProfileVP9Profile0)