FFmpeg
|
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 "avfft.h"
#include "imdct15.h"
#include "opus.h"
Go to the source code of this file.
Macros | |
#define | CELT_MIN_IMDCT_SIZE 120 |
#define | CMUL3(cre, cim, are, aim, bre, bim) |
#define | CMUL(c, a, b) CMUL3((c).re, (c).im, (a).re, (a).im, (b).re, (b).im) |
#define | CMUL2(c, d, a, b) |
Functions | |
av_cold void | ff_imdct15_uninit (IMDCT15Context **ps) |
Free an iMDCT. | |
static void | imdct15_half (IMDCT15Context *s, float *dst, const float *src, ptrdiff_t stride, float scale) |
av_cold int | ff_imdct15_init (IMDCT15Context **ps, int N) |
Init an iMDCT of the length 2 * 15 * (2^N) | |
static void | fft5 (FFTComplex *out, const FFTComplex *in, ptrdiff_t stride) |
static void | fft15 (IMDCT15Context *s, FFTComplex *out, const FFTComplex *in, ptrdiff_t stride) |
static void | fft_calc (IMDCT15Context *s, FFTComplex *out, const FFTComplex *in, int N, ptrdiff_t stride) |
Celt non-power of 2 iMDCT.
Definition in file imdct15.c.
#define CELT_MIN_IMDCT_SIZE 120 |
Definition at line 40 of file imdct15.c.
Referenced by ff_imdct15_init().
#define CMUL3 | ( | cre, | |
cim, | |||
are, | |||
aim, | |||
bre, | |||
bim | |||
) |
Definition at line 43 of file imdct15.c.
Referenced by imdct15_half().
Definition at line 49 of file imdct15.c.
Referenced by fft15(), fft_calc(), and imdct15_half().
av_cold void ff_imdct15_uninit | ( | IMDCT15Context ** | ps | ) |
Free an iMDCT.
Definition at line 69 of file imdct15.c.
Referenced by aac_decode_close(), ff_celt_free(), and ff_imdct15_init().
|
static |
Definition at line 246 of file imdct15.c.
Referenced by ff_imdct15_init().
av_cold int ff_imdct15_init | ( | IMDCT15Context ** | ps, |
int | N | ||
) |
Init an iMDCT of the length 2 * 15 * (2^N)
Definition at line 90 of file imdct15.c.
Referenced by aac_decode_init(), and ff_celt_init().
|
static |
|
static |
Definition at line 184 of file imdct15.c.
Referenced by fft_calc().
|
static |
Definition at line 220 of file imdct15.c.
Referenced by imdct15_half().