22#if !defined(_ILBC_ILBC_H_)
25#if defined(_M_IX86) || defined(_M_X64)
26#if defined(LIBILBC_EXPORTS)
27#define ILBC_DECLARE(type) __declspec(dllexport) type __stdcall
28#define ILBC_DECLARE_NONSTD(type) __declspec(dllexport) type __cdecl
29#define ILBC_DECLARE_DATA __declspec(dllexport)
31#define ILBC_DECLARE(type) __declspec(dllimport) type __stdcall
32#define ILBC_DECLARE_NONSTD(type) __declspec(dllimport) type __cdecl
33#define ILBC_DECLARE_DATA __declspec(dllimport)
35#elif defined(ILBC_USE_EXPORT_CAPABILITY) && (defined(__GNUC__) || defined(__SUNCC__))
36#define ILBC_DECLARE(type) __attribute__((visibility("default"))) type
37#define ILBC_DECLARE_NONSTD(type) __attribute__((visibility("default"))) type
38#define ILBC_DECLARE_DATA __attribute__((visibility("default")))
40#define ILBC_DECLARE(type) type
41#define ILBC_DECLARE_NONSTD(type) type
42#define ILBC_DECLARE_DATA
45#define ILBC_BLOCK_LEN_20MS 160
46#define ILBC_BLOCK_LEN_30MS 240
47#define ILBC_BLOCK_LEN_MAX 240
49#define ILBC_NO_OF_BYTES_20MS 38
50#define ILBC_NO_OF_BYTES_30MS 50
51#define ILBC_NO_OF_BYTES_MAX 50
53#define ILBC_NUM_SUB_MAX 6
58#define ENH_NBLOCKS_TOT 8
59#define ENH_BUFL (ENH_NBLOCKS_TOT*ENH_BLOCKL)
61#define ILBC_LPC_FILTERORDER 10
62#define LPC_LOOKBACK 60
68#define ILBC_ULP_CLASSES 3
72 int lsf_bits[6][ILBC_ULP_CLASSES + 2];
73 int start_bits[ILBC_ULP_CLASSES + 2];
74 int startfirst_bits[ILBC_ULP_CLASSES + 2];
75 int scale_bits[ILBC_ULP_CLASSES + 2];
76 int state_bits[ILBC_ULP_CLASSES + 2];
77 int extra_cb_index[CB_NSTAGES][ILBC_ULP_CLASSES + 2];
78 int extra_cb_gain[CB_NSTAGES][ILBC_ULP_CLASSES + 2];
79 int cb_index[ILBC_NUM_SUB_MAX][CB_NSTAGES][ILBC_ULP_CLASSES + 2];
80 int cb_gain[ILBC_NUM_SUB_MAX][CB_NSTAGES][ILBC_ULP_CLASSES + 2];
99 float anaMem[ILBC_LPC_FILTERORDER];
102 float lsfold[ILBC_LPC_FILTERORDER];
103 float lsfdeqold[ILBC_LPC_FILTERORDER];
106 float lpc_buffer[LPC_LOOKBACK + ILBC_BLOCK_LEN_MAX];
128 float syntMem[ILBC_LPC_FILTERORDER];
131 float lsfdeqold[ILBC_LPC_FILTERORDER];
137 int prevLag, consPLICount, prevPLI, prev_enh_pl;
138 float prevLpc[ILBC_LPC_FILTERORDER + 1];
139 float prevResidual[ILBC_NUM_SUB_MAX*SUBL];
144 float old_syntdenum[(ILBC_LPC_FILTERORDER + 1)*ILBC_NUM_SUB_MAX];
151 float enh_buf[ENH_BUFL];
152 float enh_period[ENH_NBLOCKS_TOT];
155#if defined(__cplusplus)
188 const uint8_t bytes[],
211#if defined(__cplusplus)
Definition: ilbc/ilbc.h:114
Definition: ilbc/ilbc.h:85
Definition: ilbc/ilbc.h:71