|
|
|
@ -23,6 +23,7 @@ |
|
|
|
|
#include "libavutil/attributes.h" |
|
|
|
|
#include "libavutil/cpu.h" |
|
|
|
|
#include "libavutil/internal.h" |
|
|
|
|
#include "libavutil/ppc/cpu.h" |
|
|
|
|
#include "libavutil/ppc/util_altivec.h" |
|
|
|
|
#include "libavcodec/mpegaudiodsp.h" |
|
|
|
|
|
|
|
|
@ -132,7 +133,7 @@ static void apply_window_mp3(float *in, float *win, int *unused, float *out, |
|
|
|
|
av_cold void ff_mpadsp_init_ppc(MPADSPContext *s) |
|
|
|
|
{ |
|
|
|
|
#if HAVE_ALTIVEC |
|
|
|
|
if (!(av_get_cpu_flags() & AV_CPU_FLAG_ALTIVEC)) |
|
|
|
|
if (!PPC_ALTIVEC(av_get_cpu_flags())) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
s->apply_window_float = apply_window_mp3; |
|
|
|
|