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

nb_celp.h File Reference

Narrowband CELP encoder/decoder. More...

#include "modes.h"
#include <speex/speex_bits.h>
#include <speex/speex_callbacks.h>
#include "vbr.h"
#include "filters.h"

Go to the source code of this file.

Classes

struct  EncState
struct  DecState

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 Mon Oct 11 15:42:53 2004 for speex by doxygen 1.3.7