comparison mpegaudiodec_float.c @ 12026:3f3d08bb5cf8 libavcodec

More mp{1,2,3} 32-point DCT transform to our common DCT framework. Should allow for future SIMD optimizations.
author vitor
date Wed, 30 Jun 2010 20:11:27 +0000
parents 5e8770f9d8f1
children 49c528a39187
comparison
equal deleted inserted replaced
12025:2d730a4acc77 12026:3f3d08bb5cf8
32 int offset; 32 int offset;
33 33
34 offset = *synth_buf_offset; 34 offset = *synth_buf_offset;
35 synth_buf = synth_buf_ptr + offset; 35 synth_buf = synth_buf_ptr + offset;
36 36
37 dct32(synth_buf, sb_samples); 37 s->dct.dct32(synth_buf, sb_samples);
38 s->apply_window_mp3(synth_buf, window, dither_state, samples, incr); 38 s->apply_window_mp3(synth_buf, window, dither_state, samples, incr);
39 39
40 offset = (offset - 32) & 511; 40 offset = (offset - 32) & 511;
41 *synth_buf_offset = offset; 41 *synth_buf_offset = offset;
42 } 42 }