FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
fft_altivec.c File Reference
#include "config.h"
#include "libavutil/cpu.h"
#include "libavutil/ppc/cpu.h"
#include "libavutil/ppc/types_altivec.h"
#include "libavutil/ppc/util_altivec.h"
#include "libavcodec/fft.h"

Go to the source code of this file.

Functions

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

Function Documentation

void ff_fft_calc_altivec ( FFTContext s,
FFTComplex z 
)

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 pairs of floats.

void ff_fft_calc_interleave_altivec ( FFTContext s,
FFTComplex z 
)

Referenced by ff_fft_init_ppc().

av_cold void ff_fft_init_ppc ( FFTContext s)

Definition at line 152 of file fft_altivec.c.

Referenced by ff_fft_init().