Browse Source

filter_limit_values only needs 7 bits, make its tables smaller

Originally committed as revision 15499 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
David Conrad 17 years ago
parent
commit
51ace5777e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavcodec/vp3.c
  2. +1
    -1
      libavcodec/vp3data.h

+ 1
- 1
libavcodec/vp3.c View 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;



+ 1
- 1
libavcodec/vp3data.h View 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,


Loading…
Cancel
Save