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
Xiph.Org
aom-rav1e
Commits
4bb70ea1
Commit
4bb70ea1
authored
May 08, 2014
by
Alex Converse
Browse files
Skip testing large tx sizes when encoding lossless.
Change-Id: Ib7a17893f6dc0f501b1252ae32804ede144dde37
parent
8d799940
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_rdopt.c
View file @
4bb70ea1
...
...
@@ -961,7 +961,7 @@ static void inter_super_block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate,
vp9_subtract_plane
(
x
,
bs
,
0
);
if
(
cpi
->
sf
.
tx_size_search_method
==
USE_LARGESTALL
)
{
if
(
cpi
->
sf
.
tx_size_search_method
==
USE_LARGESTALL
||
xd
->
lossless
)
{
vpx_memset
(
txfm_cache
,
0
,
TX_MODES
*
sizeof
(
int64_t
));
choose_largest_txfm_size
(
cpi
,
x
,
rate
,
distortion
,
skip
,
sse
,
ref_best_rd
,
bs
);
...
...
@@ -999,7 +999,7 @@ static void intra_super_block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate,
MB_MODE_INFO
*
const
mbmi
=
&
xd
->
mi
[
0
]
->
mbmi
;
assert
(
bs
==
mbmi
->
sb_type
);
if
(
cpi
->
sf
.
tx_size_search_method
!=
USE_FULL_RD
)
{
if
(
cpi
->
sf
.
tx_size_search_method
!=
USE_FULL_RD
||
xd
->
lossless
)
{
vpx_memset
(
txfm_cache
,
0
,
TX_MODES
*
sizeof
(
int64_t
));
choose_largest_txfm_size
(
cpi
,
x
,
rate
,
distortion
,
skip
,
sse
,
ref_best_rd
,
bs
);
...
...
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