mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: float_dsp: Replace arch optimization ifdefs by if cascade Conflicts: libavutil/float_dsp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
cd1d4b51e3
@ -127,17 +127,16 @@ av_cold void avpriv_float_dsp_init(AVFloatDSPContext *fdsp, int bit_exact)
|
||||
fdsp->butterflies_float = butterflies_float_c;
|
||||
fdsp->scalarproduct_float = avpriv_scalarproduct_float_c;
|
||||
|
||||
#if ARCH_AARCH64
|
||||
ff_float_dsp_init_aarch64(fdsp);
|
||||
#elif ARCH_ARM
|
||||
ff_float_dsp_init_arm(fdsp);
|
||||
#elif ARCH_PPC
|
||||
ff_float_dsp_init_ppc(fdsp, bit_exact);
|
||||
#elif ARCH_X86
|
||||
ff_float_dsp_init_x86(fdsp);
|
||||
#elif ARCH_MIPS
|
||||
ff_float_dsp_init_mips(fdsp);
|
||||
#endif
|
||||
if (ARCH_AARCH64)
|
||||
ff_float_dsp_init_aarch64(fdsp);
|
||||
if (ARCH_ARM)
|
||||
ff_float_dsp_init_arm(fdsp);
|
||||
if (ARCH_PPC)
|
||||
ff_float_dsp_init_ppc(fdsp, bit_exact);
|
||||
if (ARCH_X86)
|
||||
ff_float_dsp_init_x86(fdsp);
|
||||
if (ARCH_MIPS)
|
||||
ff_float_dsp_init_mips(fdsp);
|
||||
}
|
||||
|
||||
#ifdef TEST
|
||||
|
Loading…
x
Reference in New Issue
Block a user