Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-os-example-mbed5-blinky by
nb_celp.h File Reference
Narrowband CELP encoder/decoder. More...
Go to the source code of this file.
Data Structures | |
| struct | EncState |
| Structure representing the full state of the narrowband encoder. More... | |
| struct | DecState |
| Structure representing the full state of the narrowband decoder. More... | |
Typedefs | |
| typedef struct EncState | EncState |
| Structure representing the full state of the narrowband encoder. | |
| typedef struct DecState | DecState |
| Structure representing the full state of the narrowband decoder. | |
Functions | |
| void * | nb_encoder_init (const SpeexMode *m) |
| Initializes encoder state. | |
| void | nb_encoder_destroy (void *state) |
| De-allocates encoder state resources. | |
| int | nb_encode (void *state, void *in, SpeexBits *bits) |
| Encodes one frame. | |
| void * | nb_decoder_init (const SpeexMode *m) |
| Initializes decoder state. | |
| void | nb_decoder_destroy (void *state) |
| De-allocates decoder state resources. | |
| int | nb_decode (void *state, SpeexBits *bits, void *out) |
| Decodes one frame. | |
| int | nb_encoder_ctl (void *state, int request, void *ptr) |
| ioctl-like function for controlling a narrowband encoder | |
| int | nb_decoder_ctl (void *state, int request, void *ptr) |
| ioctl-like function for controlling a narrowband decoder | |
Detailed Description
Narrowband CELP encoder/decoder.
Definition in file nb_celp.h.
Typedef Documentation
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 Tue Jul 12 2022 16:28:54 by
1.7.2
