FFmpeg
 All Data Structures 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

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 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 40 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_swf_decode(), decode_frame(), and decode_init().

const int16_t ff_adpcm_oki_step_table[49]

Definition at line 52 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 69 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 74 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 88 of file adpcm_data.c.

Referenced by adpcm_decode_frame().