FFmpeg
4.4.6
|
FFT/IFFT transforms. More...
#include <stdlib.h>
#include <string.h>
#include "libavutil/mathematics.h"
#include "libavutil/thread.h"
#include "fft.h"
#include "fft-internal.h"
#include "fft_table.h"
Go to the source code of this file.
Macros | |
#define | PROCESS_FFT_PERM_SWAP_LSBS(num) |
#define | PROCESS_FFT_PERM_DEFAULT(num) |
#define | SPLIT_RADIX_PERMUTATION(num) |
Functions | |
static void | fft_permute_c (FFTContext *s, FFTComplex *z) |
static void | fft_calc_c (FFTContext *s, FFTComplex *z) |
static int | split_radix_permutation (int i, int n, int inverse) |
static int | is_second_half_of_fft32 (int i, int n) |
static av_cold void | fft_perm_avx (FFTContext *s) |
av_cold int | ff_fft_init (FFTContext *s, int nbits, int inverse) |
Set up a complex FFT. More... | |
av_cold void | ff_fft_end (FFTContext *s) |
Variables | |
static const int | avx_tab [] |
FFT/IFFT transforms.
Definition in file fft_template.c.
#define PROCESS_FFT_PERM_SWAP_LSBS | ( | num | ) |
#define PROCESS_FFT_PERM_DEFAULT | ( | num | ) |
#define SPLIT_RADIX_PERMUTATION | ( | num | ) |
|
static |
Definition at line 293 of file fft_template.c.
Referenced by ff_fft_init().
|
static |
Definition at line 317 of file fft_template.c.
Referenced by ff_fft_init().
Definition at line 144 of file fft_template.c.
Referenced by ff_tx_gen_ptwo_revtab(), and fft_perm_avx().
Definition at line 160 of file fft_template.c.
Referenced by fft_perm_avx().
|
static |
Definition at line 172 of file fft_template.c.
Referenced by ff_fft_init().
av_cold int ff_fft_init | ( | FFTContext * | s, |
int | nbits, | ||
int | inverse | ||
) |
Set up a complex FFT.
nbits | log2 of the length of the input array |
inverse | if 0 perform the forward transform, if 1 perform the inverse |
Definition at line 194 of file fft_template.c.
av_cold void ff_fft_end | ( | FFTContext * | s | ) |
Definition at line 308 of file fft_template.c.
|
static |
Definition at line 156 of file fft_template.c.
Referenced by fft_perm_avx().