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
1d87f9c1
Commit
1d87f9c1
authored
Oct 15, 2012
by
Ronald S. Bultje
Browse files
Properly use chroma block object for chroma coefficient costing.
Change-Id: Ieb38c7aae91dbaca4a8add204fa84e1cfc459933
parent
e7881462
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/rdopt.c
View file @
1d87f9c1
...
...
@@ -647,11 +647,12 @@ static int cost_coeffs(MACROBLOCK *mb, BLOCKD *b, PLANE_TYPE type,
{
BLOCKD
*
bb
;
int
ib
=
(
b
-
xd
->
block
);
if
(
ib
>=
16
)
tx_type
=
DCT_DCT
;
ib
=
(
ib
&
8
)
+
((
ib
&
4
)
>>
1
);
bb
=
xd
->
block
+
ib
;
if
(
mbmi
->
mode_rdopt
==
I8X8_PRED
)
tx_type
=
bb
->
bmi
.
as_mode
.
tx_type
;
if
(
ib
<
16
)
{
ib
=
(
ib
&
8
)
+
((
ib
&
4
)
>>
1
);
bb
=
xd
->
block
+
ib
;
if
(
mbmi
->
mode_rdopt
==
I8X8_PRED
)
tx_type
=
bb
->
bmi
.
as_mode
.
tx_type
;
}
}
#endif
break
;
...
...
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