diff options
author | David Conrad <lessen42@gmail.com> | 2008-10-01 14:40:29 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2008-10-01 14:40:29 +0000 |
commit | 51ace5777ec505a07d627abdbfc53ce140ca74f6 (patch) | |
tree | 3c782ef507488cf66d0eec0ade8ad91eb78320bf /libavcodec | |
parent | b07e52a9557a14bb8b6fa19a96ca5d6912fe8561 (diff) | |
download | ffmpeg-51ace5777ec505a07d627abdbfc53ce140ca74f6.tar.gz |
filter_limit_values only needs 7 bits, make its tables smaller
Originally committed as revision 15499 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vp3.c | 2 | ||||
-rw-r--r-- | libavcodec/vp3data.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 60ba027d10..b291cb1189 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -230,7 +230,7 @@ typedef struct Vp3DecodeContext { 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; diff --git a/libavcodec/vp3data.h b/libavcodec/vp3data.h index 9f8588db6e..904ec6abf5 100644 --- a/libavcodec/vp3data.h +++ b/libavcodec/vp3data.h @@ -84,7 +84,7 @@ static const uint32_t vp31_ac_scale_factor[64] = 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, |