#include "dsp.h"
Macros | |
#define | ADPCM_IMA_DECODE_NIBBLE(v_nibble, v_step_index, v_predicted_value) |
#define | ADPCM_IMA_ENCODE_NIBBLE(v_out, v_nibble, v_step_index, v_predicted_value) |
Functions | |
void | dsp_adpcm_ima_decode (S16 *out, void *in, int size, S16 *step_index, S16 *predicted_value) |
IMA/DVI ADPCM decoder. More... | |
S16 | dsp_adpcm_ima_decode_nibble (S8 nibble, S16 *step_index, S16 *predicted_value) |
IMA/DVI ADPCM sample decoder. More... | |
void | dsp_adpcm_ima_encode (void *out, S16 *in, int size, S16 *step_index, S16 *predicted_value) |
IMA/DVI ADPCM encoder. More... | |
S8 | dsp_adpcm_ima_encode_nibble (S16 nibble, S16 *step_index, S16 *predicted_value) |
IMA/DVI ADPCM sample encoder. More... | |
Variables | |
static int | adpcm_ima_index_table [16] |
static int | adpcm_ima_step_table [89] |
#define ADPCM_IMA_DECODE_NIBBLE | ( | v_nibble, | |
v_step_index, | |||
v_predicted_value | |||
) |
Referenced by dsp_adpcm_ima_decode(), and dsp_adpcm_ima_decode_nibble().
#define ADPCM_IMA_ENCODE_NIBBLE | ( | v_out, | |
v_nibble, | |||
v_step_index, | |||
v_predicted_value | |||
) |
Referenced by dsp_adpcm_ima_encode(), and dsp_adpcm_ima_encode_nibble().
|
static |
|
static |