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:
cc4bb87
)
ENC: fix AVC multi slice
author
Pengfei Qu
<pengfei.qu@intel.com>
Tue, 26 Dec 2017 09:08:27 +0000
(17:08 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 17 Jan 2018 00:45:46 +0000
(08:45 +0800)
Fixes #324
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
src/i965_avc_encoder.c
patch
|
blob
|
history
diff --git
a/src/i965_avc_encoder.c
b/src/i965_avc_encoder.c
index
e2ae4b1
..
f63a636
100644
(file)
--- a/
src/i965_avc_encoder.c
+++ b/
src/i965_avc_encoder.c
@@
-8180,6
+8180,9
@@
gen9_avc_encode_check_parameter(VADriverContextP ctx,
}
}
+ if (avc_state->slice_num > 1)
+ avc_state->arbitrary_num_mbs_in_slice = 1;
+
if (generic_state->frame_type == SLICE_TYPE_I) {
generic_state->hme_enabled = 0;
generic_state->b16xme_enabled = 0;