2011-09-08 01:34:09 +03:00
|
|
|
/*
|
2014-08-23 22:39:22 +03:00
|
|
|
* Copyright (c) 2001-2003 The FFmpeg Project
|
2011-09-08 01:34:09 +03:00
|
|
|
*
|
2011-09-12 21:49:20 +03:00
|
|
|
* This file is part of FFmpeg.
|
2011-09-08 01:34:09 +03:00
|
|
|
*
|
2011-09-12 21:49:20 +03:00
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2011-09-08 01:34:09 +03: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 21:49:20 +03:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2011-09-08 01:34:09 +03: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 21:49:20 +03:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2011-09-08 01:34:09 +03: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 17:59:47 +03:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2012-12-01 17:52:22 +03: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 18:42:17 +03:00
|
|
|
extern const int8_t * const ff_adpcm_index_tables[4];
|
2011-09-08 01:34:09 +03:00
|
|
|
extern const int8_t ff_adpcm_index_table[16];
|
|
|
|
extern const int16_t ff_adpcm_step_table[89];
|
2012-11-21 18:29:15 +03:00
|
|
|
extern const int16_t ff_adpcm_oki_step_table[49];
|
2011-09-08 01:34:09 +03: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 13:51:44 +03:00
|
|
|
extern const int16_t ff_adpcm_afc_coeffs[2][16];
|
2011-09-08 01:34:09 +03:00
|
|
|
|
|
|
|
#endif /* AVCODEC_ADPCM_DATA_H */
|