Main Page | Class List | Directories | 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"

Include dependency graph for nb_celp.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef EncState EncState
typedef DecState DecState

Functions

void * nb_encoder_init (const SpeexMode *m)
void nb_encoder_destroy (void *state)
int nb_encode (void *state, void *in, SpeexBits *bits)
void * nb_decoder_init (const SpeexMode *m)
void nb_decoder_destroy (void *state)
int nb_decode (void *state, SpeexBits *bits, void *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,
void *  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 (  const SpeexMode *  m  ) 
 

Initializes decoder state

int nb_encode (  void *  state,
void *  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 (  const SpeexMode *  m  ) 
 

Initializes encoder state


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