comparison wmadec.c @ 3555:5ea82888103e libavcodec

3dnow2 implementation of imdct. 6% faster vorbis and wma.
author lorenm
date Tue, 08 Aug 2006 04:01:04 +0000
parents c43fcf831f7c
children 6a358dccf2ab
comparison
equal deleted inserted replaced
3554:ce5554dd79ce 3555:5ea82888103e
1111 float *ptr; 1111 float *ptr;
1112 int i, n4, index, n; 1112 int i, n4, index, n;
1113 1113
1114 n = s->block_len; 1114 n = s->block_len;
1115 n4 = s->block_len / 2; 1115 n4 = s->block_len / 2;
1116 ff_imdct_calc(&s->mdct_ctx[bsize], 1116 s->mdct_ctx[bsize].fft.imdct_calc(&s->mdct_ctx[bsize],
1117 output, s->coefs[ch], s->mdct_tmp); 1117 output, s->coefs[ch], s->mdct_tmp);
1118 1118
1119 /* XXX: optimize all that by build the window and 1119 /* XXX: optimize all that by build the window and
1120 multipying/adding at the same time */ 1120 multipying/adding at the same time */
1121 /* multiply by the window */ 1121 /* multiply by the window */