"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libavutil/ppc/float_dsp_init.c" between
libav-11.7.tar.gz and libav-11.8.tar.gz

About: libav provides cross-platform tools ("avconv") and libraries to convert, manipulate and stream a wide range of multimedia (audio and video) formats and protocols.

float_dsp_init.c  (libav-11.7):float_dsp_init.c  (libav-11.8)
skipping to change at line 32 skipping to change at line 32
#include "libavutil/attributes.h" #include "libavutil/attributes.h"
#include "libavutil/cpu.h" #include "libavutil/cpu.h"
#include "libavutil/float_dsp.h" #include "libavutil/float_dsp.h"
#include "libavutil/ppc/cpu.h" #include "libavutil/ppc/cpu.h"
#include "float_dsp_altivec.h" #include "float_dsp_altivec.h"
av_cold void ff_float_dsp_init_ppc(AVFloatDSPContext *fdsp, int bit_exact) av_cold void ff_float_dsp_init_ppc(AVFloatDSPContext *fdsp, int bit_exact)
{ {
if (!PPC_ALTIVEC(av_get_cpu_flags())) if (!PPC_ALTIVEC(av_get_cpu_flags()))
return; return;
#if HAVE_BIGENDIAN
fdsp->vector_fmul = ff_vector_fmul_altivec; fdsp->vector_fmul = ff_vector_fmul_altivec;
fdsp->vector_fmul_add = ff_vector_fmul_add_altivec; fdsp->vector_fmul_add = ff_vector_fmul_add_altivec;
fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_altivec; fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_altivec;
if (!bit_exact) { if (!bit_exact) {
fdsp->vector_fmul_window = ff_vector_fmul_window_altivec; fdsp->vector_fmul_window = ff_vector_fmul_window_altivec;
} }
#endif
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS