Mercurial > libavcodec.hg
changeset 7966:14a49e087126 libavcodec
filter_limit_values only needs 7 bits, make its tables smaller
author | conrad |
---|---|
date | Wed, 01 Oct 2008 14:40:29 +0000 |
parents | d4ae40057dd3 |
children | 6ac2c8312a2b |
files | vp3.c vp3data.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vp3.c Wed Oct 01 12:48:26 2008 +0000 +++ b/vp3.c Wed Oct 01 14:40:29 2008 +0000 @@ -230,7 +230,7 @@ int huff_code_size; uint16_t huffman_table[80][32][2]; - uint32_t filter_limit_values[64]; + uint8_t filter_limit_values[64]; int bounding_values_array[256]; } Vp3DecodeContext;
--- a/vp3data.h Wed Oct 01 12:48:26 2008 +0000 +++ b/vp3data.h Wed Oct 01 14:40:29 2008 +0000 @@ -84,7 +84,7 @@ 21, 19, 18, 17, 15, 13, 12, 10 }; -static const uint32_t vp31_filter_limit_values[64] = +static const uint8_t vp31_filter_limit_values[64] = { 30, 25, 20, 20, 15, 15, 14, 14, 13, 13, 12, 12, 11, 11, 10, 10, 9, 9, 8, 8, 7, 7, 7, 7,