comparison libgsmefr/typedef.h @ 48:af4b075d0313

libgsmefr: encoder state structure finished in first pass
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Nov 2022 05:16:38 +0000
parents 38326102fc43
children
comparison
equal deleted inserted replaced
47:89945a3b576e 48:af4b075d0313
1 /* adaptation between stdint types and those used by ETSI EFR code */ 1 /* adaptation between stdint types and those used by ETSI EFR code */
2 2
3 typedef int16_t Word16; 3 typedef int16_t Word16;
4 typedef int32_t Word32; 4 typedef int32_t Word32;
5 typedef uint8_t Flag; 5 typedef uint8_t Flag;
6
7 /* Struct for storing pseudo floating point exponent and mantissa */
8 struct _fp
9 {
10 Word16 e; /* exponent */
11 Word16 m; /* mantissa */
12 };
13
14 typedef struct _fp Pfloat;