Mercurial > libavcodec.hg
changeset 5324:33e13333dc4d libavcodec
AC-3 decoder, soc revision 148, Sep 28 18:38:27 2006 UTC by banan
Enable sse imdct, patch by Loren Merrit.
author | jbr |
---|---|
date | Sat, 14 Jul 2007 16:05:39 +0000 |
parents | 4ba6d8132f36 |
children | 0d963101e0d7 |
files | ac3dec.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ac3dec.c Sat Jul 14 16:05:13 2007 +0000 +++ b/ac3dec.c Sat Jul 14 16:05:39 2007 +0000 @@ -1617,8 +1617,8 @@ 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 @@ { 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];