FFmpeg
|
#include <stdlib.h>
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/libm.h"
#include "libavutil/mathematics.h"
#include "fft.h"
#include "fft-internal.h"
Go to the source code of this file.
Macros | |
#define | RSCALE(x, y) ((x) + (y)) |
Functions | |
av_cold int | ff_mdct_init (FFTContext *s, int nbits, int inverse, double scale) |
init MDCT or IMDCT computation. More... | |
void | ff_imdct_half_c (FFTContext *s, FFTSample *output, const FFTSample *input) |
Compute the middle half of the inverse MDCT of size N = 2^nbits, thus excluding the parts that can be derived by symmetry. More... | |
void | ff_imdct_calc_c (FFTContext *s, FFTSample *output, const FFTSample *input) |
Compute inverse MDCT of size N = 2^nbits. More... | |
void | ff_mdct_calc_c (FFTContext *s, FFTSample *out, const FFTSample *input) |
Compute MDCT of size N = 2^nbits. More... | |
av_cold void | ff_mdct_end (FFTContext *s) |
MDCT/IMDCT transforms.
Definition in file mdct_template.c.
#define RSCALE | ( | x, | |
y | |||
) | ((x) + (y)) |
Definition at line 36 of file mdct_template.c.
av_cold int ff_mdct_init | ( | FFTContext * | s, |
int | nbits, | ||
int | inverse, | ||
double | scale | ||
) |
init MDCT or IMDCT computation.
Definition at line 48 of file mdct_template.c.
void ff_imdct_half_c | ( | FFTContext * | s, |
FFTSample * | output, | ||
const FFTSample * | input | ||
) |
Compute the middle half of the inverse MDCT of size N = 2^nbits, thus excluding the parts that can be derived by symmetry.
output | N/2 samples |
input | N/2 samples |
Definition at line 105 of file mdct_template.c.
Referenced by ff_imdct_calc_c().
void ff_imdct_calc_c | ( | FFTContext * | s, |
FFTSample * | output, | ||
const FFTSample * | input | ||
) |
Compute inverse MDCT of size N = 2^nbits.
output | N samples |
input | N/2 samples |
Definition at line 147 of file mdct_template.c.
void ff_mdct_calc_c | ( | FFTContext * | s, |
FFTSample * | out, | ||
const FFTSample * | input | ||
) |
Compute MDCT of size N = 2^nbits.
input | N samples |
out | N/2 samples |
Definition at line 167 of file mdct_template.c.
av_cold void ff_mdct_end | ( | FFTContext * | s | ) |
Definition at line 209 of file mdct_template.c.
Referenced by ff_mdct_init().