FreeCalypso > hg > gsm-codec-lib
comparison libtwamr/if1_func.h @ 441:ebe499058c63
libtwamr: implement API functions for RFC 4867 I/O
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 09 May 2024 07:06:31 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
440:bc736a8654af | 441:ebe499058c63 |
---|---|
1 /* | |
2 * This header file provides prototype declarations for AMR IF1 | |
3 * packing and unpacking functions, as well as extern declarations | |
4 * for the set of const data tables they need. | |
5 */ | |
6 | |
7 #ifndef if1_func_h | |
8 #define if1_func_h | |
9 | |
10 #include <stdint.h> | |
11 #include "tw_amr.h" | |
12 #include "typedef.h" | |
13 | |
14 void if1_pack_bytes(enum Mode mode, const Word16 *serial_bits, | |
15 uint8_t *if1_bytes); | |
16 void if1_unpack_bytes(enum Mode mode, const uint8_t *if1_bytes, | |
17 Word16 *serial_bits); | |
18 | |
19 extern const uint8_t sort_475[95]; | |
20 extern const uint8_t sort_515[103]; | |
21 extern const uint8_t sort_59[118]; | |
22 extern const uint8_t sort_67[134]; | |
23 extern const uint8_t sort_74[148]; | |
24 extern const uint8_t sort_795[159]; | |
25 extern const uint8_t sort_102[204]; | |
26 extern const uint8_t sort_122[244]; | |
27 | |
28 #endif /* include guard */ |