libavcodec/ppc/fft_altivec.c File Reference

#include "libavcodec/fft.h"
#include "dsputil_ppc.h"
#include "util_altivec.h"
#include "dsputil_altivec.h"

Go to the source code of this file.

Functions

static void ff_fft_calc_altivec (FFTContext *s, FFTComplex *z)
 Do a complex FFT with the parameters defined in ff_fft_init().
av_cold void ff_fft_init_altivec (FFTContext *s)


Function Documentation

static void ff_fft_calc_altivec ( FFTContext s,
FFTComplex z 
) [static]

Do a complex FFT with the parameters defined in ff_fft_init().

The input data must be permuted before with s->revtab table. No 1.0/sqrt(n) normalization is done. AltiVec-enabled This code assumes that the 'z' pointer is 16 bytes-aligned It also assumes all FFTComplex are 8 bytes-aligned pair of float The code is exactly the same as the SSE version, except that successive MUL + ADD/SUB have been merged into fused multiply-add ('vec_madd' in altivec)

Definition at line 39 of file fft_altivec.c.

Referenced by ff_fft_init_altivec().

av_cold void ff_fft_init_altivec ( FFTContext s  ) 

Definition at line 139 of file fft_altivec.c.

Referenced by ff_fft_init().


Generated on Fri Oct 26 02:36:53 2012 for FFmpeg by  doxygen 1.5.8