FFmpeg
Data Structures | Macros | Typedefs | Functions
tx_priv.h File Reference
#include "tx.h"
#include <stddef.h>
#include "thread.h"
#include "mem.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/2]
 

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)
 
static int split_radix_permutation (int i, int n, int inverse)
 
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)
 

Macro Definition Documentation

◆ BF

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

Definition at line 93 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 98 of file tx_priv.h.

◆ COSTABLE

#define COSTABLE (   size)    DECLARE_ALIGNED(32, FFTSample, TX_NAME(ff_cos_##size))[size/2]

Definition at line 101 of file tx_priv.h.

Typedef Documentation

◆ FFTComplex

typedef void FFTComplex

Definition at line 45 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(), 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)

Definition at line 94 of file tx.c.

Referenced by ff_tx_init_mdct_fft().

◆ split_radix_permutation()

static int split_radix_permutation ( int  i,
int  n,
int  inverse 
)
inlinestatic

Definition at line 123 of file tx_priv.h.

◆ 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().

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