adpcm_data.h File Reference

ADPCM tables. More...

#include <stdint.h>

Go to the source code of this file.

Variables

const int8_t ff_adpcm_index_table [16]
const int16_t ff_adpcm_step_table [89]
 This is the step table.
const int16_t ff_adpcm_AdaptationTable []
const uint8_t ff_adpcm_AdaptCoeff1 []
 Divided by 4 to fit in 8-bit integers.
const int8_t ff_adpcm_AdaptCoeff2 []
 Divided by 4 to fit in 8-bit integers.
const int16_t ff_adpcm_yamaha_indexscale []
const int8_t ff_adpcm_yamaha_difflookup []

Detailed Description

ADPCM tables.

Definition in file adpcm_data.h.

Variable Documentation

const int16_t ff_adpcm_AdaptationTable[]
const uint8_t ff_adpcm_AdaptCoeff1[]

Divided by 4 to fit in 8-bit integers.

Definition at line 61 of file adpcm_data.c.

Referenced by adpcm_decode_frame(), and adpcm_encode_init().

const int8_t ff_adpcm_AdaptCoeff2[]

Divided by 4 to fit in 8-bit integers.

Definition at line 66 of file adpcm_data.c.

Referenced by adpcm_decode_frame(), and adpcm_encode_init().

const int16_t ff_adpcm_step_table[89]

This is the step table.

Note that many programs use slight deviations from this table, but such deviations are negligible:

Definition at line 40 of file adpcm_data.c.

Referenced by adpcm_compress_trellis(), adpcm_decode_frame(), adpcm_ima_compress_sample(), adpcm_ima_expand_nibble(), adpcm_ima_qt_compress_sample(), and adpcm_ima_qt_expand_nibble().

const int8_t ff_adpcm_yamaha_difflookup[]
const int16_t ff_adpcm_yamaha_indexscale[]