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
0c846f66
Commit
0c846f66
authored
Nov 11, 2011
by
Yaowu Xu
Committed by
On2 (Google) Code Review
Nov 11, 2011
Browse files
Merge "fixed the decoder when using 8x8 transform" into experimental
parents
982b061d
7189198d
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/decoder/decodframe.c
View file @
0c846f66
...
...
@@ -393,34 +393,18 @@ static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd,
((
int
*
)
b
->
qcoeff
)[
0
]
=
0
;
}
}
}
else
if
(
mode
==
SPLITMV
)
{
#if CONFIG_T8X8
if
(
tx_type
==
TX_8X8
)
{
DEQUANT_INVOKE
(
&
pbi
->
dequant
,
idct_add_y_block_8x8
)
(
xd
->
qcoeff
,
xd
->
block
[
0
].
dequant
,
xd
->
predictor
,
xd
->
dst
.
y_buffer
,
xd
->
dst
.
y_stride
,
xd
->
eobs
,
xd
);
}
else
#endif
{
DEQUANT_INVOKE
(
&
pbi
->
dequant
,
idct_add_y_block
)
(
xd
->
qcoeff
,
xd
->
block
[
0
].
dequant
,
xd
->
predictor
,
xd
->
dst
.
y_buffer
,
xd
->
dst
.
y_stride
,
xd
->
eobs
);
}
DEQUANT_INVOKE
(
&
pbi
->
dequant
,
idct_add_y_block
)
(
xd
->
qcoeff
,
xd
->
block
[
0
].
dequant
,
xd
->
predictor
,
xd
->
dst
.
y_buffer
,
xd
->
dst
.
y_stride
,
xd
->
eobs
);
}
else
{
BLOCKD
*
b
=
&
xd
->
block
[
24
];
DEQUANT_INVOKE
(
&
pbi
->
dequant
,
block
)(
b
);
/* do 2nd order transform on the dc block */
#if CONFIG_T8X8
if
(
tx_type
==
TX_8X8
)
{
...
...
@@ -455,6 +439,7 @@ static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd,
else
#endif
{
DEQUANT_INVOKE
(
&
pbi
->
dequant
,
block
)(
b
);
if
(
xd
->
eobs
[
24
]
>
1
)
{
IDCT_INVOKE
(
RTCD_VTABLE
(
idct
),
iwalsh16
)(
&
b
->
dqcoeff
[
0
],
b
->
diff
);
...
...
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