• 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 #include "aac_tablegen_decl.h"
00036 
00037 #include <stdint.h>
00038 
00039 /* NOTE:
00040  * Tables in this file are used by the AAC decoder and will be used by the AAC
00041  * encoder.
00042  */
00043 
00044 /* @name window coefficients
00045  * @{
00046  */
00047 DECLARE_ALIGNED(16, extern float,  ff_aac_kbd_long_1024)[1024];
00048 DECLARE_ALIGNED(16, extern float,  ff_aac_kbd_short_128)[128];
00049 // @}
00050 
00051 /* @name number of scalefactor window bands for long and short transform windows respectively
00052  * @{
00053  */
00054 extern const uint8_t ff_aac_num_swb_1024[];
00055 extern const uint8_t ff_aac_num_swb_128 [];
00056 // @}
00057 
00058 extern const uint8_t ff_aac_pred_sfb_max [];
00059 
00060 extern const uint32_t ff_aac_scalefactor_code[121];
00061 extern const uint8_t  ff_aac_scalefactor_bits[121];
00062 
00063 extern const uint16_t * const ff_aac_spectral_codes[11];
00064 extern const uint8_t  * const ff_aac_spectral_bits [11];
00065 extern const uint16_t  ff_aac_spectral_sizes[11];
00066 
00067 extern const float *ff_aac_codebook_vectors[];
00068 extern const float *ff_aac_codebook_vector_vals[];
00069 extern const uint16_t *ff_aac_codebook_vector_idx[];
00070 
00071 extern const uint16_t * const ff_swb_offset_1024[13];
00072 extern const uint16_t * const ff_swb_offset_128 [13];
00073 
00074 extern const uint8_t ff_tns_max_bands_1024[13];
00075 extern const uint8_t ff_tns_max_bands_128 [13];
00076 
00077 #endif /* AVCODEC_AACTAB_H */

Generated on Fri Sep 16 2011 17:17:33 for FFmpeg by  doxygen 1.7.1