Asterisk - The Open Source Telephony Project
18.5.0
|
Go to the source code of this file.
Data Structures | |
struct | gsm_state |
Macros | |
#define | GSM_ABS(a) ((a) < 0 ? ((a) == MIN_WORD ? MAX_WORD : -(a)) : (a)) |
#define | GSM_L_ADD(a, b) |
#define | GSM_L_MULT(a, b) |
#define | GSM_MULT(a, b) |
#define | GSM_MULT_R(a, b) |
#define | MAX_LONGWORD 2147483647 |
#define | MAX_WORD 32767 |
#define | MIN_LONGWORD (-2147483647 - 1) |
#define | MIN_WORD (-32767 - 1) |
#define | SASR(x, by) ((x) >= 0 ? (x) >> (by) : (~(-((x) + 1) >> (by)))) |
Typedefs | |
typedef long | longword |
typedef unsigned long | ulongword |
typedef unsigned short | uword |
typedef short | word |
Functions | |
static word | GSM_ADD (longword a, longword b) |
static word | GSM_SUB (longword a, longword b) |
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, word xmaxcr, 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_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_DLB [4] |
word | gsm_FAC [8] |
word | gsm_H [11] |
word | gsm_INVA [8] |
word | gsm_MAC [8] |
word | gsm_MIC [8] |
word | gsm_NRFAC [8] |
word | gsm_QLB [4] |
Definition at line 144 of file codecs/gsm/inc/private.h.
Referenced by P3().
Definition at line 98 of file codecs/gsm/inc/private.h.
Definition at line 95 of file codecs/gsm/inc/private.h.
Referenced by P5().
Definition at line 92 of file codecs/gsm/inc/private.h.
#define MAX_LONGWORD 2147483647 |
Definition at line 48 of file codecs/gsm/inc/private.h.
Referenced by P2().
#define MAX_WORD 32767 |
#define MIN_LONGWORD (-2147483647 - 1) |
Definition at line 47 of file codecs/gsm/inc/private.h.
Referenced by P2().
#define MIN_WORD (-32767 - 1) |
#define SASR | ( | x, | |
by | |||
) | ((x) >= 0 ? (x) >> (by) : (~(-((x) + 1) >> (by)))) |
typedef long longword |
Definition at line 13 of file codecs/gsm/inc/private.h.
typedef unsigned long ulongword |
Definition at line 16 of file codecs/gsm/inc/private.h.
typedef unsigned short uword |
Definition at line 15 of file codecs/gsm/inc/private.h.
typedef short word |
Definition at line 12 of file codecs/gsm/inc/private.h.
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_Decoder P | ( | (struct gsm_state *S, word *LARcr, word *Ncr, word *bcr, word *Mcr, word *xmaxcr, word *xMcr, word *s) | ) |
void Gsm_Long_Term_Synthesis_Filtering P | ( | (struct gsm_state *S, word Ncr, word bcr, word *erp, word *drp) | ) |