Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Martres
aom-rav1e
Commits
746538c2
Commit
746538c2
authored
Feb 27, 2014
by
Deb Mukherjee
Committed by
Gerrit Code Review
Feb 27, 2014
Browse files
Merge "Turns variance based partitioning on in Speed 7"
parents
c57fc4f3
ed575544
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_encodeframe.c
View file @
746538c2
...
...
@@ -141,14 +141,12 @@ static BLOCK_SIZE get_nonrd_var_based_fixed_partition(VP9_COMP *cpi,
unsigned
int
var
=
get_sby_perpixel_diff_variance
(
cpi
,
&
cpi
->
mb
,
mi_row
,
mi_col
,
BLOCK_64X64
);
if
(
var
<
8
)
if
(
var
<
4
)
return
BLOCK_64X64
;
else
if
(
var
<
64
)
else
if
(
var
<
10
)
return
BLOCK_32X32
;
else
if
(
var
<
2048
)
return
BLOCK_16X16
;
else
return
BLOCK_
8X8
;
return
BLOCK_
16X16
;
}
// Original activity measure from Tim T's code.
...
...
vp9/encoder/vp9_onyx_if.c
View file @
746538c2
...
...
@@ -855,8 +855,7 @@ static void set_rt_speed_feature(VP9_COMMON *cm,
sf
->
partition_search_type
=
VAR_BASED_FIXED_PARTITION
;
}
if
(
speed
>=
7
)
{
sf
->
partition_search_type
=
FIXED_PARTITION
;
sf
->
always_this_block_size
=
BLOCK_16X16
;
sf
->
partition_search_type
=
VAR_BASED_FIXED_PARTITION
;
sf
->
use_nonrd_pick_mode
=
1
;
}
}
...
...
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