Mercurial > libavcodec.hg
comparison h264.c @ 4007:33d3d4ab9f59 libavcodec
int->uint8_t for 2 tables
author | michael |
---|---|
date | Thu, 12 Oct 2006 12:27:02 +0000 |
parents | 34fdffe98bd0 |
children | b636f3d59283 |
comparison
equal
deleted
inserted
replaced
4006:986d6651a452 | 4007:33d3d4ab9f59 |
---|---|
6046 { 338+0, 338+15, 338+29, 338+44, 338+47, 451 } | 6046 { 338+0, 338+15, 338+29, 338+44, 338+47, 451 } |
6047 }; | 6047 }; |
6048 static const int coeff_abs_level_m1_offset[6] = { | 6048 static const int coeff_abs_level_m1_offset[6] = { |
6049 227+0, 227+10, 227+20, 227+30, 227+39, 426 | 6049 227+0, 227+10, 227+20, 227+30, 227+39, 426 |
6050 }; | 6050 }; |
6051 static const int significant_coeff_flag_offset_8x8[2][63] = { | 6051 static const uint8_t significant_coeff_flag_offset_8x8[2][63] = { |
6052 { 0, 1, 2, 3, 4, 5, 5, 4, 4, 3, 3, 4, 4, 4, 5, 5, | 6052 { 0, 1, 2, 3, 4, 5, 5, 4, 4, 3, 3, 4, 4, 4, 5, 5, |
6053 4, 4, 4, 4, 3, 3, 6, 7, 7, 7, 8, 9,10, 9, 8, 7, | 6053 4, 4, 4, 4, 3, 3, 6, 7, 7, 7, 8, 9,10, 9, 8, 7, |
6054 7, 6,11,12,13,11, 6, 7, 8, 9,14,10, 9, 8, 6,11, | 6054 7, 6,11,12,13,11, 6, 7, 8, 9,14,10, 9, 8, 6,11, |
6055 12,13,11, 6, 9,14,10, 9,11,12,13,11,14,10,12 }, | 6055 12,13,11, 6, 9,14,10, 9,11,12,13,11,14,10,12 }, |
6056 { 0, 1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 7, 7, 8, 4, 5, | 6056 { 0, 1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 7, 7, 8, 4, 5, |
6057 6, 9,10,10, 8,11,12,11, 9, 9,10,10, 8,11,12,11, | 6057 6, 9,10,10, 8,11,12,11, 9, 9,10,10, 8,11,12,11, |
6058 9, 9,10,10, 8,11,12,11, 9, 9,10,10, 8,13,13, 9, | 6058 9, 9,10,10, 8,11,12,11, 9, 9,10,10, 8,13,13, 9, |
6059 9,10,10, 8,13,13, 9, 9,10,10,14,14,14,14,14 } | 6059 9,10,10, 8,13,13, 9, 9,10,10,14,14,14,14,14 } |
6060 }; | 6060 }; |
6061 static const int last_coeff_flag_offset_8x8[63] = { | 6061 static const uint8_t last_coeff_flag_offset_8x8[63] = { |
6062 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 6062 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
6063 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | 6063 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
6064 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, | 6064 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, |
6065 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8 | 6065 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8 |
6066 }; | 6066 }; |