FreeCalypso > hg > gsm-codec-lib
diff libgsmhr1/enc_state.h @ 617:ff5857556c44
libgsmhr1: integrate sp_frm.c
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 05 Mar 2026 19:48:10 +0000 |
| parents | f8759c856006 |
| children |
line wrap: on
line diff
--- a/libgsmhr1/enc_state.h Thu Mar 05 17:53:42 2026 +0000 +++ b/libgsmhr1/enc_state.h Thu Mar 05 19:48:10 2026 +0000 @@ -12,7 +12,7 @@ #define CG_INT_MACS 6 /* Number of Multiply-Accumulates in */ /* one interpolation */ #define LMAX 142 /* largest lag (integer sense) */ -#define LSMAX (LMAX+ CG_INT_MACS/2) /* Lag Search Array Length */ +#define LSMAX (LMAX + CG_INT_MACS/2) /* Lag Search Array Length */ #define LPCSTARTINDEX 25 /* Where the LPC analysis window * starts */ #define INBUFFSZ LPCSTARTINDEX + A_LEN /* Input buffer size */ @@ -64,6 +64,12 @@ Shortword pswAnalysisState[NP]; Shortword pswWStateNum[NP]; Shortword pswWStateDenom[NP]; + const Shortword *psrTable; + int iLimit; + int iLow; + int iThree; + int iWordHalfPtr; + int iWordPtr; /* state variables from sp_sfrm.c */ Shortword pswLtpStateBase[LTP_LEN + S_LEN]; Shortword pswHState[NP];
