Mercurial > libavcodec.hg
comparison mpeg12data.h @ 4180:85e1f5ceb97e libavcodec
make more tables static
| author | mru |
|---|---|
| date | Sun, 12 Nov 2006 23:14:20 +0000 |
| parents | c8c591fe26f8 |
| children | 5464e5021a67 |
comparison
equal
deleted
inserted
replaced
| 4179:46d38e3d7038 | 4180:85e1f5ceb97e |
|---|---|
| 52 }; | 52 }; |
| 53 static const unsigned char vlc_dc_lum_bits[12] = { | 53 static const unsigned char vlc_dc_lum_bits[12] = { |
| 54 3, 2, 2, 3, 3, 4, 5, 6, 7, 8, 9, 9, | 54 3, 2, 2, 3, 3, 4, 5, 6, 7, 8, 9, 9, |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 const uint16_t vlc_dc_chroma_code[12] = { | 57 static const uint16_t vlc_dc_chroma_code[12] = { |
| 58 0x0, 0x1, 0x2, 0x6, 0xe, 0x1e, 0x3e, 0x7e, 0xfe, 0x1fe, 0x3fe, 0x3ff, | 58 0x0, 0x1, 0x2, 0x6, 0xe, 0x1e, 0x3e, 0x7e, 0xfe, 0x1fe, 0x3fe, 0x3ff, |
| 59 }; | 59 }; |
| 60 const unsigned char vlc_dc_chroma_bits[12] = { | 60 static const unsigned char vlc_dc_chroma_bits[12] = { |
| 61 2, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, | 61 2, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 static const uint16_t mpeg1_vlc[113][2] = { | 64 static const uint16_t mpeg1_vlc[113][2] = { |
| 65 { 0x3, 2 }, { 0x4, 4 }, { 0x5, 5 }, { 0x6, 7 }, | 65 { 0x3, 2 }, { 0x4, 4 }, { 0x5, 5 }, { 0x6, 7 }, |
