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
Xiph.Org
aom-rav1e
Commits
4b5f01e1
Commit
4b5f01e1
authored
Oct 16, 2014
by
Jingning Han
Committed by
Gerrit Code Review
Oct 16, 2014
Browse files
Merge "Fix an ioc issue in super_block_uvrd"
parents
d86d834f
ed100c0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_rdopt.c
View file @
4b5f01e1
...
...
@@ -1140,12 +1140,14 @@ static int super_block_uvrd(const VP9_COMP *cpi, MACROBLOCK *x,
*
sse
=
0
;
*
skippable
=
1
;
for
(
plane
=
1
;
plane
<
MAX_MB_PLANE
&&
is_cost_valid
;
++
plane
)
{
for
(
plane
=
1
;
plane
<
MAX_MB_PLANE
;
++
plane
)
{
txfm_rd_in_plane
(
x
,
&
pnrate
,
&
pndist
,
&
pnskip
,
&
pnsse
,
ref_best_rd
,
plane
,
bsize
,
uv_tx_size
,
cpi
->
sf
.
use_fast_coef_costing
);
if
(
pnrate
==
INT_MAX
)
if
(
pnrate
==
INT_MAX
)
{
is_cost_valid
=
0
;
break
;
}
*
rate
+=
pnrate
;
*
distortion
+=
pndist
;
*
sse
+=
pnsse
;
...
...
Write
Preview
Supports
Markdown
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