libavcodec/aactab.h
f25c244f
 /*
fed3f069
  * AAC data declarations
f25c244f
  * Copyright (c) 2005-2006 Oded Shimon ( ods15 ods15 dyndns org )
  * Copyright (c) 2006-2007 Maxim Gavrilov ( maxim.gavrilov gmail com )
  *
  * This file is part of FFmpeg.
  *
  * FFmpeg is free software; you can redistribute it and/or
  * 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.
  *
  * FFmpeg is distributed in the hope that it will be useful,
  * 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
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /**
ba87f080
  * @file
fed3f069
  * AAC data declarations
f25c244f
  * @author Oded Shimon  ( ods15 ods15 dyndns org )
  * @author Maxim Gavrilov ( maxim.gavrilov gmail com )
  */
 
98790382
 #ifndef AVCODEC_AACTAB_H
 #define AVCODEC_AACTAB_H
f25c244f
 
cc0591da
 #include "libavutil/mem.h"
fed3f069
 #include "aac.h"
e29af818
 #include "aac_tablegen_decl.h"
f25c244f
 
fed3f069
 #include <stdint.h>
f25c244f
 
9cc04edf
 /* NOTE:
  * Tables in this file are used by the AAC decoder and will be used by the AAC
  * encoder.
  */
 
9ffd5c1c
 /* @name window coefficients
  * @{
  */
5ff01259
 DECLARE_ALIGNED(32, extern float,  ff_aac_kbd_long_1024)[1024];
 DECLARE_ALIGNED(32, extern float,  ff_aac_kbd_short_128)[128];
9ffd5c1c
 // @}
 
9cc04edf
 /* @name number of scalefactor window bands for long and short transform windows respectively
  * @{
  */
 extern const uint8_t ff_aac_num_swb_1024[];
 extern const uint8_t ff_aac_num_swb_128 [];
 // @}
 
7633a041
 extern const uint8_t ff_aac_pred_sfb_max [];
 
fed3f069
 extern const uint32_t ff_aac_scalefactor_code[121];
 extern const uint8_t  ff_aac_scalefactor_bits[121];
f25c244f
 
9b5ede5b
 extern const uint16_t * const ff_aac_spectral_codes[11];
 extern const uint8_t  * const ff_aac_spectral_bits [11];
fed3f069
 extern const uint16_t  ff_aac_spectral_sizes[11];
f25c244f
 
848a5815
 extern const float *ff_aac_codebook_vectors[];
c816d3d0
 extern const float *ff_aac_codebook_vector_vals[];
 extern const uint16_t *ff_aac_codebook_vector_idx[];
f25c244f
 
7eb1c364
 extern const uint16_t * const ff_swb_offset_1024[13];
 extern const uint16_t * const ff_swb_offset_128 [13];
85e9296f
 
 extern const uint8_t ff_tns_max_bands_1024[13];
 extern const uint8_t ff_tns_max_bands_128 [13];
 
98790382
 #endif /* AVCODEC_AACTAB_H */