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
06e65269
Commit
06e65269
authored
Oct 18, 2014
by
Yaowu Xu
Committed by
Gerrit Code Review
Oct 18, 2014
Browse files
Merge "Remove unused VAR_BASED_FIXED_PARTITION flag"
parents
7bf47592
e1111fba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encodeframe.c
+3
-5
vp9/encoder/vp9_speed_features.h
vp9/encoder/vp9_speed_features.h
+3
-7
No files found.
vp9/encoder/vp9_encodeframe.c
View file @
06e65269
...
...
@@ -2572,16 +2572,15 @@ static void encode_rd_sb_row(VP9_COMP *cpi, const TileInfo *const tile,
sf
->
always_this_block_size
);
rd_use_partition
(
cpi
,
tile
,
mi
,
tp
,
mi_row
,
mi_col
,
BLOCK_64X64
,
&
dummy_rate
,
&
dummy_dist
,
1
,
cpi
->
pc_root
);
}
else
if
(
cpi
->
partition_search_skippable_frame
||
sf
->
partition_search_type
==
VAR_BASED_FIXED_PARTITION
)
{
}
else
if
(
cpi
->
partition_search_skippable_frame
)
{
BLOCK_SIZE
bsize
;
set_offsets
(
cpi
,
tile
,
mi_row
,
mi_col
,
BLOCK_64X64
);
bsize
=
get_rd_var_based_fixed_partition
(
cpi
,
mi_row
,
mi_col
);
set_fixed_partitioning
(
cpi
,
tile
,
mi
,
mi_row
,
mi_col
,
bsize
);
rd_use_partition
(
cpi
,
tile
,
mi
,
tp
,
mi_row
,
mi_col
,
BLOCK_64X64
,
&
dummy_rate
,
&
dummy_dist
,
1
,
cpi
->
pc_root
);
}
else
if
(
sf
->
partition_search_type
==
VAR_BASED_PARTITION
&&
cm
->
frame_type
!=
KEY_FRAME
)
{
}
else
if
(
sf
->
partition_search_type
==
VAR_BASED_PARTITION
&&
cm
->
frame_type
!=
KEY_FRAME
)
{
choose_partitioning
(
cpi
,
tile
,
mi_row
,
mi_col
);
rd_use_partition
(
cpi
,
tile
,
mi
,
tp
,
mi_row
,
mi_col
,
BLOCK_64X64
,
&
dummy_rate
,
&
dummy_dist
,
1
,
cpi
->
pc_root
);
...
...
@@ -3174,7 +3173,6 @@ static void encode_nonrd_sb_row(VP9_COMP *cpi, const TileInfo *const tile,
nonrd_use_partition
(
cpi
,
tile
,
mi
,
tp
,
mi_row
,
mi_col
,
BLOCK_64X64
,
1
,
&
dummy_rate
,
&
dummy_dist
,
cpi
->
pc_root
);
break
;
case
VAR_BASED_FIXED_PARTITION
:
case
FIXED_PARTITION
:
bsize
=
sf
->
partition_search_type
==
FIXED_PARTITION
?
sf
->
always_this_block_size
:
...
...
vp9/encoder/vp9_speed_features.h
View file @
06e65269
...
...
@@ -149,16 +149,12 @@ typedef enum {
typedef
enum
{
// Search partitions using RD/NONRD criterion
SEARCH_PARTITION
=
0
,
SEARCH_PARTITION
,
// Always use a fixed size partition
FIXED_PARTITION
=
1
,
FIXED_PARTITION
,
// Use a fixed size partition in every 64X64 SB, where the size is
// determined based on source variance
VAR_BASED_FIXED_PARTITION
=
2
,
REFERENCE_PARTITION
=
3
,
REFERENCE_PARTITION
,
// Use an arbitrary partitioning scheme based on source variance within
// a 64X64 SB
...
...
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