News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

lpc10.h File Reference

lpc10.h File Reference


Defines

#define LPC10_SAMPLES_PER_FRAME   180
#define LPC10_ENCODED_FRAME_SIZE   7

Typedefs

typedef lpc10_e_state lpc10_encoder_state
typedef lpc10_d_state lpc10_decoder_state

Functions

lpc10_encoder_statecreate_lpc10_encoder_state (void)
void init_lpc10_encoder_state (lpc10_encoder_state *st)
int lpc10_encode (short *in, unsigned char *out, lpc10_encoder_state *st)
int vbr_lpc10_encode (short *in, unsigned char *out, lpc10_encoder_state *st)
void destroy_lpc10_encoder_state (lpc10_encoder_state *st)
lpc10_decoder_statecreate_lpc10_decoder_state (void)
void init_lpc10_decoder_state (lpc10_decoder_state *st)
int lpc10_decode (unsigned char *in, int inSz, short *out, lpc10_decoder_state *st)
int vbr_lpc10_decode (unsigned char *in, int inSz, short *out, lpc10_decoder_state *st, int *p)
void destroy_lpc10_decoder_state (lpc10_decoder_state *st)


Define Documentation

#define LPC10_SAMPLES_PER_FRAME   180
 

#define LPC10_ENCODED_FRAME_SIZE   7
 


Typedef Documentation

typedef struct lpc10_e_state lpc10_encoder_state
 

typedef struct lpc10_d_state lpc10_decoder_state
 


Function Documentation

lpc10_encoder_state* create_lpc10_encoder_state void   ) 
 

void init_lpc10_encoder_state lpc10_encoder_state st  ) 
 

int lpc10_encode short *  in,
unsigned char *  out,
lpc10_encoder_state st
 

int vbr_lpc10_encode short *  in,
unsigned char *  out,
lpc10_encoder_state st
 

void destroy_lpc10_encoder_state lpc10_encoder_state st  ) 
 

lpc10_decoder_state* create_lpc10_decoder_state void   ) 
 

void init_lpc10_decoder_state lpc10_decoder_state st  ) 
 

int lpc10_decode unsigned char *  in,
int  inSz,
short *  out,
lpc10_decoder_state st
 

int vbr_lpc10_decode unsigned char *  in,
int  inSz,
short *  out,
lpc10_decoder_state st,
int *  p
 

void destroy_lpc10_decoder_state lpc10_decoder_state st  )