yading@10: /* yading@10: * AAC data declarations yading@10: * Copyright (c) 2005-2006 Oded Shimon ( ods15 ods15 dyndns org ) yading@10: * Copyright (c) 2006-2007 Maxim Gavrilov ( maxim.gavrilov gmail com ) yading@10: * yading@10: * This file is part of FFmpeg. yading@10: * yading@10: * FFmpeg is free software; you can redistribute it and/or yading@10: * modify it under the terms of the GNU Lesser General Public yading@10: * License as published by the Free Software Foundation; either yading@10: * version 2.1 of the License, or (at your option) any later version. yading@10: * yading@10: * FFmpeg is distributed in the hope that it will be useful, yading@10: * but WITHOUT ANY WARRANTY; without even the implied warranty of yading@10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU yading@10: * Lesser General Public License for more details. yading@10: * yading@10: * You should have received a copy of the GNU Lesser General Public yading@10: * License along with FFmpeg; if not, write to the Free Software yading@10: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA yading@10: */ yading@10: yading@10: /** yading@10: * @file yading@10: * AAC data declarations yading@10: * @author Oded Shimon ( ods15 ods15 dyndns org ) yading@10: * @author Maxim Gavrilov ( maxim.gavrilov gmail com ) yading@10: */ yading@10: yading@10: #ifndef AVCODEC_AACTAB_H yading@10: #define AVCODEC_AACTAB_H yading@10: yading@10: #include "libavutil/mem.h" yading@10: #include "aac.h" yading@10: #include "aac_tablegen_decl.h" yading@10: yading@10: #include yading@10: yading@10: /* NOTE: yading@10: * Tables in this file are used by the AAC decoder and will be used by the AAC yading@10: * encoder. yading@10: */ yading@10: yading@10: /* @name window coefficients yading@10: * @{ yading@10: */ yading@10: DECLARE_ALIGNED(32, extern float, ff_aac_kbd_long_1024)[1024]; yading@10: DECLARE_ALIGNED(32, extern float, ff_aac_kbd_short_128)[128]; yading@10: // @} yading@10: yading@10: /* @name number of scalefactor window bands for long and short transform windows respectively yading@10: * @{ yading@10: */ yading@10: extern const uint8_t ff_aac_num_swb_1024[]; yading@10: extern const uint8_t ff_aac_num_swb_128 []; yading@10: // @} yading@10: yading@10: extern const uint8_t ff_aac_pred_sfb_max []; yading@10: yading@10: extern const uint32_t ff_aac_scalefactor_code[121]; yading@10: extern const uint8_t ff_aac_scalefactor_bits[121]; yading@10: yading@10: extern const uint16_t * const ff_aac_spectral_codes[11]; yading@10: extern const uint8_t * const ff_aac_spectral_bits [11]; yading@10: extern const uint16_t ff_aac_spectral_sizes[11]; yading@10: yading@10: extern const float *ff_aac_codebook_vectors[]; yading@10: extern const float *ff_aac_codebook_vector_vals[]; yading@10: extern const uint16_t *ff_aac_codebook_vector_idx[]; yading@10: yading@10: extern const uint16_t * const ff_swb_offset_1024[13]; yading@10: extern const uint16_t * const ff_swb_offset_128 [13]; yading@10: yading@10: extern const uint8_t ff_tns_max_bands_1024[13]; yading@10: extern const uint8_t ff_tns_max_bands_128 [13]; yading@10: yading@10: #endif /* AVCODEC_AACTAB_H */