summaryrefslogtreecommitdiff
path: root/libavcodec/adpcm_data.h
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-12-01 14:52:22 +0000
committerPaul B Mahol <onemda@gmail.com>2013-07-05 18:10:27 +0000
commit6516a25f04edc90b8dbc8b7f48120b08b7517ae2 (patch)
treef64a179d4e4cd919bfa0c1867f1ead31b3da194b /libavcodec/adpcm_data.h
parent48f2750de8a47671aa4e09e91d7ab811558d2c2f (diff)
downloadffmpeg-6516a25f04edc90b8dbc8b7f48120b08b7517ae2.tar.gz
ADPCM IMA WAV 2, 3 and 5 bits decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/adpcm_data.h')
-rw-r--r--libavcodec/adpcm_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/adpcm_data.h b/libavcodec/adpcm_data.h
index 0ebb7c3f04..a14d520885 100644
--- a/libavcodec/adpcm_data.h
+++ b/libavcodec/adpcm_data.h
@@ -28,6 +28,10 @@
#include <stdint.h>
+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 };
+
+extern const int8_t const *ff_adpcm_index_tables[4];
extern const int8_t ff_adpcm_index_table[16];
extern const int16_t ff_adpcm_step_table[89];
extern const int16_t ff_adpcm_oki_step_table[49];