FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | TXCodeletMatch |
Macros | |
#define | TYPE_IS(type, x) |
Functions | |
static av_always_inline int | mulinv (int n, int m) |
int | ff_tx_gen_compound_mapping (AVTXContext *s, int n, int m) |
static int | split_radix_permutation (int i, int len, int inv) |
int | ff_tx_gen_ptwo_revtab (AVTXContext *s, int invert_lookup) |
int | ff_tx_gen_ptwo_inplace_revtab_idx (AVTXContext *s) |
static void | parity_revtab_generator (int *revtab, int n, int inv, int offset, int is_dual, int dual_high, int len, int basis, int dual_stride, int inv_lookup) |
int | ff_tx_gen_split_radix_parity_revtab (AVTXContext *s, int invert_lookup, int basis, int dual_stride) |
static void | reset_ctx (AVTXContext *s) |
av_cold void | av_tx_uninit (AVTXContext **ctx) |
Frees a context and sets *ctx to NULL, does nothing when *ctx == NULL. More... | |
static av_cold int | ff_tx_null_init (AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
static void | ff_tx_null (AVTXContext *s, void *_out, void *_in, ptrdiff_t stride) |
static void | print_flags (AVBPrint *bp, uint64_t f) |
static void | print_type (AVBPrint *bp, enum AVTXType type) |
static void | print_cd_info (const FFTXCodelet *cd, int prio, int print_prio) |
static void | print_tx_structure (AVTXContext *s, int depth) |
static int | cmp_matches (TXCodeletMatch *a, TXCodeletMatch *b) |
static int | check_cd_factors (const FFTXCodelet *cd, int len) |
av_cold int | ff_tx_init_subtx (AVTXContext *s, enum AVTXType type, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) |
av_cold int | av_tx_init (AVTXContext **ctx, av_tx_fn *tx, enum AVTXType type, int inv, int len, const void *scale, uint64_t flags) |
Initialize a transform context with the given configuration (i)MDCTs with an odd length are currently not supported. More... | |
Variables | |
static const FFTXCodelet | ff_tx_null_def |
static const FFTXCodelet *const | ff_tx_null_list [] |
#define TYPE_IS | ( | type, | |
x | |||
) |
|
static |
Definition at line 31 of file tx.c.
Referenced by ff_tx_gen_compound_mapping().
int ff_tx_gen_compound_mapping | ( | AVTXContext * | s, |
int | n, | ||
int | m | ||
) |
Definition at line 42 of file tx.c.
Referenced by ff_tx_fft_pfa_init(), and ff_tx_mdct_pfa_init().
Definition at line 96 of file tx.c.
Referenced by ff_tx_gen_ptwo_revtab(), and parity_revtab_generator().
int ff_tx_gen_ptwo_revtab | ( | AVTXContext * | s, |
int | invert_lookup | ||
) |
Definition at line 107 of file tx.c.
Referenced by ff_tx_fft_sr_codelet_init().
int ff_tx_gen_ptwo_inplace_revtab_idx | ( | AVTXContext * | s | ) |
Definition at line 125 of file tx.c.
Referenced by ff_tx_fft_sr_init().
|
static |
Definition at line 167 of file tx.c.
Referenced by ff_tx_gen_split_radix_parity_revtab().
int ff_tx_gen_split_radix_parity_revtab | ( | AVTXContext * | s, |
int | invert_lookup, | ||
int | basis, | ||
int | dual_stride | ||
) |
|
static |
Definition at line 231 of file tx.c.
Referenced by av_tx_uninit(), and ff_tx_init_subtx().
av_cold void av_tx_uninit | ( | AVTXContext ** | ctx | ) |
Frees a context and sets *ctx to NULL, does nothing when *ctx == NULL.
Definition at line 251 of file tx.c.
Referenced by common_uninit(), config_output(), decode_close(), fir_to_phase(), free_tx_refs(), load_data(), qdmc_decode_close(), siren_close(), uninit(), uninit_segment(), yae_release_buffers(), and yae_reset().
|
static |
|
static |
|
static |
Definition at line 296 of file tx.c.
Referenced by ff_tx_init_subtx(), and print_cd_info().
|
static |
Definition at line 320 of file tx.c.
Referenced by ff_tx_init_subtx(), and print_cd_info().
|
static |
Definition at line 336 of file tx.c.
Referenced by ff_tx_init_subtx(), and print_tx_structure().
|
static |
Definition at line 375 of file tx.c.
Referenced by av_tx_init().
|
static |
Definition at line 394 of file tx.c.
Referenced by ff_tx_init_subtx().
|
inlinestatic |
Definition at line 400 of file tx.c.
Referenced by ff_tx_init_subtx().
av_cold int ff_tx_init_subtx | ( | AVTXContext * | s, |
enum AVTXType | type, | ||
uint64_t | flags, | ||
FFTXCodeletOptions * | opts, | ||
int | len, | ||
int | inv, | ||
const void * | scale | ||
) |
Definition at line 440 of file tx.c.
Referenced by av_tx_init(), ff_tx_fft_pfa_init(), ff_tx_fft_sr_init(), ff_tx_mdct_inv_full_init(), ff_tx_mdct_pfa_init(), ff_tx_mdct_sr_init(), and ff_tx_rdft_init().
av_cold int av_tx_init | ( | AVTXContext ** | ctx, |
av_tx_fn * | tx, | ||
enum AVTXType | type, | ||
int | inv, | ||
int | len, | ||
const void * | scale, | ||
uint64_t | flags | ||
) |
Initialize a transform context with the given configuration (i)MDCTs with an odd length are currently not supported.
ctx | the context to allocate, will be NULL on error |
tx | pointer to the transform function pointer to set |
type | type the type of transform |
inv | whether to do an inverse or a forward transform |
len | the size of the transform in samples |
scale | pointer to the value to scale the output if supported by type |
flags | a bitmask of AVTXFlags or 0 |
Definition at line 649 of file tx.c.
Referenced by config_input(), config_output(), config_props(), convert_coeffs(), decode_init(), equ_init(), fir_to_phase(), init_segment(), load_data(), qdmc_decode_init(), siren_init(), and yae_reset().
|
static |
|
static |
Definition at line 290 of file tx.c.
Referenced by ff_tx_init_subtx().