Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
libvpx
Commits
f217049d
Commit
f217049d
authored
Jan 13, 2017
by
Marco Paniconi
Committed by
Gerrit Code Review
Jan 13, 2017
Browse files
Merge "vp9: Adjust threshold for copy partiton, for speed=8."
parents
b6fe63a5
47270b68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encodeframe.c
+3
-3
No files found.
vp9/encoder/vp9_encodeframe.c
View file @
f217049d
...
...
@@ -529,10 +529,10 @@ void vp9_set_variance_partition_thresholds(VP9_COMP *cpi, int q) {
if
(
cm
->
width
<=
352
&&
cm
->
height
<=
288
)
cpi
->
vbp_threshold_copy
=
4000
;
else
if
(
cm
->
width
<=
640
&&
cm
->
height
<=
360
)
cpi
->
vbp_threshold_copy
=
9
000
;
cpi
->
vbp_threshold_copy
=
8
000
;
else
cpi
->
vbp_threshold_copy
=
(
cpi
->
y_dequant
[
q
][
1
]
<<
5
)
>
16000
?
(
cpi
->
y_dequant
[
q
][
1
]
<<
5
)
cpi
->
vbp_threshold_copy
=
(
cpi
->
y_dequant
[
q
][
1
]
<<
4
)
>
16000
?
(
cpi
->
y_dequant
[
q
][
1
]
<<
4
)
:
16000
;
}
cpi
->
vbp_threshold_minmax
=
15
+
(
q
>>
3
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment