FreeCalypso > hg > gsm-codec-lib
comparison libgsmhr1/dec_state.h @ 596:8e4ecdfadf5a
libgsmhr1: capture decoder state
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 04 Dec 2025 06:25:54 +0000 |
| parents | 1e75556ab6c0 |
| children | 5809165fb140 |
comparison
equal
deleted
inserted
replaced
| 595:1e75556ab6c0 | 596:8e4ecdfadf5a |
|---|---|
| 9 #define dec_state_h | 9 #define dec_state_h |
| 10 | 10 |
| 11 #include "typedefs.h" | 11 #include "typedefs.h" |
| 12 #include "rxfe.h" | 12 #include "rxfe.h" |
| 13 | 13 |
| 14 #define LTP_LEN 147 /* 147==0x93 length of LTP history */ | |
| 15 | |
| 14 struct gsmhr_decoder_state { | 16 struct gsmhr_decoder_state { |
| 15 struct gsmhr_rxfe_state rxfe; | 17 struct gsmhr_rxfe_state rxfe; |
| 16 int is_homed; | 18 int is_homed; |
| 19 /* state variables from err_conc.c */ | |
| 20 Longword plSubfrEnergyMem[4]; | |
| 21 Shortword swLevelMem[4]; | |
| 22 /* state variables from sp_dec.c */ | |
| 23 Shortword gswPostFiltAgcGain; | |
| 24 Shortword gpswPostFiltStateNum[NP]; | |
| 25 Shortword gpswPostFiltStateDenom[NP]; | |
| 26 Shortword swPostEmphasisState; | |
| 27 Shortword pswSynthFiltState[NP]; | |
| 28 Shortword pswOldFrmKsDec[NP]; | |
| 29 Shortword pswOldFrmAsDec[NP]; | |
| 30 Shortword pswOldFrmPFNum[NP]; | |
| 31 Shortword pswOldFrmPFDenom[NP]; | |
| 32 Shortword swOldR0Dec; | |
| 33 Shortword pswLtpStateBaseDec[LTP_LEN + S_LEN]; | |
| 34 Shortword pswPPreState[LTP_LEN + S_LEN]; | |
| 35 Shortword swMuteFlagOld; | |
| 36 Shortword swRxDTXState; | |
| 17 }; | 37 }; |
| 18 | 38 |
| 19 #endif | 39 #endif |
