LMMS
Loading...
Searching...
No Matches
short_term.c File Reference
#include <stdio.h>
#include <assert.h>
#include "private.h"
#include "gsm.h"
#include "proto.h"

Macros

#define STEP(B, MIC, INVA)
#define FILTER
#define FILTER

Functions

static void Decoding_of_the_coded_Log_Area_Ratios P2 ((LARc, LARpp), word *LARc, word *LARpp)
static void Coefficients_0_12 P3 ((LARpp_j_1, LARpp_j, LARp), register word *LARpp_j_1, register word *LARpp_j, register word *LARp)
static void Coefficients_40_159 P2 ((LARpp_j, LARp), register word *LARpp_j, register word *LARp)
static void LARp_to_rp P1 ((LARp), register word *LARp)
static void Short_term_analysis_filtering P4 ((S, rp, k_n, s), struct gsm_state *S, register word *rp, register int k_n, register word *s)
static void Short_term_synthesis_filtering P5 ((S, rrp, k, wt, sr), struct gsm_state *S, register word *rrp, register int k, register word *wt, register word *sr)
void Gsm_Short_Term_Analysis_Filter P3 ((S, LARc, s), struct gsm_state *S, word *LARc, word *s)
void Gsm_Short_Term_Synthesis_Filter P4 ((S, LARcr, wt, s), struct gsm_state *S, word *LARcr, word *wt, word *s)

Macro Definition Documentation

◆ FILTER [1/2]

#define FILTER
Value:
(* (S->fast \
? Fast_Short_term_synthesis_filtering \
: Short_term_synthesis_filtering ))

◆ FILTER [2/2]

#define FILTER
Value:
(* (S->fast \
? Fast_Short_term_analysis_filtering \
: Short_term_analysis_filtering ))

◆ STEP

#define STEP ( B,
MIC,
INVA )
Value:
temp1 = GSM_ADD( *LARc++, MIC ) << 10; \
temp1 = GSM_SUB( temp1, B * 2 ); \
temp1 = GSM_MULT_R( INVA, temp1 ); \
*LARpp++ = GSM_ADD( temp1, temp1 );
static const unsigned char temp1[]
Definition DistrhoArtwork3BandEQ.cpp:5
#define GSM_SUB(a, b)
Definition private.h:130
#define GSM_MULT_R(a, b)
Definition private.h:102
#define GSM_ADD(a, b)
Definition private.h:126

Function Documentation

◆ P1()

void LARp_to_rp P1 ( (LARp) ,
register word * LARp )
static

◆ P2() [1/2]

void Decoding_of_the_coded_Log_Area_Ratios P2 ( (LARc, LARpp) ,
word * LARc,
word * LARpp )
static

◆ P2() [2/2]

void Coefficients_40_159 P2 ( (LARpp_j, LARp) ,
register word * LARpp_j,
register word * LARp )
static

◆ P3() [1/2]

void Coefficients_27_39 P3 ( (LARpp_j_1, LARpp_j, LARp) ,
register word * LARpp_j_1,
register word * LARpp_j,
register word * LARp )
static

◆ P3() [2/2]

void Gsm_Short_Term_Analysis_Filter P3 ( (S, LARc, s) ,
struct gsm_state * S,
word * LARc,
word * s )

◆ P4() [1/2]

void Gsm_Short_Term_Synthesis_Filter P4 ( (S, LARcr, wt, s) ,
struct gsm_state * S,
word * LARcr,
word * wt,
word * s )

◆ P4() [2/2]

void Fast_Short_term_analysis_filtering P4 ( (S, rp, k_n, s) ,
struct gsm_state * S,
register word * rp,
register int k_n,
register word * s )
static

◆ P5()

void Fast_Short_term_synthesis_filtering P5 ( (S, rrp, k, wt, sr) ,
struct gsm_state * S,
register word * rrp,
register int k,
register word * wt,
register word * sr )
static