FFmpeg
|
#include "mem.h"
Go to the source code of this file.
Data Structures | |
struct | FFTabInitData |
Macros | |
#define | TABLE_DEF(name, size) DECLARE_ALIGNED(32, TXSample, TX_TAB(ff_tx_tab_ ##name))[size] |
#define | SR_POW2_TABLES |
#define | SR_TABLE(len) TABLE_DEF(len, len/4 + 1); |
#define | SR_TABLE(len) |
#define | SR_TABLE(len) TX_TAB(ff_tx_init_tab_ ##len), |
#define | SR_TABLE(len) AV_ONCE_INIT, |
#define | DECL_FFT5(NAME, D0, D1, D2, D3, D4) |
#define | DECL_FACTOR_S(n) |
#define | DECL_FACTOR_F(n) |
#define | BUTTERFLIES(a0, a1, a2, a3) |
#define | TRANSFORM(a0, a1, a2, a3, wre, wim) |
#define | DECL_SR_CODELET_DEF(n) |
#define | DECL_SR_CODELET(n, n2, n4) |
#define | DECL_COMP_IMDCT(N) |
#define | DECL_COMP_MDCT(N) |
#define | DECL_RDFT(n, inv) |
#define | DECL_RDFT_HALF(n, mode, mod2) |
Functions | |
SR_POW2_TABLES | TABLE_DEF (53, 12) |
TABLE_DEF (7, 6) | |
TABLE_DEF (9, 8) | |
static av_cold void TX_TAB() | ff_tx_init_tab_53 (void) |
static av_cold void TX_TAB() | ff_tx_init_tab_7 (void) |
static av_cold void TX_TAB() | ff_tx_init_tab_9 (void) |
av_cold void TX_TAB() | ff_tx_init_tabs (int len) |
static av_always_inline void | fft3 (TXComplex *out, TXComplex *in, ptrdiff_t stride) |
static av_always_inline void | fft7 (TXComplex *out, TXComplex *in, ptrdiff_t stride) |
static av_always_inline void | fft9 (TXComplex *out, TXComplex *in, ptrdiff_t stride) |
static av_always_inline void | fft15 (TXComplex *out, TXComplex *in, ptrdiff_t stride) |
static av_cold int TX_NAME() | ff_tx_fft_factor_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static void TX_NAME() | ff_tx_fft_sr_combine (TXComplex *z, const TXSample *cos, int len) |
static av_cold int TX_NAME() | ff_tx_fft_sr_codelet_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static void TX_NAME() | ff_tx_fft2_ns (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static void TX_NAME() | ff_tx_fft4_ns (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static void TX_NAME() | ff_tx_fft8_ns (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static void TX_NAME() | ff_tx_fft16_ns (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static av_cold int TX_NAME() | ff_tx_fft_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static av_cold int TX_NAME() | ff_tx_fft_inplace_small_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static void TX_NAME() | ff_tx_fft (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static void TX_NAME() | ff_tx_fft_inplace (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static const FFTXCodelet | TX_NAME (ff_tx_fft_def) |
static const FFTXCodelet | TX_NAME (ff_tx_fft_inplace_small_def) |
static const FFTXCodelet | TX_NAME (ff_tx_fft_inplace_def) |
static av_cold int TX_NAME() | ff_tx_fft_init_naive_small (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static void TX_NAME() | ff_tx_fft_naive (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static void TX_NAME() | ff_tx_fft_naive_small (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static const FFTXCodelet | TX_NAME (ff_tx_fft_naive_small_def) |
static const FFTXCodelet | TX_NAME (ff_tx_fft_naive_def) |
static av_cold int TX_NAME() | ff_tx_fft_pfa_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static void TX_NAME() | ff_tx_fft_pfa (AVTXContext *s, void *_out, void *_in, ptrdiff_t stride) |
static void TX_NAME() | ff_tx_fft_pfa_ns (AVTXContext *s, void *_out, void *_in, ptrdiff_t stride) |
static const FFTXCodelet | TX_NAME (ff_tx_fft_pfa_def) |
static const FFTXCodelet | TX_NAME (ff_tx_fft_pfa_ns_def) |
static av_cold int TX_NAME() | ff_tx_mdct_naive_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static void TX_NAME() | ff_tx_mdct_naive_fwd (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static void TX_NAME() | ff_tx_mdct_naive_inv (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static const FFTXCodelet | TX_NAME (ff_tx_mdct_naive_fwd_def) |
static const FFTXCodelet | TX_NAME (ff_tx_mdct_naive_inv_def) |
static av_cold int TX_NAME() | ff_tx_mdct_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static void TX_NAME() | ff_tx_mdct_fwd (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static void TX_NAME() | ff_tx_mdct_inv (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static const FFTXCodelet | TX_NAME (ff_tx_mdct_fwd_def) |
static const FFTXCodelet | TX_NAME (ff_tx_mdct_inv_def) |
static av_cold int TX_NAME() | ff_tx_mdct_inv_full_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static void TX_NAME() | ff_tx_mdct_inv_full (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static const FFTXCodelet | TX_NAME (ff_tx_mdct_inv_full_def) |
static av_cold int TX_NAME() | ff_tx_mdct_pfa_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static av_cold int TX_NAME() | ff_tx_rdft_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static av_cold int TX_NAME() | ff_tx_dct_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static void TX_NAME() | ff_tx_dctII (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static void TX_NAME() | ff_tx_dctIII (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static const FFTXCodelet | TX_NAME (ff_tx_dctII_def) |
static const FFTXCodelet | TX_NAME (ff_tx_dctIII_def) |
static av_cold int TX_NAME() | ff_tx_dcstI_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static void TX_NAME() | ff_tx_dctI (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static void TX_NAME() | ff_tx_dstI (AVTXContext *s, void *_dst, void *_src, ptrdiff_t stride) |
static const FFTXCodelet | TX_NAME (ff_tx_dctI_def) |
static const FFTXCodelet | TX_NAME (ff_tx_dstI_def) |
int TX_TAB() | ff_tx_mdct_gen_exp (AVTXContext *s, int *pre_tab) |
const FFTXCodelet *const | TX_NAME (ff_tx_codelet_list)[] |
Variables | |
static SR_POW2_TABLES void(*const | sr_tabs_init_funcs [])(void) |
static AVOnce | sr_tabs_init_once [] |
static const FFTabInitData | nptwo_tabs_init_data [] |
static AVOnce | nptwo_tabs_init_once [] |
#define TABLE_DEF | ( | name, | |
size | |||
) | DECLARE_ALIGNED(32, TXSample, TX_TAB(ff_tx_tab_ ##name))[size] |
Definition at line 29 of file tx_template.c.
#define SR_POW2_TABLES |
Definition at line 32 of file tx_template.c.
#define SR_TABLE | ( | len | ) |
Definition at line 69 of file tx_template.c.
#define SR_TABLE | ( | len | ) | AV_ONCE_INIT, |
Definition at line 69 of file tx_template.c.
#define DECL_FFT5 | ( | NAME, | |
D0, | |||
D1, | |||
D2, | |||
D3, | |||
D4 | |||
) |
Definition at line 215 of file tx_template.c.
#define DECL_FACTOR_S | ( | n | ) |
Definition at line 500 of file tx_template.c.
#define DECL_FACTOR_F | ( | n | ) |
Definition at line 521 of file tx_template.c.
#define DECL_SR_CODELET_DEF | ( | n | ) |
Definition at line 603 of file tx_template.c.
#define DECL_SR_CODELET | ( | n, | |
n2, | |||
n4 | |||
) |
Definition at line 619 of file tx_template.c.
#define DECL_COMP_IMDCT | ( | N | ) |
Definition at line 1479 of file tx_template.c.
#define DECL_COMP_MDCT | ( | N | ) |
Definition at line 1541 of file tx_template.c.
#define DECL_RDFT | ( | n, | |
inv | |||
) |
Definition at line 1663 of file tx_template.c.
#define DECL_RDFT_HALF | ( | n, | |
mode, | |||
mod2 | |||
) |
Definition at line 1732 of file tx_template.c.
SR_POW2_TABLES TABLE_DEF | ( | 53 | , |
12 | |||
) |
TABLE_DEF | ( | 7 | , |
6 | |||
) |
TABLE_DEF | ( | 9 | , |
8 | |||
) |
|
static |
Definition at line 95 of file tx_template.c.
|
static |
Definition at line 114 of file tx_template.c.
|
static |
Definition at line 124 of file tx_template.c.
av_cold void TX_TAB() ff_tx_init_tabs | ( | int | len | ) |
Definition at line 148 of file tx_template.c.
Referenced by factor_init(), ff_tx_fft_factor_init(), ff_tx_fft_sr_codelet_init(), ff_tx_mdct_pfa_init(), and fft_pfa_init().
|
static |
Definition at line 177 of file tx_template.c.
Referenced by fft15().
|
static |
Definition at line 256 of file tx_template.c.
|
static |
Definition at line 344 of file tx_template.c.
|
static |
Definition at line 469 of file tx_template.c.
|
static |
Definition at line 482 of file tx_template.c.
|
inlinestatic |
Definition at line 566 of file tx_template.c.
|
static |
Definition at line 592 of file tx_template.c.
|
static |
Definition at line 635 of file tx_template.c.
|
static |
Definition at line 647 of file tx_template.c.
Referenced by ff_tx_fft16_ns(), and ff_tx_fft8_ns().
|
static |
Definition at line 664 of file tx_template.c.
Referenced by ff_tx_fft16_ns().
|
static |
Definition at line 683 of file tx_template.c.
|
static |
Definition at line 732 of file tx_template.c.
Referenced by ff_tx_fft_inplace_small_init().
|
static |
Definition at line 758 of file tx_template.c.
|
static |
Definition at line 771 of file tx_template.c.
|
static |
Definition at line 788 of file tx_template.c.
|
static |
Referenced by ff_tx_fft16_ns(), ff_tx_fft8_ns(), and ff_tx_fft_inplace_small_init().
|
static |
|
static |
|
static |
Definition at line 854 of file tx_template.c.
|
static |
Definition at line 879 of file tx_template.c.
|
static |
Definition at line 906 of file tx_template.c.
|
static |
|
static |
|
static |
Definition at line 956 of file tx_template.c.
|
static |
Definition at line 1066 of file tx_template.c.
|
static |
Definition at line 1090 of file tx_template.c.
|
static |
|
static |
|
static |
Definition at line 1140 of file tx_template.c.
|
static |
Definition at line 1152 of file tx_template.c.
|
static |
Definition at line 1173 of file tx_template.c.
|
static |
|
static |
|
static |
Definition at line 1231 of file tx_template.c.
|
static |
Definition at line 1281 of file tx_template.c.
|
static |
Definition at line 1320 of file tx_template.c.
|
static |
|
static |
|
static |
Definition at line 1380 of file tx_template.c.
|
static |
Definition at line 1400 of file tx_template.c.
|
static |
|
static |
Definition at line 1433 of file tx_template.c.
|
static |
Definition at line 1609 of file tx_template.c.
|
static |
Definition at line 1838 of file tx_template.c.
|
static |
Definition at line 1881 of file tx_template.c.
|
static |
Definition at line 1941 of file tx_template.c.
|
static |
|
static |
|
static |
Definition at line 2012 of file tx_template.c.
|
static |
Definition at line 2044 of file tx_template.c.
|
static |
Definition at line 2062 of file tx_template.c.
|
static |
|
static |
int TX_TAB() ff_tx_mdct_gen_exp | ( | AVTXContext * | s, |
int * | pre_tab | ||
) |
Definition at line 2113 of file tx_template.c.
Referenced by ff_tx_mdct_init(), and ff_tx_mdct_pfa_init().
const FFTXCodelet* const TX_NAME | ( | ff_tx_codelet_list | ) |
|
static |
Definition at line 83 of file tx_template.c.
Referenced by ff_tx_init_tabs().
|
static |
Definition at line 89 of file tx_template.c.
Referenced by ff_tx_init_tabs().
|
static |
Definition at line 136 of file tx_template.c.
Referenced by ff_tx_init_tabs().
|
static |
Definition at line 142 of file tx_template.c.
Referenced by ff_tx_init_tabs().