FFmpeg
4.0
|
ADPCM tables. More...
#include <stdint.h>
Go to the source code of this file.
Variables | |
static const uint8_t | ff_adpcm_ima_block_sizes [4] = { 4, 12, 4, 20 } |
static const uint8_t | ff_adpcm_ima_block_samples [4] = { 16, 32, 8, 32 } |
const int8_t *const | ff_adpcm_index_tables [4] |
const int8_t | ff_adpcm_index_table [16] |
const int16_t | ff_adpcm_step_table [89] |
This is the step table. More... | |
const int16_t | ff_adpcm_oki_step_table [49] |
const int16_t | ff_adpcm_AdaptationTable [] |
const uint8_t | ff_adpcm_AdaptCoeff1 [] |
Divided by 4 to fit in 8-bit integers. More... | |
const int8_t | ff_adpcm_AdaptCoeff2 [] |
Divided by 4 to fit in 8-bit integers. More... | |
const int16_t | ff_adpcm_yamaha_indexscale [] |
const int8_t | ff_adpcm_yamaha_difflookup [] |
const int16_t | ff_adpcm_afc_coeffs [2][16] |
const int16_t | ff_adpcm_mtaf_stepsize [32][16] |
ADPCM tables.
Definition in file adpcm_data.h.
|
static |
Definition at line 31 of file adpcm_data.h.
Referenced by adpcm_decode_frame(), and get_nb_samples().
|
static |
Definition at line 32 of file adpcm_data.h.
Referenced by adpcm_decode_frame(), and get_nb_samples().
const int8_t* const ff_adpcm_index_tables[4] |
Definition at line 50 of file adpcm_data.c.
Referenced by adpcm_ima_wav_expand_nibble().
const int8_t ff_adpcm_index_table[16] |
Definition at line 40 of file adpcm_data.c.
Referenced by adpcm_compress_trellis(), adpcm_ima_compress_sample(), adpcm_ima_expand_nibble(), adpcm_ima_oki_expand_nibble(), adpcm_ima_qt_compress_sample(), adpcm_ima_qt_expand_nibble(), and adpcm_mtaf_expand_nibble().
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 61 of file adpcm_data.c.
Referenced by adpcm_compress_trellis(), adpcm_ima_compress_sample(), adpcm_ima_expand_nibble(), adpcm_ima_qt_compress_sample(), adpcm_ima_qt_expand_nibble(), adpcm_ima_wav_expand_nibble(), adpcm_swf_decode(), decode_frame(), and decode_init().
const int16_t ff_adpcm_oki_step_table[49] |
Definition at line 73 of file adpcm_data.c.
Referenced by adpcm_ima_oki_expand_nibble().
const int16_t ff_adpcm_AdaptationTable[] |
Definition at line 84 of file adpcm_data.c.
Referenced by adpcm_compress_trellis(), adpcm_ct_expand_nibble(), adpcm_ms_compress_sample(), and adpcm_ms_expand_nibble().
const uint8_t ff_adpcm_AdaptCoeff1[] |
Divided by 4 to fit in 8-bit integers.
Definition at line 90 of file adpcm_data.c.
Referenced by adpcm_decode_frame(), adpcm_encode_frame(), and adpcm_encode_init().
const int8_t ff_adpcm_AdaptCoeff2[] |
Divided by 4 to fit in 8-bit integers.
Definition at line 95 of file adpcm_data.c.
Referenced by adpcm_decode_frame(), adpcm_encode_frame(), and adpcm_encode_init().
const int16_t ff_adpcm_yamaha_indexscale[] |
Definition at line 99 of file adpcm_data.c.
Referenced by adpcm_compress_trellis(), adpcm_yamaha_compress_sample(), and adpcm_yamaha_expand_nibble().
const int8_t ff_adpcm_yamaha_difflookup[] |
Definition at line 104 of file adpcm_data.c.
Referenced by adpcm_ima_compress_sample(), adpcm_yamaha_compress_sample(), and adpcm_yamaha_expand_nibble().
const int16_t ff_adpcm_afc_coeffs[2][16] |
Definition at line 109 of file adpcm_data.c.
Referenced by adpcm_decode_frame().
const int16_t ff_adpcm_mtaf_stepsize[32][16] |
Definition at line 114 of file adpcm_data.c.
Referenced by adpcm_mtaf_expand_nibble().