FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mdct15.c File Reference

Celt non-power of 2 iMDCT. More...

#include <float.h>
#include <math.h>
#include <stddef.h>
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "mdct15.h"
#include "fft-internal.h"

Go to the source code of this file.

Macros

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

Functions

av_cold void ff_mdct15_uninit (MDCT15Context **ps)
 
static int init_pfa_reindex_tabs (MDCT15Context *s)
 
static void fft5 (FFTComplex *out, FFTComplex *in, FFTComplex exptab[2])
 
static void fft15_c (FFTComplex *out, FFTComplex *in, FFTComplex *exptab, ptrdiff_t stride)
 
static void mdct15 (MDCT15Context *s, float *dst, const float *src, ptrdiff_t stride)
 
static void imdct15_half (MDCT15Context *s, float *dst, const float *src, ptrdiff_t stride)
 
static void postrotate_c (FFTComplex *out, FFTComplex *in, FFTComplex *exp, int *lut, ptrdiff_t len8)
 
av_cold int ff_mdct15_init (MDCT15Context **ps, int inverse, int N, double scale)
 

Detailed Description

Celt non-power of 2 iMDCT.

Definition in file mdct15.c.

Macro Definition Documentation

#define FFT_FLOAT   1

Definition at line 38 of file mdct15.c.

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

Definition at line 41 of file mdct15.c.

Referenced by fft15_c(), and imdct15_half().

Function Documentation

av_cold void ff_mdct15_uninit ( MDCT15Context **  ps)
static int init_pfa_reindex_tabs ( MDCT15Context s)
inlinestatic

Definition at line 60 of file mdct15.c.

Referenced by ff_mdct15_init().

static void fft5 ( FFTComplex out,
FFTComplex in,
FFTComplex  exptab[2] 
)
inlinestatic

Definition at line 92 of file mdct15.c.

Referenced by fft15_c().

static void fft15_c ( FFTComplex out,
FFTComplex in,
FFTComplex exptab,
ptrdiff_t  stride 
)
static

Definition at line 137 of file mdct15.c.

Referenced by ff_mdct15_init().

static void mdct15 ( MDCT15Context s,
float *  dst,
const float *  src,
ptrdiff_t  stride 
)
static

Definition at line 166 of file mdct15.c.

Referenced by ff_mdct15_init().

static void imdct15_half ( MDCT15Context s,
float *  dst,
const float *  src,
ptrdiff_t  stride 
)
static

Definition at line 206 of file mdct15.c.

Referenced by ff_mdct15_init().

static void postrotate_c ( FFTComplex out,
FFTComplex in,
FFTComplex exp,
int lut,
ptrdiff_t  len8 
)
static

Definition at line 232 of file mdct15.c.

Referenced by ff_mdct15_init().

av_cold int ff_mdct15_init ( MDCT15Context **  ps,
int  inverse,
int  N,
double  scale 
)

Definition at line 247 of file mdct15.c.

Referenced by aac_decode_init(), ff_celt_init(), ff_opus_psy_init(), and opus_encode_init().