doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
lsp.c File Reference
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include "lsp.h"
#include "os.h"
#include "misc.h"
#include "lookup.h"
#include "scales.h"
#include "lookup.c"

Go to the source code of this file.

Macros

#define FLOAT_LOOKUP
 
#define EPSILON   10e-7
 

Functions

void vorbis_lsp_to_curve (float *curve, int *map, int n, int ln, float *lsp, int m, float amp, float ampoffset)
 
int vorbis_lpc_to_lsp (float *lpc, float *lsp, int m)
 

Macro Definition Documentation

#define EPSILON   10e-7

Definition at line 308 of file lsp.c.

#define FLOAT_LOOKUP

Definition at line 55 of file lsp.c.

Function Documentation

int vorbis_lpc_to_lsp ( float lpc,
float lsp,
int  m 
)

Definition at line 404 of file lsp.c.

void vorbis_lsp_to_curve ( float curve,
int map,
int  n,
int  ln,
float lsp,
int  m,
float  amp,
float  ampoffset 
)

Definition at line 64 of file lsp.c.