yading@10
|
1 /*
|
yading@10
|
2 * AAC data declarations
|
yading@10
|
3 * Copyright (c) 2005-2006 Oded Shimon ( ods15 ods15 dyndns org )
|
yading@10
|
4 * Copyright (c) 2006-2007 Maxim Gavrilov ( maxim.gavrilov gmail com )
|
yading@10
|
5 *
|
yading@10
|
6 * This file is part of FFmpeg.
|
yading@10
|
7 *
|
yading@10
|
8 * FFmpeg is free software; you can redistribute it and/or
|
yading@10
|
9 * modify it under the terms of the GNU Lesser General Public
|
yading@10
|
10 * License as published by the Free Software Foundation; either
|
yading@10
|
11 * version 2.1 of the License, or (at your option) any later version.
|
yading@10
|
12 *
|
yading@10
|
13 * FFmpeg is distributed in the hope that it will be useful,
|
yading@10
|
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
yading@10
|
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
yading@10
|
16 * Lesser General Public License for more details.
|
yading@10
|
17 *
|
yading@10
|
18 * You should have received a copy of the GNU Lesser General Public
|
yading@10
|
19 * License along with FFmpeg; if not, write to the Free Software
|
yading@10
|
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
yading@10
|
21 */
|
yading@10
|
22
|
yading@10
|
23 /**
|
yading@10
|
24 * @file
|
yading@10
|
25 * AAC data declarations
|
yading@10
|
26 * @author Oded Shimon ( ods15 ods15 dyndns org )
|
yading@10
|
27 * @author Maxim Gavrilov ( maxim.gavrilov gmail com )
|
yading@10
|
28 */
|
yading@10
|
29
|
yading@10
|
30 #ifndef AVCODEC_AACTAB_H
|
yading@10
|
31 #define AVCODEC_AACTAB_H
|
yading@10
|
32
|
yading@10
|
33 #include "libavutil/mem.h"
|
yading@10
|
34 #include "aac.h"
|
yading@10
|
35 #include "aac_tablegen_decl.h"
|
yading@10
|
36
|
yading@10
|
37 #include <stdint.h>
|
yading@10
|
38
|
yading@10
|
39 /* NOTE:
|
yading@10
|
40 * Tables in this file are used by the AAC decoder and will be used by the AAC
|
yading@10
|
41 * encoder.
|
yading@10
|
42 */
|
yading@10
|
43
|
yading@10
|
44 /* @name window coefficients
|
yading@10
|
45 * @{
|
yading@10
|
46 */
|
yading@10
|
47 DECLARE_ALIGNED(32, extern float, ff_aac_kbd_long_1024)[1024];
|
yading@10
|
48 DECLARE_ALIGNED(32, extern float, ff_aac_kbd_short_128)[128];
|
yading@10
|
49 // @}
|
yading@10
|
50
|
yading@10
|
51 /* @name number of scalefactor window bands for long and short transform windows respectively
|
yading@10
|
52 * @{
|
yading@10
|
53 */
|
yading@10
|
54 extern const uint8_t ff_aac_num_swb_1024[];
|
yading@10
|
55 extern const uint8_t ff_aac_num_swb_128 [];
|
yading@10
|
56 // @}
|
yading@10
|
57
|
yading@10
|
58 extern const uint8_t ff_aac_pred_sfb_max [];
|
yading@10
|
59
|
yading@10
|
60 extern const uint32_t ff_aac_scalefactor_code[121];
|
yading@10
|
61 extern const uint8_t ff_aac_scalefactor_bits[121];
|
yading@10
|
62
|
yading@10
|
63 extern const uint16_t * const ff_aac_spectral_codes[11];
|
yading@10
|
64 extern const uint8_t * const ff_aac_spectral_bits [11];
|
yading@10
|
65 extern const uint16_t ff_aac_spectral_sizes[11];
|
yading@10
|
66
|
yading@10
|
67 extern const float *ff_aac_codebook_vectors[];
|
yading@10
|
68 extern const float *ff_aac_codebook_vector_vals[];
|
yading@10
|
69 extern const uint16_t *ff_aac_codebook_vector_idx[];
|
yading@10
|
70
|
yading@10
|
71 extern const uint16_t * const ff_swb_offset_1024[13];
|
yading@10
|
72 extern const uint16_t * const ff_swb_offset_128 [13];
|
yading@10
|
73
|
yading@10
|
74 extern const uint8_t ff_tns_max_bands_1024[13];
|
yading@10
|
75 extern const uint8_t ff_tns_max_bands_128 [13];
|
yading@10
|
76
|
yading@10
|
77 #endif /* AVCODEC_AACTAB_H */
|