Moved mb_no_coeff_skip flag read
from vp8_decode_frame() to mb_mode_mv_init() Change-Id: I267fd764a4c826d62e6799dceb1b8fb5f97fde6d
This commit is contained in:
parent
08cf9faed0
commit
a082467891
@ -159,6 +159,9 @@ static void mb_mode_mv_init(VP8D_COMP *pbi)
|
||||
* outside the frame. */
|
||||
pbi->mvs_corrupt_from_mb = UINT_MAX;
|
||||
#endif
|
||||
/* Read the mb_no_coeff_skip flag */
|
||||
pbi->common.mb_no_coeff_skip = (int)vp8_read_bit(bc);
|
||||
|
||||
pbi->prob_skip_false = 0;
|
||||
if (pbi->common.mb_no_coeff_skip)
|
||||
pbi->prob_skip_false = (vp8_prob)vp8_read_literal(bc, 8);
|
||||
|
@ -1394,10 +1394,6 @@ int vp8_decode_frame(VP8D_COMP *pbi)
|
||||
/* clear out the coeff buffer */
|
||||
vpx_memset(xd->qcoeff, 0, sizeof(xd->qcoeff));
|
||||
|
||||
/* Read the mb_no_coeff_skip flag */
|
||||
pc->mb_no_coeff_skip = (int)vp8_read_bit(bc);
|
||||
|
||||
|
||||
vp8_decode_mode_mvs(pbi);
|
||||
|
||||
#if CONFIG_ERROR_CONCEALMENT
|
||||
|
Loading…
x
Reference in New Issue
Block a user