Main Page | Class List | Directories | File List | Class Members | File Members

quant_lsp.c File Reference

#include "quant_lsp.h"
#include <math.h>
#include "misc.h"

Include dependency graph for quant_lsp.c:


Defines

#define M_PI   3.14159265358979323846
#define LSP_LINEAR(i)   (.25*(i)+.25)
#define LSP_LINEAR_HIGH(i)   (.3125*(i)+.75)
#define LSP_SCALE   256.
#define LSP_DIV_256(x)   (0.0039062*(x))
#define LSP_DIV_512(x)   (0.0019531*(x))
#define LSP_DIV_1024(x)   (0.00097656*(x))
#define LSP_PI   M_PI

Functions

void lsp_quant_nb (spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits)
void lsp_unquant_nb (spx_lsp_t *lsp, int order, SpeexBits *bits)
void lsp_quant_lbr (spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits)
void lsp_unquant_lbr (spx_lsp_t *lsp, int order, SpeexBits *bits)
void lsp_quant_high (spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits)
void lsp_unquant_high (spx_lsp_t *lsp, int order, SpeexBits *bits)

Variables

const signed char high_lsp_cdbk []
const signed char high_lsp_cdbk2 []

Define Documentation

#define LSP_DIV_1024 (  x   )     (0.00097656*(x))
 

#define LSP_DIV_256 (  x   )     (0.0039062*(x))
 

#define LSP_DIV_512 (  x   )     (0.0019531*(x))
 

#define LSP_LINEAR (  i   )     (.25*(i)+.25)
 

#define LSP_LINEAR_HIGH (  i   )     (.3125*(i)+.75)
 

#define LSP_PI   M_PI
 

#define LSP_SCALE   256.
 

#define M_PI   3.14159265358979323846
 


Function Documentation

void lsp_quant_high (  spx_lsp_t *  lsp,
spx_lsp_t *  qlsp,
int  order,
SpeexBits *  bits
) 
 

void lsp_quant_lbr (  spx_lsp_t *  lsp,
spx_lsp_t *  qlsp,
int  order,
SpeexBits *  bits
) 
 

void lsp_quant_nb (  spx_lsp_t *  lsp,
spx_lsp_t *  qlsp,
int  order,
SpeexBits *  bits
) 
 

void lsp_unquant_high (  spx_lsp_t *  lsp,
int  order,
SpeexBits *  bits
) 
 

void lsp_unquant_lbr (  spx_lsp_t *  lsp,
int  order,
SpeexBits *  bits
) 
 

void lsp_unquant_nb (  spx_lsp_t *  lsp,
int  order,
SpeexBits *  bits
) 
 


Variable Documentation

const signed char high_lsp_cdbk[]
 

const signed char high_lsp_cdbk2[]
 


Generated on Thu Jun 15 13:42:54 2006 for speex by  doxygen 1.4.2