Mercurial > libavcodec.hg
comparison dcahuff.h @ 8076:b33be95359db libavcodec
Fix huffman coded dca samples.
author | banan |
---|---|
date | Tue, 28 Oct 2008 14:43:06 +0000 |
parents | c4a4495715dd |
children |
comparison
equal
deleted
inserted
replaced
8075:e71badf6877a | 8076:b33be95359db |
---|---|
1019 13, | 1019 13, |
1020 }; | 1020 }; |
1021 | 1021 |
1022 static const uint8_t bitalloc_sizes[10] = { 3, 5, 7, 9, 13, 17, 25, 33, 65, 129 }; | 1022 static const uint8_t bitalloc_sizes[10] = { 3, 5, 7, 9, 13, 17, 25, 33, 65, 129 }; |
1023 | 1023 |
1024 static const uint8_t bitalloc_offsets[10] = | 1024 static const int8_t bitalloc_offsets[10] = |
1025 { -1, -2, -3, -4, -6, -8, -12, -16, -32, -64 }; | 1025 { -1, -2, -3, -4, -6, -8, -12, -16, -32, -64 }; |
1026 | 1026 |
1027 static const uint8_t bitalloc_maxbits[10][7] = { | 1027 static const uint8_t bitalloc_maxbits[10][7] = { |
1028 { 2 }, | 1028 { 2 }, |
1029 { 4, 3, 3 }, | 1029 { 4, 3, 3 }, |