FFmpeg
Data Structures | Macros | Typedefs | Functions
tx_priv.h File Reference
#include "tx.h"
#include "thread.h"
#include "mem_internal.h"
#include "avassert.h"
#include "attributes.h"

Go to the source code of this file.

Data Structures

struct  AVTXContext
 
struct  CosTabsInitOnce
 

Macros

#define BF(x, y, a, b)
 
#define CMUL3(c, a, b)   CMUL((c).re, (c).im, (a).re, (a).im, (b).re, (b).im)
 
#define COSTABLE(size)   DECLARE_ALIGNED(32, FFTSample, TX_NAME(ff_cos_##size))[size/4 + 1]
 

Typedefs

typedef void FFTComplex
 

Functions

int ff_tx_type_is_mdct (enum AVTXType type)
 
int ff_tx_gen_compound_mapping (AVTXContext *s)
 
int ff_tx_gen_ptwo_revtab (AVTXContext *s, int invert_lookup)
 
int ff_tx_gen_ptwo_inplace_revtab_idx (AVTXContext *s, int *revtab)
 
void ff_tx_gen_split_radix_parity_revtab (int *revtab, int len, int inv, int basis, int dual_stride)
 
int ff_tx_init_mdct_fft_float (AVTXContext *s, av_tx_fn *tx, enum AVTXType type, int inv, int len, const void *scale, uint64_t flags)
 
int ff_tx_init_mdct_fft_double (AVTXContext *s, av_tx_fn *tx, enum AVTXType type, int inv, int len, const void *scale, uint64_t flags)
 
int ff_tx_init_mdct_fft_int32 (AVTXContext *s, av_tx_fn *tx, enum AVTXType type, int inv, int len, const void *scale, uint64_t flags)
 
void ff_tx_init_float_x86 (AVTXContext *s, av_tx_fn *tx)
 

Macro Definition Documentation

◆ BF

#define BF (   x,
  y,
  a,
  b 
)
Value:
do { \
x = (a) - (b); \
y = (a) + (b); \
} while (0)

Definition at line 98 of file tx_priv.h.

◆ CMUL3

#define CMUL3 (   c,
  a,
  b 
)    CMUL((c).re, (c).im, (a).re, (a).im, (b).re, (b).im)

Definition at line 104 of file tx_priv.h.

◆ COSTABLE

#define COSTABLE (   size)    DECLARE_ALIGNED(32, FFTSample, TX_NAME(ff_cos_##size))[size/4 + 1]

Definition at line 107 of file tx_priv.h.

Typedef Documentation

◆ FFTComplex

typedef void FFTComplex

Definition at line 44 of file tx_priv.h.

Function Documentation

◆ ff_tx_type_is_mdct()

int ff_tx_type_is_mdct ( enum AVTXType  type)

Definition at line 21 of file tx.c.

Referenced by ff_tx_gen_compound_mapping(), ff_tx_init_float_x86(), and ff_tx_init_mdct_fft().

◆ ff_tx_gen_compound_mapping()

int ff_tx_gen_compound_mapping ( AVTXContext s)

Definition at line 44 of file tx.c.

Referenced by ff_tx_init_mdct_fft().

◆ ff_tx_gen_ptwo_revtab()

int ff_tx_gen_ptwo_revtab ( AVTXContext s,
int  invert_lookup 
)

Definition at line 105 of file tx.c.

Referenced by ff_tx_init_mdct_fft().

◆ ff_tx_gen_ptwo_inplace_revtab_idx()

int ff_tx_gen_ptwo_inplace_revtab_idx ( AVTXContext s,
int revtab 
)

Definition at line 126 of file tx.c.

Referenced by ff_tx_init_mdct_fft().

◆ ff_tx_gen_split_radix_parity_revtab()

void ff_tx_gen_split_radix_parity_revtab ( int revtab,
int  len,
int  inv,
int  basis,
int  dual_stride 
)

Definition at line 201 of file tx.c.

Referenced by ff_tx_init_float_x86().

◆ ff_tx_init_mdct_fft_float()

int ff_tx_init_mdct_fft_float ( AVTXContext s,
av_tx_fn tx,
enum AVTXType  type,
int  inv,
int  len,
const void *  scale,
uint64_t  flags 
)

Referenced by av_tx_init().

◆ ff_tx_init_mdct_fft_double()

int ff_tx_init_mdct_fft_double ( AVTXContext s,
av_tx_fn tx,
enum AVTXType  type,
int  inv,
int  len,
const void *  scale,
uint64_t  flags 
)

Referenced by av_tx_init().

◆ ff_tx_init_mdct_fft_int32()

int ff_tx_init_mdct_fft_int32 ( AVTXContext s,
av_tx_fn tx,
enum AVTXType  type,
int  inv,
int  len,
const void *  scale,
uint64_t  flags 
)

Referenced by av_tx_init().

◆ ff_tx_init_float_x86()

void ff_tx_init_float_x86 ( AVTXContext s,
av_tx_fn tx 
)

Definition at line 37 of file tx_float_init.c.

Referenced by av_tx_init().

b
#define b
Definition: input.c:41
a
The reader does not expect b to be semantically here and if the code is changed by maybe adding a a division or other the signedness will almost certainly be mistaken To avoid this confusion a new type was SUINT is the C unsigned type but it holds a signed int to use the same example SUINT a
Definition: undefined.txt:41