summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2007-07-14 16:05:39 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2007-07-14 16:05:39 +0000
commitafb46fc092d68e1b6ac5ba438d075f405e453b22 (patch)
tree3cf9e77a149277fc088ad940f49d81ad009bce77
parentde17eee70f0ec36e9eaffa73e8f4b8ac08ad33ef (diff)
AC-3 decoder, soc revision 148, Sep 28 18:38:27 2006 UTC by banan
Enable sse imdct, patch by Loren Merrit. Originally committed as revision 9672 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ac3dec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 057c6019b3..1b3d6059ef 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -1617,8 +1617,8 @@ static void do_imdct_256(AC3DecodeContext *ctx, int chindex)
x2[k] = ctx->transform_coeffs[chindex][2 * k + 1];
}
- ff_imdct_calc(&ctx->imdct_256, ctx->tmp_output, x1, ctx->tmp_imdct);
- ff_imdct_calc(&ctx->imdct_256, ctx->tmp_output + 256, x2, ctx->tmp_imdct);
+ ctx->imdct_256.fft.imdct_calc(&ctx->imdct_256, ctx->tmp_output, x1, ctx->tmp_imdct);
+ ctx->imdct_256.fft.imdct_calc(&ctx->imdct_256, ctx->tmp_output + 256, x2, ctx->tmp_imdct);
o_ptr = ctx->output[chindex];
d_ptr = ctx->delay[chindex];
@@ -1646,8 +1646,8 @@ static void do_imdct_512(AC3DecodeContext *ctx, int chindex)
{
float *ptr;
- ff_imdct_calc(&ctx->imdct_512, ctx->tmp_output,
- ctx->transform_coeffs[chindex], ctx->tmp_imdct);
+ ctx->imdct_512.fft.imdct_calc(&ctx->imdct_512, ctx->tmp_output,
+ ctx->transform_coeffs[chindex], ctx->tmp_imdct);
ptr = ctx->output[chindex];
ctx->dsp.vector_fmul_add_add(ptr, ctx->tmp_output, ctx->window, ctx->delay[chindex], 384, BLOCK_SIZE, 1);
ptr = ctx->delay[chindex];