diff options
author | David Conrad <lessen42@gmail.com> | 2008-10-17 03:18:08 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2008-10-17 03:18:08 +0000 |
commit | 357f45d9bc532180bde2204ff6f03adf881d12d5 (patch) | |
tree | 10f5914401a6035c124b45e38eaeb0a06800feec /libavcodec/vp3.c | |
parent | 75083a884fca82cade9e701d17b272a27c4b75a4 (diff) | |
download | ffmpeg-streaming-357f45d9bc532180bde2204ff6f03adf881d12d5.zip ffmpeg-streaming-357f45d9bc532180bde2204ff6f03adf881d12d5.tar.gz |
MMX VP3 Loop Filter
Originally committed as revision 15630 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 9dd7055..a5b97ad 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -229,7 +229,7 @@ typedef struct Vp3DecodeContext { uint16_t huffman_table[80][32][2]; uint8_t filter_limit_values[64]; - int bounding_values_array[256]; + DECLARE_ALIGNED_8(int, bounding_values_array[256+2]); } Vp3DecodeContext; /************************************************************************ @@ -533,6 +533,7 @@ static void init_loop_filter(Vp3DecodeContext *s) bounding_values[x] = x; bounding_values[x + filter_limit] = filter_limit - x; } + bounding_values[129] = bounding_values[130] = filter_limit * 0x02020202; } /* |