• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

libavcodec/aactab.h

Go to the documentation of this file.
00001 /*
00002  * AAC data declarations
00003  * Copyright (c) 2005-2006 Oded Shimon ( ods15 ods15 dyndns org )
00004  * Copyright (c) 2006-2007 Maxim Gavrilov ( maxim.gavrilov gmail com )
00005  *
00006  * This file is part of FFmpeg.
00007  *
00008  * FFmpeg is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2.1 of the License, or (at your option) any later version.
00012  *
00013  * FFmpeg is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with FFmpeg; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00021  */
00022 
00030 #ifndef AVCODEC_AACTAB_H
00031 #define AVCODEC_AACTAB_H
00032 
00033 #include "libavutil/mem.h"
00034 #include "aac.h"
00035 
00036 #include <stdint.h>
00037 
00038 /* NOTE:
00039  * Tables in this file are used by the AAC decoder and will be used by the AAC
00040  * encoder.
00041  */
00042 
00043 /* @name window coefficients
00044  * @{
00045  */
00046 DECLARE_ALIGNED(16, extern float,  ff_aac_kbd_long_1024[1024]);
00047 DECLARE_ALIGNED(16, extern float,  ff_aac_kbd_short_128[128]);
00048 // @}
00049 
00050 /* @name number of scalefactor window bands for long and short transform windows respectively
00051  * @{
00052  */
00053 extern const uint8_t ff_aac_num_swb_1024[];
00054 extern const uint8_t ff_aac_num_swb_128 [];
00055 // @}
00056 
00057 extern const uint8_t ff_aac_pred_sfb_max [];
00058 
00059 extern const uint32_t ff_aac_scalefactor_code[121];
00060 extern const uint8_t  ff_aac_scalefactor_bits[121];
00061 
00062 extern const uint16_t * const ff_aac_spectral_codes[11];
00063 extern const uint8_t  * const ff_aac_spectral_bits [11];
00064 extern const uint16_t  ff_aac_spectral_sizes[11];
00065 
00066 extern const float *ff_aac_codebook_vectors[];
00067 
00068 #if CONFIG_HARDCODED_TABLES
00069 extern const float ff_aac_pow2sf_tab[428];
00070 #else
00071 extern       float ff_aac_pow2sf_tab[428];
00072 #endif /* CONFIG_HARDCODED_TABLES */
00073 
00074 #endif /* AVCODEC_AACTAB_H */

Generated on Tue Nov 4 2014 12:59:21 for ffmpeg by  doxygen 1.7.1