diff options
author | Mans Rullgard <mans@mansr.com> | 2011-05-16 16:52:01 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-05-19 12:25:34 +0100 |
commit | c4f5c2d6f4ffa3f4b56555059000208a6ba47b55 (patch) | |
tree | f46c4f0d94a1e073ac0dae24fab4d1d972bcb2c6 /libavcodec/mpegaudiodec_float.c | |
parent | ea91e77127229015d23a046f1797d3fc6a33e54d (diff) | |
download | ffmpeg-c4f5c2d6f4ffa3f4b56555059000208a6ba47b55.tar.gz |
Move some mpegaudio functions to new mpegaudiodsp subsystem
This separation allows these functions to be used in a cleaner
fashion from other codecs (e.g. qdm2) and simplifies creating
optimised versions of them.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/mpegaudiodec_float.c')
-rw-r--r-- | libavcodec/mpegaudiodec_float.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libavcodec/mpegaudiodec_float.c b/libavcodec/mpegaudiodec_float.c index 0ef85d19c1..94463a824e 100644 --- a/libavcodec/mpegaudiodec_float.c +++ b/libavcodec/mpegaudiodec_float.c @@ -22,25 +22,6 @@ #define CONFIG_FLOAT 1 #include "mpegaudiodec.c" -void ff_mpa_synth_filter_float(MPADecodeContext *s, float *synth_buf_ptr, - int *synth_buf_offset, - float *window, int *dither_state, - float *samples, int incr, - float sb_samples[SBLIMIT]) -{ - float *synth_buf; - int offset; - - offset = *synth_buf_offset; - synth_buf = synth_buf_ptr + offset; - - s->dct.dct32(synth_buf, sb_samples); - s->apply_window_mp3(synth_buf, window, dither_state, samples, incr); - - offset = (offset - 32) & 511; - *synth_buf_offset = offset; -} - static void compute_antialias_float(MPADecodeContext *s, GranuleDef *g) { |