]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
filter_limit_values only needs 7 bits, make its tables smaller
authorconrad <conrad@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 1 Oct 2008 14:40:29 +0000 (14:40 +0000)
committerconrad <conrad@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 1 Oct 2008 14:40:29 +0000 (14:40 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15499 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/vp3.c
libavcodec/vp3data.h

index 60ba027d102eb283318f66fcdc1d86bffeb4a4ae..b291cb1189d13a50084e41edbd592a98d437e525 100644 (file)
@@ -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;
 
index 9f8588db6ec5187c2843ce3671efe5b74bd273b8..904ec6abf58073e2c031bb67c09ab6f873cdab9d 100644 (file)
@@ -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,