You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avutil/ppc/float_dsp_init: Disable duplicate functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -37,13 +37,16 @@ av_cold void ff_float_dsp_init_ppc(AVFloatDSPContext *fdsp, int bit_exact)
|
|||||||
fdsp->vector_fmul_window = ff_vector_fmul_window_altivec;
|
fdsp->vector_fmul_window = ff_vector_fmul_window_altivec;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (PPC_VSX(av_get_cpu_flags())) {
|
|
||||||
fdsp->vector_fmul = ff_vector_fmul_vsx;
|
|
||||||
fdsp->vector_fmul_add = ff_vector_fmul_add_vsx;
|
|
||||||
fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_vsx;
|
|
||||||
|
|
||||||
if (!bit_exact) {
|
// The disabled function below are near identical to altivec and have
|
||||||
fdsp->vector_fmul_window = ff_vector_fmul_window_vsx;
|
// been disabled to reduce code duplication
|
||||||
}
|
if (PPC_VSX(av_get_cpu_flags())) {
|
||||||
|
// fdsp->vector_fmul = ff_vector_fmul_vsx;
|
||||||
|
fdsp->vector_fmul_add = ff_vector_fmul_add_vsx;
|
||||||
|
// fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_vsx;
|
||||||
|
|
||||||
|
// if (!bit_exact) {
|
||||||
|
// fdsp->vector_fmul_window = ff_vector_fmul_window_vsx;
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user