mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-25 09:51:06 +08:00
VP8: simplify token_prob handling
~1.5% faster decode_block_coeffs Originally committed as revision 24659 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -314,9 +314,10 @@ static const int8_t vp8_segmentid_tree[][2] =
|
||||
{ -2, -3 }, // '10', '11'
|
||||
};
|
||||
|
||||
static const uint8_t vp8_coeff_band[16] =
|
||||
/* Padded by one byte to allow overreads */
|
||||
static const uint8_t vp8_coeff_band[17] =
|
||||
{
|
||||
0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7
|
||||
0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0
|
||||
};
|
||||
|
||||
static const uint8_t vp8_dct_cat1_prob[] = { 159, 0 };
|
||||
|
||||
Reference in New Issue
Block a user