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
Guillaume Martres
aom-rav1e
Commits
bcaba2e5
Commit
bcaba2e5
authored
Oct 15, 2012
by
Ronald S. Bultje
Committed by
Gerrit Code Review
Oct 15, 2012
Browse files
Merge "Properly use chroma block object for chroma coefficient costing." into experimental
parents
4dfa7589
1d87f9c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/rdopt.c
View file @
bcaba2e5
...
...
@@ -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
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