diff options
author | James Almer <jamrial@gmail.com> | 2017-07-20 15:37:36 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-08-01 00:33:03 -0300 |
commit | 8f2f166c99df9d0fcfdabe3adb2041f9fa3bfaa2 (patch) | |
tree | 68a2c26b18a6758febf5a3a7ae87264327c68784 /libavcodec/atrac3plus.h | |
parent | b664d1f3ffbce07c206d679cc09a1fd29955de44 (diff) | |
download | ffmpeg-8f2f166c99df9d0fcfdabe3adb2041f9fa3bfaa2.tar.gz |
avcodec/atrac3p: use float_dsp in ff_atrac3p_power_compensation
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/atrac3plus.h')
-rw-r--r-- | libavcodec/atrac3plus.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/atrac3plus.h b/libavcodec/atrac3plus.h index a33c38a3ee..3c39e293c7 100644 --- a/libavcodec/atrac3plus.h +++ b/libavcodec/atrac3plus.h @@ -199,13 +199,14 @@ void ff_atrac3p_generate_tones(Atrac3pChanUnitCtx *ch_unit, AVFloatDSPContext *f * Perform power compensation aka noise dithering. * * @param[in] ctx ptr to the channel context + * @param[in] fdsp pointer to float DSP context * @param[in] ch_index which channel to process * @param[in,out] sp ptr to channel spectrum to process * @param[in] rng_index indicates which RNG table to use * @param[in] sb_num which subband to process */ -void ff_atrac3p_power_compensation(Atrac3pChanUnitCtx *ctx, int ch_index, - float *sp, int rng_index, int sb_num); +void ff_atrac3p_power_compensation(Atrac3pChanUnitCtx *ctx, AVFloatDSPContext *fdsp, + int ch_index, float *sp, int rng_index, int sb_num); /** * Regular IMDCT and windowing without overlapping, |