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
1dfc717b
Commit
1dfc717b
authored
Jun 14, 2013
by
John Koleszar
Committed by
Gerrit Code Review
Jun 14, 2013
Browse files
Merge "Avoid inverse transform/recon without residual"
parents
4ad96115
a5657f2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/decoder/vp9_decodframe.c
View file @
1dfc717b
...
...
@@ -270,6 +270,10 @@ static void decode_block_intra(int plane, int block, BLOCK_SIZE_TYPE bsize,
vp9_predict_intra_block
(
xd
,
tx_ib
,
plane_b_size
,
tx_size
,
b_mode
,
dst
,
xd
->
plane
[
plane
].
dst
.
stride
);
// Early exit if there are no coefficients
if
(
xd
->
mode_info_context
->
mbmi
.
mb_skip_coeff
)
return
;
switch
(
ss_txfrm_size
/
2
)
{
case
TX_4X4
:
tx_type
=
plane
==
0
?
get_tx_type_4x4
(
xd
,
raster_block
)
:
DCT_DCT
;
...
...
@@ -318,8 +322,9 @@ static void decode_atom(VP9D_COMP *pbi, MACROBLOCKD *xd,
if
(
!
vp9_reader_has_error
(
r
))
{
vp9_decode_tokens
(
pbi
,
xd
,
r
,
bsize
);
}
foreach_transformed_block
(
xd
,
bsize
,
decode_block
,
xd
);
}
foreach_transformed_block
(
xd
,
bsize
,
decode_block
,
xd
);
}
static
void
decode_sb_intra
(
VP9D_COMP
*
pbi
,
MACROBLOCKD
*
xd
,
...
...
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