Mercurial > libavcodec.hg
comparison vc9data.h @ 2456:c446c53677f3 libavcodec
mention table duplications, note, please avoid duplicating tables!
| author | michael |
|---|---|
| date | Sun, 23 Jan 2005 22:10:55 +0000 |
| parents | 96da66323faa |
| children | 1bae913cb46c |
comparison
equal
deleted
inserted
replaced
| 2455:d74d342cabb9 | 2456:c446c53677f3 |
|---|---|
| 84 { 4, 4, 4, 4, 4, 4, 5, 4, 4, 5, 4, 4, 4, 4, 4, 3}, | 84 { 4, 4, 4, 4, 4, 4, 5, 4, 4, 5, 4, 4, 4, 4, 4, 3}, |
| 85 { 2, 4, 4, 4, 4, 4, 5, 5, 4, 5, 4, 5, 4, 5, 5, 4} | 85 { 2, 4, 4, 4, 4, 4, 5, 5, 4, 5, 4, 5, 4, 5, 5, 4} |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 /* I-Picture CBPCY VLC tables */ | 88 /* I-Picture CBPCY VLC tables */ |
| 89 //same as msmpeg4 table_mb_intra | |
| 89 static const uint16_t vc9_cbpcy_i_codes[64] = { | 90 static const uint16_t vc9_cbpcy_i_codes[64] = { |
| 90 1, 23, 9, 5, 6, 71, 32, 16, | 91 1, 23, 9, 5, 6, 71, 32, 16, |
| 91 2, 124, 58, 29, 2, 236, 119, 0, | 92 2, 124, 58, 29, 2, 236, 119, 0, |
| 92 3, 183, 44, 19, 1, 360, 70, 63, | 93 3, 183, 44, 19, 1, 360, 70, 63, |
| 93 30, 1810, 181, 66, 34, 453, 286, 135, | 94 30, 1810, 181, 66, 34, 453, 286, 135, |
| 308 6, 7, 10, 8, 8, 8, 7, 7, 4 /* 73 elements */ | 309 6, 7, 10, 8, 8, 8, 7, 7, 4 /* 73 elements */ |
| 309 } | 310 } |
| 310 }; | 311 }; |
| 311 | 312 |
| 312 /* DC luma differentials low+hi-mo, p217 */ | 313 /* DC luma differentials low+hi-mo, p217 */ |
| 314 //same as msmpeg4 table0/1_dc_lum | |
| 313 static const uint32_t vc9_luma_dc_codes[2][120] = { | 315 static const uint32_t vc9_luma_dc_codes[2][120] = { |
| 314 { | 316 { |
| 315 1, 1, 1, 1, 5, 7, 8, 12, | 317 1, 1, 1, 1, 5, 7, 8, 12, |
| 316 0, 2, 18, 26, 3, 7, 39, 55, | 318 0, 2, 18, 26, 3, 7, 39, 55, |
| 317 5, 76, 108, 109, 8, 25, 155, 27, | 319 5, 76, 108, 109, 8, 25, 155, 27, |
