diff options
author | Lynne <dev@lynne.ee> | 2022-10-30 11:14:15 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2022-11-06 14:39:36 +0100 |
commit | e0661fc805a30b7c5cef682f179d113ac1934f9f (patch) | |
tree | 84a40cd5b4f47825a12744a0505404656de377e5 /libavcodec/dcadsp.c | |
parent | 2689038f08f5c4d0f1c7ae467feafda6704cfe54 (diff) | |
download | ffmpeg-e0661fc805a30b7c5cef682f179d113ac1934f9f.tar.gz |
dca_core: convert to lavu/tx
Thanks to Martin Storsjö <martin@martin.st> for fixing and testing the
arm32 and aarch64 changes.
Diffstat (limited to 'libavcodec/dcadsp.c')
-rw-r--r-- | libavcodec/dcadsp.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libavcodec/dcadsp.c b/libavcodec/dcadsp.c index d7e0328c88..5ad1f644f2 100644 --- a/libavcodec/dcadsp.c +++ b/libavcodec/dcadsp.c @@ -114,7 +114,8 @@ static void lfe_x96_float_c(float *dst, const float *src, } static void sub_qmf32_float_c(SynthFilterContext *synth, - FFTContext *imdct, + AVTXContext *imdct, + av_tx_fn imdct_fn, float *pcm_samples, int32_t **subband_samples_lo, int32_t **subband_samples_hi, @@ -137,13 +138,14 @@ static void sub_qmf32_float_c(SynthFilterContext *synth, // One subband sample generates 32 interpolated ones synth->synth_filter_float(imdct, hist1, offset, hist2, filter_coeff, - pcm_samples, input, scale); + pcm_samples, input, scale, imdct_fn); pcm_samples += 32; } } static void sub_qmf64_float_c(SynthFilterContext *synth, - FFTContext *imdct, + AVTXContext *imdct, + av_tx_fn imdct_fn, float *pcm_samples, int32_t **subband_samples_lo, int32_t **subband_samples_hi, @@ -186,7 +188,7 @@ static void sub_qmf64_float_c(SynthFilterContext *synth, // One subband sample generates 64 interpolated ones synth->synth_filter_float_64(imdct, hist1, offset, hist2, filter_coeff, - pcm_samples, input, scale); + pcm_samples, input, scale, imdct_fn); pcm_samples += 64; } } |