diff options
author | James Almer <jamrial@gmail.com> | 2016-01-24 23:52:19 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-01-25 14:57:38 -0300 |
commit | 209f50e16b5e66424d593ba4f9d4d8be5feff947 (patch) | |
tree | 6c1961c7a75a07ec7af466047d3bfe50edc09630 /libavcodec/arm/dcadsp_init_arm.c | |
parent | 5dc37a5d8abd18755c5a2cae0840c32579ec299c (diff) |
avcodec/synth_filter: split off remaining code from dcadec files
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/arm/dcadsp_init_arm.c')
-rw-r--r-- | libavcodec/arm/dcadsp_init_arm.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libavcodec/arm/dcadsp_init_arm.c b/libavcodec/arm/dcadsp_init_arm.c index 0f2e4c49c9..febb4445d2 100644 --- a/libavcodec/arm/dcadsp_init_arm.c +++ b/libavcodec/arm/dcadsp_init_arm.c @@ -37,18 +37,6 @@ void ff_dca_qmf_32_subbands_vfp(float samples_in[32][8], int sb_act, const float window[512], float *samples_out, float raXin[32], float scale); -void ff_synth_filter_float_vfp(FFTContext *imdct, - float *synth_buf_ptr, int *synth_buf_offset, - float synth_buf2[32], const float window[512], - float out[32], const float in[32], - float scale); - -void ff_synth_filter_float_neon(FFTContext *imdct, - float *synth_buf_ptr, int *synth_buf_offset, - float synth_buf2[32], const float window[512], - float out[32], const float in[32], - float scale); - av_cold void ff_dcadsp_init_arm(DCADSPContext *s) { int cpu_flags = av_get_cpu_flags(); @@ -63,13 +51,3 @@ av_cold void ff_dcadsp_init_arm(DCADSPContext *s) s->lfe_fir[1] = ff_dca_lfe_fir1_neon; } } - -av_cold void ff_synth_filter_init_arm(SynthFilterContext *s) -{ - int cpu_flags = av_get_cpu_flags(); - - if (have_vfp_vm(cpu_flags)) - s->synth_filter_float = ff_synth_filter_float_vfp; - if (have_neon(cpu_flags)) - s->synth_filter_float = ff_synth_filter_float_neon; -} |