FreeCalypso > hg > ice1-trau-tester
comparison libhr/tw_gsmhr.h @ 40:e1eabf554a75
libhr: small subset of WIP libgsmhr1
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 30 Aug 2024 16:41:56 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
39:1e83071186cf | 40:e1eabf554a75 |
---|---|
1 /* | |
2 * This header file is a reduced subset version of <tw_gsmhr.h> | |
3 * from work-in-progress libgsmhr1, reduced to just the few functions | |
4 * needed for itt-ater-8. | |
5 */ | |
6 | |
7 #pragma once | |
8 | |
9 #include <stdint.h> | |
10 | |
11 #define GSMHR_NUM_PARAMS 18 /* actual codec parameters */ | |
12 #define GSMHR_NUM_PARAMS_ENC 20 /* output from the encoder */ | |
13 #define GSMHR_NUM_PARAMS_DEC 22 /* input to the decoder */ | |
14 | |
15 #define GSMHR_FRAME_LEN_RPF 14 /* raw packed format */ | |
16 #define GSMHR_FRAME_LEN_5993 15 /* RFC 5993 and TW-TS-002 */ | |
17 | |
18 /* the few functions we've imported from WIP libgsmhr1 */ | |
19 | |
20 void gsmhr_pack_ts101318(const int16_t *param, uint8_t *payload); | |
21 int gsmhr_check_common_params(const int16_t *params); | |
22 int gsmhr_check_decoder_params(const int16_t *params); |