summaryrefslogtreecommitdiff
path: root/libavcodec/aacps.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-07-25 13:10:25 -0300
committerJames Almer <jamrial@gmail.com>2015-07-30 19:01:15 -0300
commit9dcaae70f2f3ef27a2f0f8fee92114ea5e8847fb (patch)
treebd53f8eb61d24910e6bc619d1e02b08d3269c682 /libavcodec/aacps.c
parentd2077c860e56a5c0239fc5d1699e31ae127b2706 (diff)
downloadffmpeg-9dcaae70f2f3ef27a2f0f8fee92114ea5e8847fb.tar.gz
x86/aacpsdsp: add SSE and SSE3 optimized functions
Between 1.5 and 2.5 times faster Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/aacps.c')
-rw-r--r--libavcodec/aacps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aacps.c b/libavcodec/aacps.c
index 664330d3b9..1165d9be3f 100644
--- a/libavcodec/aacps.c
+++ b/libavcodec/aacps.c
@@ -936,8 +936,8 @@ static void stereo_processing(PSContext *ps, INTFLOAT (*l)[32][2], INTFLOAT (*r)
H22[0][e+1][b] = h22;
}
for (k = 0; k < NR_BANDS[is34]; k++) {
- INTFLOAT h[2][4];
- INTFLOAT h_step[2][4];
+ LOCAL_ALIGNED_16(INTFLOAT, h, [2], [4]);
+ LOCAL_ALIGNED_16(INTFLOAT, h_step, [2], [4]);
int start = ps->border_position[e];
int stop = ps->border_position[e+1];
INTFLOAT width = Q30(1.f) / (stop - start);