![]() |
KVIrc
4.9.2
DeveloperAPIs
|
Macros | |
| #define | _ADPCMCODEC_CPP_ |
| #define | ADPCM_PACKED_FRAME_SIZE_IN_BYTES 512 |
| #define | ADPCM_UNPACKED_FRAME_SIZE_IN_BYTES 2048 |
| #define | ADPCM_UNPACKED_FRAME_SIZE_IN_SHORTS 1024 |
| #define | signed |
Functions | |
| void | ADPCM_compress (short indata[], char outdata[], int len, ADPCM_state *state) |
| void | ADPCM_uncompress (char indata[], short outdata[], int len, ADPCM_state *state) |
Variables | |
| static int | indexTable [16] |
| static int | stepsizeTable [89] |
| #define _ADPCMCODEC_CPP_ |
| #define ADPCM_PACKED_FRAME_SIZE_IN_BYTES 512 |
| #define ADPCM_UNPACKED_FRAME_SIZE_IN_BYTES 2048 |
| #define ADPCM_UNPACKED_FRAME_SIZE_IN_SHORTS 1024 |
Referenced by DccVoiceAdpcmCodec::decode(), and DccVoiceAdpcmCodec::encode().
| #define signed |
| void ADPCM_compress | ( | short | indata[], |
| char | outdata[], | ||
| int | len, | ||
| ADPCM_state * | state | ||
| ) |
References adpcm_state::index, indexTable, stepsizeTable, and adpcm_state::valprev.
Referenced by DccVoiceAdpcmCodec::encode().
| void ADPCM_uncompress | ( | char | indata[], |
| short | outdata[], | ||
| int | len, | ||
| ADPCM_state * | state | ||
| ) |
References adpcm_state::index, indexTable, stepsizeTable, and adpcm_state::valprev.
Referenced by DccVoiceAdpcmCodec::decode().
|
static |
Referenced by ADPCM_compress(), and ADPCM_uncompress().
|
static |
Referenced by ADPCM_compress(), and ADPCM_uncompress().
1.8.7