Mercurial > libavcodec.hg
comparison vp8data.h @ 12343:a18ab740d2db libavcodec
VP8: eliminate a dereference in coefficient decoding
author | darkshikari |
---|---|
date | Mon, 02 Aug 2010 22:48:38 +0000 |
parents | e84378ff89ca |
children | db60aff8eeef |
comparison
equal
deleted
inserted
replaced
12342:b4c63ffd959b | 12343:a18ab740d2db |
---|---|
312 { 1, 2 }, | 312 { 1, 2 }, |
313 { -0, -1 }, // '00', '01' | 313 { -0, -1 }, // '00', '01' |
314 { -2, -3 }, // '10', '11' | 314 { -2, -3 }, // '10', '11' |
315 }; | 315 }; |
316 | 316 |
317 /* Padded by one byte to allow overreads */ | 317 static const uint8_t vp8_coeff_band[16] = |
318 static const uint8_t vp8_coeff_band[17] = | 318 { |
319 { | 319 0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7 |
320 0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0 | |
321 }; | 320 }; |
322 | 321 |
323 static const uint8_t vp8_dct_cat1_prob[] = { 159, 0 }; | 322 static const uint8_t vp8_dct_cat1_prob[] = { 159, 0 }; |
324 static const uint8_t vp8_dct_cat2_prob[] = { 165, 145, 0 }; | 323 static const uint8_t vp8_dct_cat2_prob[] = { 165, 145, 0 }; |
325 static const uint8_t vp8_dct_cat3_prob[] = { 173, 148, 140, 0 }; | 324 static const uint8_t vp8_dct_cat3_prob[] = { 173, 148, 140, 0 }; |