PandA-2024.02
Macros | Functions
lpc.c File Reference
#include "private.h"
#include "add.c"
Include dependency graph for lpc.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STEP(k)   L_ACF[k] += ((longword)sl * sp[ -(k) ]);
 
#define NEXTI   sl = *++sp
 
#define STEP(A, B, MAC, MIC)
 

Functions

void Autocorrelation (word *s, longword *L_ACF)
 
void Reflection_coefficients (longword *L_ACF, register word *r)
 
void Transformation_to_Log_Area_Ratios (register word *r)
 
void Quantization_and_coding (register word *LAR)
 
void __attribute__ ((noinline))
 

Macro Definition Documentation

◆ NEXTI

#define NEXTI   sl = *++sp

Referenced by Autocorrelation().

◆ STEP [1/2]

#define STEP (   k)    L_ACF[k] += ((longword)sl * sp[ -(k) ]);

◆ STEP [2/2]

#define STEP (   A,
  B,
  MAC,
  MIC 
)
Value:
temp = GSM_MULT( A, *LAR ); \
temp = GSM_ADD( temp, B ); \
temp = GSM_ADD( temp, 256 ); \
temp = SASR( temp, 9 ); \
*LAR = temp>MAC ? MAC - MIC : (temp<MIC ? 0 : temp - MIC); \
LAR++;
#define GSM_ADD(a, b)
Definition: private.h:40
#define GSM_MULT(a, b)
Definition: private.h:39
#define A
Definition: generate.c:13
#define SASR(x, by)
Definition: private.h:36
#define B
Definition: generate.c:14

Function Documentation

◆ __attribute__()

void __attribute__ ( (noinline)  )

Definition at line 314 of file lpc.c.

References Autocorrelation(), Quantization_and_coding(), Reflection_coefficients(), and Transformation_to_Log_Area_Ratios().

Here is the call graph for this function:

◆ Autocorrelation()

void Autocorrelation ( word s,
longword L_ACF 
)

Definition at line 39 of file lpc.c.

References GSM_ABS, GSM_MULT_R, gsm_norm(), k, NEXTI, sl, and STEP.

Here is the call graph for this function:

◆ Quantization_and_coding()

void Quantization_and_coding ( register word LAR)

Definition at line 277 of file lpc.c.

References STEP.

◆ Reflection_coefficients()

void Reflection_coefficients ( longword L_ACF,
register word r 
)

Definition at line 164 of file lpc.c.

References GSM_ABS, GSM_ADD, gsm_div(), GSM_MULT_R, gsm_norm(), P, and SASR.

Here is the call graph for this function:

◆ Transformation_to_Log_Area_Ratios()

void Transformation_to_Log_Area_Ratios ( register word r)

Definition at line 235 of file lpc.c.

References GSM_ABS.


Generated on Mon Feb 12 2024 13:03:07 for PandA-2024.02 by doxygen 1.8.13