FFmpeg
|
MDCT/IMDCT transforms. More...
#include <stdlib.h>
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/mathematics.h"
#include "fft.h"
#include "fft-internal.h"
Include dependency graph for mdct.c:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Macros | |
#define | RSCALE(x) (x) |
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) |
Detailed Description
MDCT/IMDCT transforms.
Definition in file mdct.c.
Macro Definition Documentation
Definition at line 35 of file mdct.c.
Referenced by ff_mdct_calc_c(), and ff_mdct_calcw_c().
Function Documentation
void ff_imdct_calc_c | ( | FFTContext * | s, |
FFTSample * | output, | ||
const FFTSample * | input | ||
) |
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.
- Parameters
-
output N/2 samples input N/2 samples
Definition at line 95 of file mdct.c.
Referenced by ff_imdct_calc_c().
void ff_mdct_calc_c | ( | FFTContext * | s, |
FFTSample * | out, | ||
const FFTSample * | input | ||
) |
av_cold void ff_mdct_end | ( | FFTContext * | s | ) |
Definition at line 199 of file mdct.c.
Referenced by ff_mdct_init().
av_cold int ff_mdct_init | ( | FFTContext * | s, |
int | nbits, | ||
int | inverse, | ||
double | scale | ||
) |
Generated on Fri Dec 20 2024 06:56:14 for FFmpeg by 1.8.11