diff options
author | Mans Rullgard <mans@mansr.com> | 2011-05-17 13:07:08 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-05-17 20:17:36 +0100 |
commit | 4bac1bbc3bc6e102cd1e8bfd0a36db07d769dfea (patch) | |
tree | 9153af8d6c026a6fdc1b50891af9559d07848340 /libavcodec/mpc.c | |
parent | d0005d347d0831c904630fe70408c9fd4eec18e8 (diff) | |
download | ffmpeg-4bac1bbc3bc6e102cd1e8bfd0a36db07d769dfea.tar.gz |
mpegaudio: add _fixed suffix to some names
This adds a _fixed suffix to the fixed-point versions of things
with both float and fixed-point variants. This makes it more
consistent with other dual-implementation things, e.g. fft.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/mpc.c')
-rw-r--r-- | libavcodec/mpc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mpc.c b/libavcodec/mpc.c index 36e0f04539..15febefe0b 100644 --- a/libavcodec/mpc.c +++ b/libavcodec/mpc.c @@ -36,7 +36,7 @@ void ff_mpc_init(void) { - ff_mpa_synth_init(ff_mpa_synth_window); + ff_mpa_synth_init_fixed(ff_mpa_synth_window_fixed); } /** @@ -51,8 +51,8 @@ static void mpc_synth(MPCContext *c, int16_t *out, int channels) for(ch = 0; ch < channels; ch++){ samples_ptr = samples + ch; for(i = 0; i < SAMPLES_PER_BAND; i++) { - ff_mpa_synth_filter(c->synth_buf[ch], &(c->synth_buf_offset[ch]), - ff_mpa_synth_window, &dither_state, + ff_mpa_synth_filter_fixed(c->synth_buf[ch], &(c->synth_buf_offset[ch]), + ff_mpa_synth_window_fixed, &dither_state, samples_ptr, channels, c->sb_samples[ch][i]); samples_ptr += 32 * channels; |