#include <speex/speex.h>
#include <speex/speex_bits.h>
#include "misc.h"
Include dependency graph for modes.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | SpeexSubmode |
struct | SpeexNBMode |
struct | SpeexSBMode |
Defines | |
#define | NB_SUBMODES 16 |
#define | NB_SUBMODE_BITS 4 |
#define | SB_SUBMODES 8 |
#define | SB_SUBMODE_BITS 3 |
Typedefs | |
typedef void(*) | lsp_quant_func (spx_lsp_t *, spx_lsp_t *, int, SpeexBits *) |
typedef void(*) | lsp_unquant_func (spx_lsp_t *, int, SpeexBits *) |
typedef int(*) | ltp_quant_func (spx_sig_t *, spx_sig_t *, spx_coef_t *, spx_coef_t *, spx_coef_t *, spx_sig_t *, const void *, int, int, spx_word16_t, int, int, SpeexBits *, char *, spx_sig_t *, spx_word16_t *, int, int, int) |
typedef void(*) | ltp_unquant_func (spx_sig_t *, int, int, spx_word16_t, const void *, int, int *, spx_word16_t *, SpeexBits *, char *, int, int, spx_word16_t, int) |
typedef void(*) | innovation_quant_func (spx_sig_t *, spx_coef_t *, spx_coef_t *, spx_coef_t *, const void *, int, int, spx_sig_t *, spx_word16_t *, SpeexBits *, char *, int, int) |
typedef void(*) | innovation_unquant_func (spx_sig_t *, const void *, int, SpeexBits *, char *) |
Functions | |
int | speex_encode_native (void *state, spx_word16_t *in, SpeexBits *bits) |
int | speex_decode_native (void *state, SpeexBits *bits, spx_word16_t *out) |
int | nb_mode_query (const void *mode, int request, void *ptr) |
int | wb_mode_query (const void *mode, int request, void *ptr) |
#define NB_SUBMODE_BITS 4 |
#define NB_SUBMODES 16 |
#define SB_SUBMODE_BITS 3 |
#define SB_SUBMODES 8 |
typedef void(*) innovation_quant_func(spx_sig_t *, spx_coef_t *, spx_coef_t *, spx_coef_t *, const void *, int, int, spx_sig_t *, spx_word16_t *, SpeexBits *, char *, int, int) |
Innovation quantization function
typedef void(*) innovation_unquant_func(spx_sig_t *, const void *, int, SpeexBits *, char *) |
Innovation unquantization function
typedef void(*) lsp_quant_func(spx_lsp_t *, spx_lsp_t *, int, SpeexBits *) |
Quantizes LSPs
typedef void(*) lsp_unquant_func(spx_lsp_t *, int, SpeexBits *) |
Decodes quantized LSPs
typedef int(*) ltp_quant_func(spx_sig_t *, spx_sig_t *, spx_coef_t *, spx_coef_t *, spx_coef_t *, spx_sig_t *, const void *, int, int, spx_word16_t, int, int, SpeexBits *, char *, spx_sig_t *, spx_word16_t *, int, int, int) |
Long-term predictor quantization
typedef void(*) ltp_unquant_func(spx_sig_t *, int, int, spx_word16_t, const void *, int, int *, spx_word16_t *, SpeexBits *, char *, int, int, spx_word16_t, int) |
Long-term un-quantize
int nb_mode_query | ( | const void * | mode, | |
int | request, | |||
void * | ptr | |||
) |
int speex_decode_native | ( | void * | state, | |
SpeexBits * | bits, | |||
spx_word16_t * | out | |||
) |
int speex_encode_native | ( | void * | state, | |
spx_word16_t * | in, | |||
SpeexBits * | bits | |||
) |
int wb_mode_query | ( | const void * | mode, | |
int | request, | |||
void * | ptr | |||
) |