FreeCalypso > hg > gsm-codec-lib
comparison libgsmhr1/dec_func.h @ 603:27df1cef042c
libgsmhr1: put aToRc() only in dec_func.c
This function was originally static in sp_dec.c, but now it is needed
both in sp_dec.c and in dec_func.c shared decoder+encoder functions.
Solution: give it intermodule linkage, and let it reside in dec_func.c
only.
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 04 Dec 2025 19:05:38 +0000 |
| parents | c7c03231002d |
| children |
comparison
equal
deleted
inserted
replaced
| 602:72cdae602d6e | 603:27df1cef042c |
|---|---|
| 17 | Function Prototypes | | 17 | Function Prototypes | |
| 18 |_________________________________________________________________________| | 18 |_________________________________________________________________________| |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 void aFlatRcDp(Longword *pL_R, Shortword *pswRc); | 21 void aFlatRcDp(Longword *pL_R, Shortword *pswRc); |
| 22 | |
| 23 short aToRc(Shortword swAshift, Shortword pswAin[], | |
| 24 Shortword pswRc[]); | |
| 22 | 25 |
| 23 void b_con(Shortword swCodeWord, short siNumBits, | 26 void b_con(Shortword swCodeWord, short siNumBits, |
| 24 Shortword pswVectOut[]); | 27 Shortword pswVectOut[]); |
| 25 | 28 |
| 26 void fp_ex(Shortword swOrigLagIn, Shortword pswLTPState[]); | 29 void fp_ex(Shortword swOrigLagIn, Shortword pswLTPState[]); |
