comparison h263data.h @ 4180:85e1f5ceb97e libavcodec

make more tables static
author mru
date Sun, 12 Nov 2006 23:14:20 +0000
parents c8c591fe26f8
children 4394344397d8
comparison
equal deleted inserted replaced
4179:46d38e3d7038 4180:85e1f5ceb97e
86 0, //stuffing 86 0, //stuffing
87 MB_TYPE_INTRA4x4 | MB_TYPE_CBP, 87 MB_TYPE_INTRA4x4 | MB_TYPE_CBP,
88 MB_TYPE_INTRA4x4 | MB_TYPE_CBP | MB_TYPE_QUANT, 88 MB_TYPE_INTRA4x4 | MB_TYPE_CBP | MB_TYPE_QUANT,
89 }; 89 };
90 90
91 const uint8_t cbpc_b_tab[4][2] = { 91 static const uint8_t cbpc_b_tab[4][2] = {
92 {0, 1}, 92 {0, 1},
93 {2, 2}, 93 {2, 2},
94 {7, 3}, 94 {7, 3},
95 {6, 3}, 95 {6, 3},
96 }; 96 };
178 inter_vlc, 178 inter_vlc,
179 inter_run, 179 inter_run,
180 inter_level, 180 inter_level,
181 }; 181 };
182 182
183 const uint16_t intra_vlc_aic[103][2] = { 183 static const uint16_t intra_vlc_aic[103][2] = {
184 { 0x2, 2 }, { 0x6, 3 }, { 0xe, 4 }, { 0xc, 5 }, 184 { 0x2, 2 }, { 0x6, 3 }, { 0xe, 4 }, { 0xc, 5 },
185 { 0xd, 5 }, { 0x10, 6 }, { 0x11, 6 }, { 0x12, 6 }, 185 { 0xd, 5 }, { 0x10, 6 }, { 0x11, 6 }, { 0x12, 6 },
186 { 0x16, 7 }, { 0x1b, 8 }, { 0x20, 9 }, { 0x21, 9 }, 186 { 0x16, 7 }, { 0x1b, 8 }, { 0x20, 9 }, { 0x21, 9 },
187 { 0x1a, 9 }, { 0x1b, 9 }, { 0x1c, 9 }, { 0x1d, 9 }, 187 { 0x1a, 9 }, { 0x1b, 9 }, { 0x1c, 9 }, { 0x1d, 9 },
188 { 0x1e, 9 }, { 0x1f, 9 }, { 0x23, 11 }, { 0x22, 11 }, 188 { 0x1e, 9 }, { 0x1f, 9 }, { 0x23, 11 }, { 0x22, 11 },
207 { 0x19, 9 }, { 0x15, 9 }, { 0x16, 9 }, { 0x18, 9 }, 207 { 0x19, 9 }, { 0x15, 9 }, { 0x16, 9 }, { 0x18, 9 },
208 { 0x17, 9 }, { 0x4, 11 }, { 0x5, 11 }, { 0x58, 12 }, 208 { 0x17, 9 }, { 0x4, 11 }, { 0x5, 11 }, { 0x58, 12 },
209 { 0x59, 12 }, { 0x5a, 12 }, { 0x3, 7 }, 209 { 0x59, 12 }, { 0x5a, 12 }, { 0x3, 7 },
210 }; 210 };
211 211
212 const int8_t intra_run_aic[102] = { 212 static const int8_t intra_run_aic[102] = {
213 0, 0, 0, 0, 0, 0, 0, 0, 213 0, 0, 0, 0, 0, 0, 0, 0,
214 0, 0, 0, 0, 0, 0, 0, 0, 214 0, 0, 0, 0, 0, 0, 0, 0,
215 0, 0, 0, 0, 0, 0, 0, 0, 215 0, 0, 0, 0, 0, 0, 0, 0,
216 0, 1, 1, 1, 1, 1, 1, 1, 216 0, 1, 1, 1, 1, 1, 1, 1,
217 2, 2, 2, 2, 3, 3, 3, 3, 217 2, 2, 2, 2, 3, 3, 3, 3,
223 5, 5, 6, 6, 7, 7, 8, 9, 223 5, 5, 6, 6, 7, 7, 8, 9,
224 10, 11, 12, 13, 14, 15, 16, 17, 224 10, 11, 12, 13, 14, 15, 16, 17,
225 18, 19, 20, 21, 22, 23, 225 18, 19, 20, 21, 22, 23,
226 }; 226 };
227 227
228 const int8_t intra_level_aic[102] = { 228 static const int8_t intra_level_aic[102] = {
229 1, 2, 3, 4, 5, 6, 7, 8, 229 1, 2, 3, 4, 5, 6, 7, 8,
230 9, 10, 11, 12, 13, 14, 15, 16, 230 9, 10, 11, 12, 13, 14, 15, 16,
231 17, 18, 19, 20, 21, 22, 23, 24, 231 17, 18, 19, 20, 21, 22, 23, 24,
232 25, 1, 2, 3, 4, 5, 6, 7, 232 25, 1, 2, 3, 4, 5, 6, 7,
233 1, 2, 3, 4, 1, 2, 3, 4, 233 1, 2, 3, 4, 1, 2, 3, 4,