#include <stdlib.h>#include <inttypes.h>#include <string.h>#include <tgmath.h>#include <math.h>#include "floating_fudge.h"#include "spandsp/telephony.h"#include "spandsp/fast_convert.h"#include "spandsp/saturated.h"#include "spandsp/ima_adpcm.h"#include "spandsp/private/ima_adpcm.h"Defines | |
| #define | STEP_MAX 88 |
Functions | |
| ima_adpcm_state_t * | ima_adpcm_init (ima_adpcm_state_t *s, int variant, int chunk_size) |
| int | ima_adpcm_release (ima_adpcm_state_t *s) |
| int | ima_adpcm_free (ima_adpcm_state_t *s) |
| int | ima_adpcm_decode (ima_adpcm_state_t *s, int16_t amp[], const uint8_t ima_data[], int ima_bytes) |
| int | ima_adpcm_encode (ima_adpcm_state_t *s, uint8_t ima_data[], const int16_t amp[], int len) |
| #define STEP_MAX 88 |
The number of ADPCM step sizes
1.6.2