Asterisk - The Open Source Telephony Project GIT-master-5782b03
|
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) |
void gsm_debug_longwords | P ((char *name, int, int, longword *)) |
void gsm_debug_words | P ((char *name, int, int, word *)) |
void gsm_debug_longword | P ((char *name, longword)) |
void gsm_debug_word | P ((char *name, word)) |
word gsm_norm | P ((longword a)) |
longword gsm_L_asl | P ((longword a, int n)) |
longword gsm_L_add | P ((longword a, longword b)) |
void Gsm_Long_Term_Predictor | P ((struct gsm_state *S, word *d, word *dp, word *e, word *dpp, word *Nc, word *bc)) |
void Gsm_Encoding | P ((struct gsm_state *S, word *e, word *ep, word *xmaxc, word *Mc, word *xMc)) |
void Gsm_RPE_Encoding | P ((struct gsm_state *S, word *e, word *xmaxc, word *Mc, word *xMc)) |
void Gsm_Short_Term_Analysis_Filter | P ((struct gsm_state *S, word *LARc, word *d)) |
void Gsm_Short_Term_Synthesis_Filter | P ((struct gsm_state *S, word *LARcr, word *drp, word *s)) |
void Gsm_Decoder | P ((struct gsm_state *S, word *LARcr, word *Ncr, word *bcr, word *Mcr, word *xmaxcr, word *xMcr, word *s)) |
void Gsm_LPC_Analysis | P ((struct gsm_state *S, word *s, word *LARc)) |
void Gsm_Coder | P ((struct gsm_state *S, word *s, word *LARc, word *Nc, word *bc, word *Mc, word *xmaxc, word *xMc)) |
void Gsm_Preprocess | P ((struct gsm_state *S, word *s, word *so)) |
void Gsm_Long_Term_Synthesis_Filtering | P ((struct gsm_state *S, word Ncr, word bcr, word *erp, word *drp)) |
void Gsm_Decoding | P ((struct gsm_state *S, word xmaxcr, word Mcr, word *xMcr, word *erp)) |
void Gsm_Update_of_reconstructed_short_time_residual_signal | P ((word *dpp, word *ep, word *dp)) |
word gsm_abs | P ((word a)) |
word gsm_asl | P ((word a, int n)) |
word gsm_mult | P ((word a, word b)) |
word gsm_div | P ((word num, word denum)) |
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 168 of file codecs/gsm/inc/private.h.
Definition at line 144 of file codecs/gsm/inc/private.h.
Definition at line 98 of file codecs/gsm/inc/private.h.
Definition at line 95 of file codecs/gsm/inc/private.h.
#define MAX_LONGWORD 2147483647 |
Definition at line 48 of file codecs/gsm/inc/private.h.
#define MAX_WORD 32767 |
Definition at line 45 of file codecs/gsm/inc/private.h.
#define MIN_LONGWORD (-2147483647 - 1) |
Definition at line 47 of file codecs/gsm/inc/private.h.
#define MIN_WORD (-32767 - 1) |
Definition at line 44 of file codecs/gsm/inc/private.h.
#define SASR | ( | x, | |
by | |||
) | ((x) >= 0 ? (x) >> (by) : (~(-((x) + 1) >> (by)))) |
Definition at line 54 of file codecs/gsm/inc/private.h.
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_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_Coder P | ( | (struct gsm_state *S, word *s, word *LARc, word *Nc, word *bc, word *Mc, word *xmaxc, word *xMc) | ) |
void Gsm_Long_Term_Synthesis_Filtering P | ( | (struct gsm_state *S, word Ncr, word bcr, word *erp, word *drp) | ) |
word gsm_B[8] |
Definition at line 282 of file codecs/gsm/inc/private.h.
word gsm_MAC[8] |
Definition at line 282 of file codecs/gsm/inc/private.h.
word gsm_MIC[8] |
Definition at line 282 of file codecs/gsm/inc/private.h.
word gsm_QLB[4] |
Definition at line 284 of file codecs/gsm/inc/private.h.
Referenced by P5().