Skip to content
GitLab
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
4a8103d6
Commit
4a8103d6
authored
Jun 10, 2014
by
Dmitry Kovalev
Committed by
Gerrit Code Review
Jun 10, 2014
Browse files
Merge "Removing two unused TX_SIZE_SEARCH_METHOD members."
parents
cbce09ce
bc93f425
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_rdopt.c
View file @
4a8103d6
...
...
@@ -994,21 +994,13 @@ static void inter_super_block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate,
return
;
}
if
(
cpi
->
sf
.
tx_size_search_method
==
USE_LARGESTINTRA_MODELINTER
)
{
for
(
tx_size
=
TX_4X4
;
tx_size
<=
max_tx_size
;
++
tx_size
)
model_rd_for_sb_y_tx
(
cpi
,
bs
,
tx_size
,
x
,
xd
,
&
r
[
tx_size
][
0
],
&
d
[
tx_size
],
&
s
[
tx_size
]);
choose_txfm_size_from_modelrd
(
cpi
,
x
,
r
,
rate
,
d
,
distortion
,
s
,
skip
,
sse
,
ref_best_rd
,
bs
);
}
else
{
for
(
tx_size
=
TX_4X4
;
tx_size
<=
max_tx_size
;
++
tx_size
)
txfm_rd_in_plane
(
x
,
&
r
[
tx_size
][
0
],
&
d
[
tx_size
],
&
s
[
tx_size
],
&
sse
[
tx_size
],
ref_best_rd
,
0
,
bs
,
tx_size
,
cpi
->
sf
.
use_fast_coef_costing
);
choose_txfm_size_from_rd
(
cpi
,
x
,
r
,
rate
,
d
,
distortion
,
s
,
skip
,
txfm_cache
,
bs
);
}
for
(
tx_size
=
TX_4X4
;
tx_size
<=
max_tx_size
;
++
tx_size
)
txfm_rd_in_plane
(
x
,
&
r
[
tx_size
][
0
],
&
d
[
tx_size
],
&
s
[
tx_size
],
&
sse
[
tx_size
],
ref_best_rd
,
0
,
bs
,
tx_size
,
cpi
->
sf
.
use_fast_coef_costing
);
choose_txfm_size_from_rd
(
cpi
,
x
,
r
,
rate
,
d
,
distortion
,
s
,
skip
,
txfm_cache
,
bs
);
if
(
psse
)
*
psse
=
sse
[
mbmi
->
tx_size
];
}
...
...
vp9/encoder/vp9_speed_features.h
View file @
4a8103d6
...
...
@@ -56,8 +56,6 @@ typedef enum {
typedef
enum
{
USE_FULL_RD
=
0
,
USE_LARGESTINTRA
,
USE_LARGESTINTRA_MODELINTER
,
USE_LARGESTALL
,
USE_TX_8X8
}
TX_SIZE_SEARCH_METHOD
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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