Classes |
struct | gsm_state |
Defines |
#define | MIN_WORD (-32767 - 1) |
#define | MAX_WORD 32767 |
#define | MIN_LONGWORD (-2147483647 - 1) |
#define | MAX_LONGWORD 2147483647 |
#define | SASR(x, by) ((x) >= 0 ? (x) >> (by) : (~(-((x) + 1) >> (by)))) |
#define | GSM_MULT_R(a, b) |
#define | GSM_MULT(a, b) |
#define | GSM_L_MULT(a, b) |
#define | GSM_L_ADD(a, b) |
#define | GSM_ADD(a, b) |
#define | GSM_SUB(a, b) |
#define | GSM_ABS(a) ((a) < 0 ? ((a) == MIN_WORD ? MAX_WORD : -(a)) : (a)) |
Typedefs |
typedef short | word |
typedef long | longword |
typedef unsigned short | uword |
typedef unsigned long | ulongword |
Functions |
word gsm_mult | P ((word a, word b)) |
word gsm_div | P ((word num, word denum)) |
longword gsm_L_add | P ((longword a, longword b)) |
word gsm_abs | P ((word a)) |
word gsm_norm | P ((longword a)) |
longword gsm_L_asl | P ((longword a, int n)) |
word gsm_asl | P ((word a, int n)) |
void Gsm_Coder | P ((struct gsm_state *S, word *s, word *LARc, word *Nc, word *bc, word *Mc, word *xmaxc, word *xMc)) |
void Gsm_Long_Term_Predictor | P ((struct gsm_state *S, word *d, word *dp, word *e, word *dpp, word *Nc, word *bc)) |
void Gsm_LPC_Analysis | P ((struct gsm_state *S, word *s, word *LARc)) |
void Gsm_Preprocess | P ((struct gsm_state *S, word *s, word *so)) |
void Gsm_Encoding | P ((struct gsm_state *S, word *e, word *ep, word *xmaxc, word *Mc, word *xMc)) |
void Gsm_Short_Term_Analysis_Filter | P ((struct gsm_state *S, word *LARc, word *d)) |
void Gsm_Decoder | P ((struct gsm_state *S, word *LARcr, word *Ncr, word *bcr, word *Mcr, word *xmaxcr, word *xMcr, word *s)) |
void Gsm_Decoding | P ((struct gsm_state *S, wordxmaxcr, word Mcr, word *xMcr, word *erp)) |
void
Gsm_Long_Term_Synthesis_Filtering | P ((struct gsm_state *S, word Ncr, word bcr, word *erp, word *drp)) |
void Gsm_RPE_Decoding | P ((struct gsm_state *S, word xmaxcr, word Mcr, word *xMcr, word *erp)) |
void Gsm_RPE_Encoding | P ((struct gsm_state *S, word *e, word *xmaxc, word *Mc, word *xMc)) |
void
Gsm_Short_Term_Synthesis_Filter | P ((struct gsm_state *S, word *LARcr, word *drp, word *s)) |
void
Gsm_Update_of_reconstructed_short_time_residual_signal | P ((word *dpp, word *ep, word *dp)) |
void gsm_debug_words | P ((char *name, int, int, word *)) |
void gsm_debug_longwords | P ((char *name, int, int, longword *)) |
void gsm_debug_longword | P ((char *name, longword)) |
void gsm_debug_word | P ((char *name, word)) |
Variables |
word | gsm_A [8] |
word | gsm_B [8] |
word | gsm_MIC [8] |
word | gsm_MAC [8] |
word | gsm_INVA [8] |
word | gsm_DLB [4] |
word | gsm_QLB [4] |
word | gsm_H [11] |
word | gsm_NRFAC [8] |
word | gsm_FAC [8] |