FFmpeg
|
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 27 of file tx_template.c.
#define SR_POW2_TABLES |
Definition at line 30 of file tx_template.c.
#define SR_TABLE | ( | len | ) |
Definition at line 67 of file tx_template.c.
#define SR_TABLE | ( | len | ) | AV_ONCE_INIT, |
Definition at line 67 of file tx_template.c.
#define DECL_FFT5 | ( | NAME, | |
D0, | |||
D1, | |||
D2, | |||
D3, | |||
D4 | |||
) |
Definition at line 213 of file tx_template.c.
#define DECL_FACTOR_S | ( | n | ) |
Definition at line 498 of file tx_template.c.
#define DECL_FACTOR_F | ( | n | ) |
Definition at line 519 of file tx_template.c.
#define DECL_SR_CODELET_DEF | ( | n | ) |
Definition at line 601 of file tx_template.c.
#define DECL_SR_CODELET | ( | n, | |
n2, | |||
n4 | |||
) |
Definition at line 617 of file tx_template.c.
#define DECL_COMP_IMDCT | ( | N | ) |
Definition at line 1477 of file tx_template.c.
#define DECL_COMP_MDCT | ( | N | ) |
Definition at line 1539 of file tx_template.c.
#define DECL_RDFT | ( | n, | |
inv | |||
) |
Definition at line 1661 of file tx_template.c.
#define DECL_RDFT_HALF | ( | n, | |
mode, | |||
mod2 | |||
) |
Definition at line 1730 of file tx_template.c.
SR_POW2_TABLES TABLE_DEF | ( | 53 | , |
12 | |||
) |
TABLE_DEF | ( | 7 | , |
6 | |||
) |
TABLE_DEF | ( | 9 | , |
8 | |||
) |
|
static |
Definition at line 93 of file tx_template.c.
|
static |
Definition at line 112 of file tx_template.c.
|
static |
Definition at line 122 of file tx_template.c.
Definition at line 146 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 175 of file tx_template.c.
Referenced by fft15().
|
static |
Definition at line 254 of file tx_template.c.
|
static |
Definition at line 342 of file tx_template.c.
|
static |
Definition at line 467 of file tx_template.c.
|
static |
Definition at line 480 of file tx_template.c.
|
inlinestatic |
Definition at line 564 of file tx_template.c.
|
static |
Definition at line 590 of file tx_template.c.
|
static |
Definition at line 633 of file tx_template.c.
|
static |
Definition at line 645 of file tx_template.c.
Referenced by ff_tx_fft16_ns(), and ff_tx_fft8_ns().
|
static |
Definition at line 662 of file tx_template.c.
Referenced by ff_tx_fft16_ns().
|
static |
Definition at line 681 of file tx_template.c.
|
static |
Definition at line 730 of file tx_template.c.
Referenced by ff_tx_fft_inplace_small_init().
|
static |
Definition at line 756 of file tx_template.c.
|
static |
Definition at line 769 of file tx_template.c.
|
static |
Definition at line 786 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 852 of file tx_template.c.
|
static |
Definition at line 877 of file tx_template.c.
|
static |
Definition at line 904 of file tx_template.c.
|
static |
|
static |
|
static |
Definition at line 954 of file tx_template.c.
|
static |
Definition at line 1064 of file tx_template.c.
|
static |
Definition at line 1088 of file tx_template.c.
|
static |
|
static |
|
static |
Definition at line 1138 of file tx_template.c.
|
static |
Definition at line 1150 of file tx_template.c.
|
static |
Definition at line 1171 of file tx_template.c.
|
static |
|
static |
|
static |
Definition at line 1229 of file tx_template.c.
|
static |
Definition at line 1279 of file tx_template.c.
|
static |
Definition at line 1318 of file tx_template.c.
|
static |
|
static |
|
static |
Definition at line 1378 of file tx_template.c.
|
static |
Definition at line 1398 of file tx_template.c.
|
static |
|
static |
Definition at line 1431 of file tx_template.c.
|
static |
Definition at line 1607 of file tx_template.c.
|
static |
Definition at line 1836 of file tx_template.c.
|
static |
Definition at line 1879 of file tx_template.c.
|
static |
Definition at line 1939 of file tx_template.c.
|
static |
|
static |
|
static |
Definition at line 2010 of file tx_template.c.
|
static |
Definition at line 2042 of file tx_template.c.
|
static |
Definition at line 2060 of file tx_template.c.
|
static |
|
static |
int TX_TAB() ff_tx_mdct_gen_exp | ( | AVTXContext * | s, |
int * | pre_tab | ||
) |
Definition at line 2111 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 81 of file tx_template.c.
Referenced by ff_tx_init_tabs().
|
static |
Definition at line 87 of file tx_template.c.
Referenced by ff_tx_init_tabs().
|
static |
Definition at line 134 of file tx_template.c.
Referenced by ff_tx_init_tabs().
|
static |
Definition at line 140 of file tx_template.c.
Referenced by ff_tx_init_tabs().