summaryrefslogtreecommitdiff
path: root/libavcodec/vp3.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2008-10-17 03:18:08 +0000
committerDavid Conrad <lessen42@gmail.com>2008-10-17 03:18:08 +0000
commit357f45d9bc532180bde2204ff6f03adf881d12d5 (patch)
tree10f5914401a6035c124b45e38eaeb0a06800feec /libavcodec/vp3.c
parent75083a884fca82cade9e701d17b272a27c4b75a4 (diff)
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 9dd7055732..a5b97adb9e 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;
}
/*