FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
adpcm_data.h File Reference

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.
 
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.
 
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 []
 
const int16_t ff_adpcm_afc_coeffs [2][16]
 

Detailed Description

ADPCM tables.

Definition in file adpcm_data.h.

Variable Documentation

const uint8_t ff_adpcm_ima_block_sizes[4] = { 4, 12, 4, 20 }
static

Definition at line 31 of file adpcm_data.h.

Referenced by get_nb_samples().

const uint8_t ff_adpcm_ima_block_samples[4] = { 16, 32, 8, 32 }
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]
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[]
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(), 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(), and adpcm_encode_init().

const int16_t ff_adpcm_yamaha_indexscale[]
const int8_t ff_adpcm_yamaha_difflookup[]
const int16_t ff_adpcm_afc_coeffs[2][16]

Definition at line 109 of file adpcm_data.c.

Referenced by adpcm_decode_frame().