Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yushin Cho
aom-rav1e
Commits
81056e2d
Commit
81056e2d
authored
Apr 10, 2014
by
Yunqing Wang
Committed by
Gerrit Code Review
Apr 10, 2014
Browse files
Merge "Minor code cleanup"
parents
65e650e0
7c891ed2
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_encodeframe.c
View file @
81056e2d
...
...
@@ -3284,9 +3284,9 @@ static void encode_frame_internal(VP9_COMP *cpi) {
}
vp9_zero
(
x
->
zcoeff_blk
);
if
(
cpi
->
sf
.
partition_search_type
==
SOURCE_VAR_BASED_PARTITION
&&
if
(
sf
->
partition_search_type
==
SOURCE_VAR_BASED_PARTITION
&&
cm
->
current_video_frame
>
0
)
{
int
check_freq
=
cpi
->
sf
.
search_type_check_frequency
;
int
check_freq
=
sf
->
search_type_check_frequency
;
if
((
cm
->
current_video_frame
-
1
)
%
check_freq
==
0
)
{
cpi
->
use_large_partition_rate
=
0
;
...
...
@@ -3303,7 +3303,7 @@ static void encode_frame_internal(VP9_COMP *cpi) {
if
((
cm
->
current_video_frame
-
1
)
%
check_freq
>=
1
)
{
if
(
cpi
->
use_large_partition_rate
<
15
)
cpi
->
sf
.
partition_search_type
=
FIXED_PARTITION
;
sf
->
partition_search_type
=
FIXED_PARTITION
;
}
}
}
...
...
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