summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-31 23:31:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-31 23:42:46 +0200
commit1046b6b09326f143f0785cbec461dc7726eece8c (patch)
tree2665d4e0b230ba1f9c10e74e7482ad8d96ba171c /libavutil
parentda9a6f4a2b9a3d0ab2224923b2e8f984d928791e (diff)
downloadffmpeg-1046b6b09326f143f0785cbec461dc7726eece8c.tar.gz
avutil/ppc/float_dsp_init: Disable duplicate functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/ppc/float_dsp_init.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/libavutil/ppc/float_dsp_init.c b/libavutil/ppc/float_dsp_init.c
index c10d7fb281..1d490bd94c 100644
--- a/libavutil/ppc/float_dsp_init.c
+++ b/libavutil/ppc/float_dsp_init.c
@@ -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;
}
}
+
+ // The disabled function below are near identical to altivec and have
+ // been disabled to reduce code duplication
if (PPC_VSX(av_get_cpu_flags())) {
- fdsp->vector_fmul = ff_vector_fmul_vsx;
+// 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;
+// fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_vsx;
- if (!bit_exact) {
- fdsp->vector_fmul_window = ff_vector_fmul_window_vsx;
- }
+// if (!bit_exact) {
+// fdsp->vector_fmul_window = ff_vector_fmul_window_vsx;
+// }
}
}