LMMS
Loading...
Searching...
No Matches
eel_mdct.h File Reference
#include "ns-eel-int.h"
#include <string.h>
#include <stdlib.h>
#include <math.h>

Go to the source code of this file.

Classes

struct  mdct_lookup

Macros

#define EEL_DCT_MINBITLEN   5
#define EEL_DCT_MAXBITLEN   12
#define PI   3.1415926535897932384626433832795
#define cPI3_8   .38268343236508977175
#define cPI2_8   .70710678118654752441
#define cPI1_8   .92387953251128675613
#define FLOAT_CONV(x)
#define MULT_NORM(x)
#define HALVE(x)

Functions

static void mdct (EEL_F *in, EEL_F *out, int len)
static void imdct (EEL_F *in, EEL_F *out, int len)
static void mdct_butterfly_8 (EEL_F *x)
static void mdct_butterfly_16 (EEL_F *x)
static void mdct_butterfly_32 (EEL_F *x)
static void mdct_butterfly_first (EEL_F *T, EEL_F *x, int points)
static void mdct_butterfly_generic (EEL_F *T, EEL_F *x, int points, int trigint)
static void mdct_butterflies (mdct_lookup *init, EEL_F *x, int points)
static void mdct_bitreverse (mdct_lookup *init, EEL_F *x)
static void megabuf_mdct_apply_window (void *init, EEL_F *inbuf, EEL_F *outbuf)
static voidmegabuf_mdct_init (int n)
static void megabuf_mdct_backward (void *init, EEL_F *in, EEL_F *out)
static void megabuf_mdct_forward (void *init, EEL_F *in, EEL_F *out)
static EEL_F *NSEEL_CGEN_CALL mdct_func (int dir, EEL_F **blocks, EEL_F *start, EEL_F *length)
static EEL_F *NSEEL_CGEN_CALL megabuf_mdct (EEL_F **blocks, EEL_F *start, EEL_F *length)
static EEL_F *NSEEL_CGEN_CALL megabuf_imdct (EEL_F **blocks, EEL_F *start, EEL_F *length)
void EEL_mdct_register ()

Macro Definition Documentation

◆ cPI1_8

#define cPI1_8   .92387953251128675613

◆ cPI2_8

#define cPI2_8   .70710678118654752441

◆ cPI3_8

#define cPI3_8   .38268343236508977175

◆ EEL_DCT_MAXBITLEN

#define EEL_DCT_MAXBITLEN   12

◆ EEL_DCT_MINBITLEN

#define EEL_DCT_MINBITLEN   5

◆ FLOAT_CONV

#define FLOAT_CONV ( x)
Value:
((EEL_F) ( x ))
unsigned x[BMAX+1]
Definition inflate.c:1586

◆ HALVE

#define HALVE ( x)
Value:
((x)*.5f)

◆ MULT_NORM

#define MULT_NORM ( x)
Value:
(x)

◆ PI

#define PI   3.1415926535897932384626433832795

Function Documentation

◆ EEL_mdct_register()

void EEL_mdct_register ( )

◆ imdct()

void imdct ( EEL_F * in,
EEL_F * out,
int len )
static

◆ mdct()

void mdct ( EEL_F * in,
EEL_F * out,
int len )
static

◆ mdct_bitreverse()

void mdct_bitreverse ( mdct_lookup * init,
EEL_F * x )
static

◆ mdct_butterflies()

void mdct_butterflies ( mdct_lookup * init,
EEL_F * x,
int points )
static

◆ mdct_butterfly_16()

void mdct_butterfly_16 ( EEL_F * x)
static

◆ mdct_butterfly_32()

void mdct_butterfly_32 ( EEL_F * x)
static

◆ mdct_butterfly_8()

void mdct_butterfly_8 ( EEL_F * x)
static

◆ mdct_butterfly_first()

void mdct_butterfly_first ( EEL_F * T,
EEL_F * x,
int points )
static

◆ mdct_butterfly_generic()

void mdct_butterfly_generic ( EEL_F * T,
EEL_F * x,
int points,
int trigint )
static

◆ mdct_func()

EEL_F *NSEEL_CGEN_CALL mdct_func ( int dir,
EEL_F ** blocks,
EEL_F * start,
EEL_F * length )
static

◆ megabuf_imdct()

EEL_F *NSEEL_CGEN_CALL megabuf_imdct ( EEL_F ** blocks,
EEL_F * start,
EEL_F * length )
static

◆ megabuf_mdct()

EEL_F *NSEEL_CGEN_CALL megabuf_mdct ( EEL_F ** blocks,
EEL_F * start,
EEL_F * length )
static

◆ megabuf_mdct_apply_window()

void megabuf_mdct_apply_window ( void * init,
EEL_F * inbuf,
EEL_F * outbuf )
static

◆ megabuf_mdct_backward()

void megabuf_mdct_backward ( void * init,
EEL_F * in,
EEL_F * out )
static

◆ megabuf_mdct_forward()

void megabuf_mdct_forward ( void * init,
EEL_F * in,
EEL_F * out )
static

◆ megabuf_mdct_init()

void * megabuf_mdct_init ( int n)
static