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

modes.h File Reference

Describes the different modes of the codec. More...

#include "speex.h"
#include "speex_bits.h"
#include "misc.h"

Go to the source code of this file.

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 *, void *, int, int, float, int, int, SpeexBits *, char *, spx_sig_t *, spx_sig_t *, int, int)
typedef void(* ltp_unquant_func )(spx_sig_t *, int, int, float, void *, int, int *, float *, SpeexBits *, char *, int, int, float, int)
typedef void(* innovation_quant_func )(spx_sig_t *, spx_coef_t *, spx_coef_t *, spx_coef_t *, void *, int, int, spx_sig_t *, spx_sig_t *, SpeexBits *, char *, int)
typedef void(* innovation_unquant_func )(spx_sig_t *, void *, int, SpeexBits *, char *)
typedef SpeexSubmode SpeexSubmode
typedef SpeexNBMode SpeexNBMode
typedef SpeexSBMode SpeexSBMode


Detailed Description

Describes the different modes of the codec.


Typedef Documentation

typedef void(* innovation_quant_func)(spx_sig_t *, spx_coef_t *, spx_coef_t *, spx_coef_t *, void *, int, int, spx_sig_t *, spx_sig_t *, SpeexBits *, char *, int)
 

Innovation quantization function

typedef void(* innovation_unquant_func)(spx_sig_t *, 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 *, void *, int, int, float, int, int, SpeexBits *, char *, spx_sig_t *, spx_sig_t *, int, int)
 

Long-term predictor quantization

typedef void(* ltp_unquant_func)(spx_sig_t *, int, int, float, void *, int, int *, float *, SpeexBits *, char *, int, int, float, int)
 

Long-term un-quantize

typedef struct SpeexNBMode SpeexNBMode
 

Struct defining the encoding/decoding mode

typedef struct SpeexSBMode SpeexSBMode
 

Struct defining the encoding/decoding mode for SB-CELP (wideband)

typedef struct SpeexSubmode SpeexSubmode
 

Description of a Speex sub-mode (wither narrowband or wideband


Generated on Wed Aug 24 01:08:53 2005 for Speex by  doxygen 1.4.2