2011-09-07 22:34:09 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2001-2003 The ffmpeg Project
|
|
|
|
*
|
2011-09-12 18:49:20 +00:00
|
|
|
* This file is part of FFmpeg.
|
2011-09-07 22:34:09 +00:00
|
|
|
*
|
2011-09-12 18:49:20 +00:00
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2011-09-07 22:34:09 +00:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
2011-09-12 18:49:20 +00:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2011-09-07 22:34:09 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2011-09-12 18:49:20 +00:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2011-09-07 22:34:09 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* ADPCM tables
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AVCODEC_ADPCM_DATA_H
|
|
|
|
#define AVCODEC_ADPCM_DATA_H
|
|
|
|
|
2011-09-13 14:59:47 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2012-12-01 14:52:22 +00:00
|
|
|
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 };
|
|
|
|
|
2014-02-07 15:42:17 +00:00
|
|
|
extern const int8_t * const ff_adpcm_index_tables[4];
|
2011-09-07 22:34:09 +00:00
|
|
|
extern const int8_t ff_adpcm_index_table[16];
|
|
|
|
extern const int16_t ff_adpcm_step_table[89];
|
2012-11-21 15:29:15 +00:00
|
|
|
extern const int16_t ff_adpcm_oki_step_table[49];
|
2011-09-07 22:34:09 +00:00
|
|
|
extern const int16_t ff_adpcm_AdaptationTable[];
|
|
|
|
extern const uint8_t ff_adpcm_AdaptCoeff1[];
|
|
|
|
extern const int8_t ff_adpcm_AdaptCoeff2[];
|
|
|
|
extern const int16_t ff_adpcm_yamaha_indexscale[];
|
|
|
|
extern const int8_t ff_adpcm_yamaha_difflookup[];
|
2012-11-19 10:51:44 +00:00
|
|
|
extern const int16_t ff_adpcm_afc_coeffs[2][16];
|
2011-09-07 22:34:09 +00:00
|
|
|
|
|
|
|
#endif /* AVCODEC_ADPCM_DATA_H */
|