Main Page   Compound List   File List   Compound Members   File Members  

nb_celp.h File Reference

Narrowband CELP encoder/decoder. More...

#include "modes.h"
#include "speex_bits.h"
#include "speex_callbacks.h"
#include "vbr.h"
#include "filters.h"

Go to the source code of this file.

Compounds

struct  DecState
struct  EncState

Typedefs

typedef EncState EncState
typedef DecState DecState

Functions

void * nb_encoder_init (SpeexMode *m)
void nb_encoder_destroy (void *state)
int nb_encode (void *state, float *in, SpeexBits *bits)
void * nb_decoder_init (SpeexMode *m)
void nb_decoder_destroy (void *state)
int nb_decode (void *state, SpeexBits *bits, float *out)
int nb_encoder_ctl (void *state, int request, void *ptr)
int nb_decoder_ctl (void *state, int request, void *ptr)


Detailed Description

Narrowband CELP encoder/decoder.


Typedef Documentation

typedef struct DecState DecState
 

Structure representing the full state of the narrowband decoder

typedef struct EncState EncState
 

Structure representing the full state of the narrowband encoder


Function Documentation

int nb_decode (  void *    state,
SpeexBits *    bits,
float *    out
) 
 

Decodes one frame

int nb_decoder_ctl (  void *    state,
int    request,
void *    ptr
) 
 

ioctl-like function for controlling a narrowband decoder

void nb_decoder_destroy (  void *    state ) 
 

De-allocates decoder state resources

void* nb_decoder_init (  SpeexMode *    m ) 
 

Initializes decoder state

int nb_encode (  void *    state,
float *    in,
SpeexBits *    bits
) 
 

Encodes one frame

int nb_encoder_ctl (  void *    state,
int    request,
void *    ptr
) 
 

ioctl-like function for controlling a narrowband encoder

void nb_encoder_destroy (  void *    state ) 
 

De-allocates encoder state resources

void* nb_encoder_init (  SpeexMode *    m ) 
 

Initializes encoder state


Generated on Wed Feb 11 13:48:37 2004 for speex by doxygen1.2.15