Mercurial > libavcodec.hg
comparison mpeg4data.h @ 10830:34739b965809 libavcodec
Make some tables static again, i mistakely thought they would be used in several
places.
| author | michael |
|---|---|
| date | Sat, 09 Jan 2010 17:22:37 +0000 |
| parents | d1fe22d92a65 |
| children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
| 10829:46a247e54d6e | 10830:34739b965809 |
|---|---|
| 159 {0x0803, 12},{0x1002, 13},{0x1003, 13},{0x1FF9, 14}, | 159 {0x0803, 12},{0x1002, 13},{0x1003, 13},{0x1FF9, 14}, |
| 160 {0x2002, 14},{0x2003, 14},{0x3EFC, 15},{0x3EFD, 15}, | 160 {0x2002, 14},{0x2003, 14},{0x3EFC, 15},{0x3EFD, 15}, |
| 161 {0x3F7C, 15},{0x3F7D, 15},{0x0000, 4} | 161 {0x3F7C, 15},{0x3F7D, 15},{0x0000, 4} |
| 162 }; | 162 }; |
| 163 | 163 |
| 164 const int8_t inter_rvlc_run[169]={ | 164 static const int8_t inter_rvlc_run[169]={ |
| 165 0, 0, 0, 0, 0, 0, 0, 0, | 165 0, 0, 0, 0, 0, 0, 0, 0, |
| 166 0, 0, 0, 0, 0, 0, 0, 0, | 166 0, 0, 0, 0, 0, 0, 0, 0, |
| 167 0, 0, 0, 1, 1, 1, 1, 1, | 167 0, 0, 0, 1, 1, 1, 1, 1, |
| 168 1, 1, 1, 1, 1, 2, 2, 2, | 168 1, 1, 1, 1, 1, 2, 2, 2, |
| 169 2, 2, 2, 2, 3, 3, 3, 3, | 169 2, 2, 2, 2, 3, 3, 3, 3, |
| 184 27, 28, 29, 30, 31, 32, 33, 34, | 184 27, 28, 29, 30, 31, 32, 33, 34, |
| 185 35, 36, 37, 38, 39, 40, 41, 42, | 185 35, 36, 37, 38, 39, 40, 41, 42, |
| 186 43, 44, | 186 43, 44, |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 const int8_t inter_rvlc_level[169]={ | 189 static const int8_t inter_rvlc_level[169]={ |
| 190 1, 2, 3, 4, 5, 6, 7, 8, | 190 1, 2, 3, 4, 5, 6, 7, 8, |
| 191 9, 10, 11, 12, 13, 14, 15, 16, | 191 9, 10, 11, 12, 13, 14, 15, 16, |
| 192 17, 18, 19, 1, 2, 3, 4, 5, | 192 17, 18, 19, 1, 2, 3, 4, 5, |
| 193 6, 7, 8, 9, 10, 1, 2, 3, | 193 6, 7, 8, 9, 10, 1, 2, 3, |
| 194 4, 5, 6, 7, 1, 2, 3, 4, | 194 4, 5, 6, 7, 1, 2, 3, 4, |
| 263 {0x0803, 12},{0x1002, 13},{0x1003, 13},{0x1FF9, 14}, | 263 {0x0803, 12},{0x1002, 13},{0x1003, 13},{0x1FF9, 14}, |
| 264 {0x2002, 14},{0x2003, 14},{0x3EFC, 15},{0x3EFD, 15}, | 264 {0x2002, 14},{0x2003, 14},{0x3EFC, 15},{0x3EFD, 15}, |
| 265 {0x3F7C, 15},{0x3F7D, 15},{0x0000, 4} | 265 {0x3F7C, 15},{0x3F7D, 15},{0x0000, 4} |
| 266 }; | 266 }; |
| 267 | 267 |
| 268 const int8_t intra_rvlc_run[169]={ | 268 static const int8_t intra_rvlc_run[169]={ |
| 269 0, 0, 0, 0, 0, 0, 0, 0, | 269 0, 0, 0, 0, 0, 0, 0, 0, |
| 270 0, 0, 0, 0, 0, 0, 0, 0, | 270 0, 0, 0, 0, 0, 0, 0, 0, |
| 271 0, 0, 0, 0, 0, 0, 0, 0, | 271 0, 0, 0, 0, 0, 0, 0, 0, |
| 272 0, 0, 0, 1, 1, 1, 1, 1, | 272 0, 0, 0, 1, 1, 1, 1, 1, |
| 273 1, 1, 1, 1, 1, 1, 1, 1, | 273 1, 1, 1, 1, 1, 1, 1, 1, |
| 288 27, 28, 29, 30, 31, 32, 33, 34, | 288 27, 28, 29, 30, 31, 32, 33, 34, |
| 289 35, 36, 37, 38, 39, 40, 41, 42, | 289 35, 36, 37, 38, 39, 40, 41, 42, |
| 290 43, 44, | 290 43, 44, |
| 291 }; | 291 }; |
| 292 | 292 |
| 293 const int8_t intra_rvlc_level[169]={ | 293 static const int8_t intra_rvlc_level[169]={ |
| 294 1, 2, 3, 4, 5, 6, 7, 8, | 294 1, 2, 3, 4, 5, 6, 7, 8, |
| 295 9, 10, 11, 12, 13, 14, 15, 16, | 295 9, 10, 11, 12, 13, 14, 15, 16, |
| 296 17, 18, 19, 20, 21, 22, 23, 24, | 296 17, 18, 19, 20, 21, 22, 23, 24, |
| 297 25, 26, 27, 1, 2, 3, 4, 5, | 297 25, 26, 27, 1, 2, 3, 4, 5, |
| 298 6, 7, 8, 9, 10, 11, 12, 13, | 298 6, 7, 8, 9, 10, 11, 12, 13, |
