webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
mdct.c File Reference
#include "mdct.h"
#include "kiss_fft.h"
#include "_kiss_fft_guts.h"
#include <math.h>
#include "os_support.h"
#include "mathops.h"
#include "stack_alloc.h"

Functions

void clt_mdct_forward_c (const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar *OPUS_RESTRICT out, const opus_val16 *window, int overlap, int shift, int stride, int arch)
 
void clt_mdct_backward_c (const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar *OPUS_RESTRICT out, const opus_val16 *OPUS_RESTRICT window, int overlap, int shift, int stride, int arch)
 

Function Documentation

◆ clt_mdct_backward_c()

void clt_mdct_backward_c ( const mdct_lookup l,
kiss_fft_scalar in,
kiss_fft_scalar *OPUS_RESTRICT  out,
const opus_val16 *OPUS_RESTRICT  window,
int  overlap,
int  shift,
int  stride,
int  arch 
)

Compute a backward MDCT (no scaling) and performs weighted overlap-add (scales implicitly by 1/2)

◆ clt_mdct_forward_c()

void clt_mdct_forward_c ( const mdct_lookup l,
kiss_fft_scalar in,
kiss_fft_scalar *OPUS_RESTRICT  out,
const opus_val16 window,
int  overlap,
int  shift,
int  stride,
int  arch 
)

Compute a forward MDCT and scale by 4/N, trashes the input array