comparison libgsmhr1/sp_sfrm.h @ 620:8aacb33fb767

libgsmhr1: integrate sp_sfrm.c
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 05 Mar 2026 21:47:27 +0000
parents 8fadd238642b
children
comparison
equal deleted inserted replaced
619:8fadd238642b 620:8aacb33fb767
6 /*_________________________________________________________________________ 6 /*_________________________________________________________________________
7 | | 7 | |
8 | Function Prototypes | 8 | Function Prototypes |
9 |_________________________________________________________________________| 9 |_________________________________________________________________________|
10 */ 10 */
11
12 void sfrmAnalysis(struct gsmhr_encoder_state *st, Shortword *pswWSpeech,
13 Shortword swVoicingMode, struct NormSw snsSqrtRs,
14 Shortword *pswHCoefs, Shortword *pswLagList, short siNumLags,
15 Shortword swPitch, Shortword swHNWCoef, short *psiLagCode,
16 short *psiVSCode1, short *psiVSCode2, short *psiGsp0Code,
17 Shortword swSP, int giSfrmCnt, short *psiPrevLagCode);
11 18
12 Shortword g_corr2(Shortword *pswIn, Shortword *pswIn2, 19 Shortword g_corr2(Shortword *pswIn, Shortword *pswIn2,
13 Longword *pL_out); 20 Longword *pL_out);
14 21
15 int closedLoopLagSearch(Shortword pswLagList[], 22 int closedLoopLagSearch(Shortword pswLagList[],
42 Shortword pswInCoef[], 49 Shortword pswInCoef[],
43 int iStateOffset, 50 int iStateOffset,
44 Shortword swZeroState, 51 Shortword swZeroState,
45 int iNumSamples); 52 int iNumSamples);
46 53
47 void sfrmAnalysis(Shortword *pswWSpeech,
48 Shortword swVoicingMode,
49 struct NormSw snsSqrtRs,
50 Shortword *pswHCoefs,
51 Shortword *pswLagList,
52 short siNumLags,
53 Shortword swPitch,
54 Shortword swHNWCoef,
55 short *psiLagCode,
56 short *psiVSCode1,
57 short *psiVSCode2,
58 short *psiGsp0Code,
59 Shortword swSP);
60
61 Shortword v_srch(Shortword pswWInput[], 54 Shortword v_srch(Shortword pswWInput[],
62 Shortword pswWBasisVecs[], 55 Shortword pswWBasisVecs[],
63 short int siNumBasis); 56 short int siNumBasis);
64 57
65 #endif 58 #endif