[FFmpeg-cvslog] r15499 - in trunk/libavcodec: vp3.c vp3data.h
conrad
subversion
Wed Oct 1 16:40:29 CEST 2008
Author: conrad
Date: Wed Oct 1 16:40:29 2008
New Revision: 15499
Log:
filter_limit_values only needs 7 bits, make its tables smaller
Modified:
trunk/libavcodec/vp3.c
trunk/libavcodec/vp3data.h
Modified: trunk/libavcodec/vp3.c
==============================================================================
--- trunk/libavcodec/vp3.c (original)
+++ trunk/libavcodec/vp3.c Wed Oct 1 16:40:29 2008
@@ -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;
Modified: trunk/libavcodec/vp3data.h
==============================================================================
--- trunk/libavcodec/vp3data.h (original)
+++ trunk/libavcodec/vp3data.h Wed Oct 1 16:40:29 2008
@@ -84,7 +84,7 @@ static const uint32_t vp31_ac_scale_fact
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,
More information about the ffmpeg-cvslog
mailing list