ex

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Embed: (wiki syntax)

« Back to documentation index

sb_celp.h File Reference

sb_celp.h File Reference

Sub-band CELP mode used for wideband encoding. More...

Go to the source code of this file.

Data Structures

struct  SBEncState
 Structure representing the full state of the sub-band encoder. More...
struct  SBDecState
 Structure representing the full state of the sub-band decoder. More...

Typedefs

typedef struct SBEncState SBEncState
 Structure representing the full state of the sub-band encoder.
typedef struct SBDecState SBDecState
 Structure representing the full state of the sub-band decoder.

Functions

void * sb_encoder_init (const SpeexMode *m)
 Initializes encoder state.
void sb_encoder_destroy (void *state)
 De-allocates encoder state resources.
int sb_encode (void *state, void *in, SpeexBits *bits)
 Encodes one frame.
void * sb_decoder_init (const SpeexMode *m)
 Initializes decoder state.
void sb_decoder_destroy (void *state)
 De-allocates decoder state resources.
int sb_decode (void *state, SpeexBits *bits, void *out)
 Decodes one frame.

Detailed Description

Sub-band CELP mode used for wideband encoding.

Definition in file sb_celp.h.


Typedef Documentation

typedef struct SBDecState SBDecState

Structure representing the full state of the sub-band decoder.

typedef struct SBEncState SBEncState

Structure representing the full state of the sub-band encoder.


Function Documentation

int sb_decode ( void *  state,
SpeexBits bits,
void *  out 
)

Decodes one frame.

void sb_decoder_destroy ( void *  state )

De-allocates decoder state resources.

void* sb_decoder_init ( const SpeexMode m )

Initializes decoder state.

int sb_encode ( void *  state,
void *  in,
SpeexBits bits 
)

Encodes one frame.

void sb_encoder_destroy ( void *  state )

De-allocates encoder state resources.

void* sb_encoder_init ( const SpeexMode m )

Initializes encoder state.