summaryrefslogtreecommitdiff
path: root/libavcodec/vp3.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2004-04-25 03:33:30 +0000
committerMike Melanson <mike@multimedia.cx>2004-04-25 03:33:30 +0000
commit38acbc3cb97cae0c36023979215e94c659a41076 (patch)
treeef78ac6add10b0fe0ebcafcbedee9359a37e4215 /libavcodec/vp3.c
parent78a16bfec6d8b76be256b73b61b047c46766fa70 (diff)
hook up support for SSE2-optimized VP3 IDCT
Originally committed as revision 3064 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r--libavcodec/vp3.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index eadfd39b95..0667d99eb8 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -268,9 +268,11 @@ typedef struct Vp3DecodeContext {
VLC ac_vlc_3[16];
VLC ac_vlc_4[16];
- int16_t intra_y_dequant[64];
- int16_t intra_c_dequant[64];
- int16_t inter_dequant[64];
+ /* these arrays need to be on 16-byte boundaries since SSE2 operations
+ * index into them */
+ int16_t __align16 intra_y_dequant[64];
+ int16_t __align16 intra_c_dequant[64];
+ int16_t __align16 inter_dequant[64];
/* This table contains superblock_count * 16 entries. Each set of 16
* numbers corresponds to the fragment indices 0..15 of the superblock.