diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2013-01-06 23:47:30 -0500 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-01-16 10:45:45 +0100 |
commit | e034cc6c60c77dce390b1ac31141b1862bdf8999 (patch) | |
tree | e61443e9c6413b1b92107e932c1d79a9717e16be /libavcodec/twinvq.c | |
parent | a7ba3244131d96d9ab7a99ef30dc7276efd05cc7 (diff) | |
download | ffmpeg-e034cc6c60c77dce390b1ac31141b1862bdf8999.tar.gz |
lavc: Move vector_fmul_window to AVFloatDSPContext
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/twinvq.c')
-rw-r--r-- | libavcodec/twinvq.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c index 8989469237..b59031bdb9 100644 --- a/libavcodec/twinvq.c +++ b/libavcodec/twinvq.c @@ -650,11 +650,10 @@ static void imdct_and_window(TwinContext *tctx, enum FrameType ftype, int wtype, mdct->imdct_half(mdct, buf1 + bsize*j, in + bsize*j); - tctx->dsp.vector_fmul_window(out2, - prev_buf + (bsize-wsize)/2, - buf1 + bsize*j, - ff_sine_windows[av_log2(wsize)], - wsize/2); + tctx->fdsp.vector_fmul_window(out2, prev_buf + (bsize-wsize) / 2, + buf1 + bsize * j, + ff_sine_windows[av_log2(wsize)], + wsize / 2); out2 += wsize; memcpy(out2, buf1 + bsize*j + wsize/2, (bsize - wsize/2)*sizeof(float)); |