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
Xiph.Org
aom-rav1e
Commits
8abd0c2a
Commit
8abd0c2a
authored
Jul 31, 2015
by
Aℓex Converse
Committed by
Gerrit Code Review
Jul 31, 2015
Browse files
Merge "Short circuit rate_block in block_rd_txfm."
parents
4ac5058a
73422d3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_rdopt.c
View file @
8abd0c2a
...
...
@@ -554,6 +554,12 @@ static void block_rd_txfm(int plane, int block, BLOCK_SIZE plane_bsize,
#endif // CONFIG_VP9_HIGHBITDEPTH
}
rd
=
RDCOST
(
x
->
rdmult
,
x
->
rddiv
,
0
,
dist
);
if
(
args
->
this_rd
+
rd
>
args
->
best_rd
)
{
args
->
exit_early
=
1
;
return
;
}
rate
=
rate_block
(
plane
,
block
,
plane_bsize
,
tx_size
,
args
);
rd1
=
RDCOST
(
x
->
rdmult
,
x
->
rddiv
,
rate
,
dist
);
rd2
=
RDCOST
(
x
->
rdmult
,
x
->
rddiv
,
0
,
sse
);
...
...
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