1 /*
2 * AAC decoder
3 * Copyright (c) 2005-2006 Oded Shimon ( ods15 ods15 dyndns org )
4 * Copyright (c) 2006-2007 Maxim Gavrilov ( maxim.gavrilov gmail com )
5 * Copyright (c) 2008-2013 Alex Converse <alex.converse@gmail.com>
6 *
7 * AAC LATM decoder
8 * Copyright (c) 2008-2010 Paul Kendall <paul@kcbbs.gen.nz>
9 * Copyright (c) 2010 Janne Grunau <janne-libav@jannau.net>
10 *
11 * AAC decoder fixed-point implementation
12 * Copyright (c) 2013
13 * MIPS Technologies, Inc., California.
14 *
15 * This file is part of FFmpeg.
16 *
17 * FFmpeg is free software; you can redistribute it and/or
18 * modify it under the terms of the GNU Lesser General Public
19 * License as published by the Free Software Foundation; either
20 * version 2.1 of the License, or (at your option) any later version.
21 *
22 * FFmpeg is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 * Lesser General Public License for more details.
26 *
27 * You should have received a copy of the GNU Lesser General Public
28 * License along with FFmpeg; if not, write to the Free Software
29 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
30 */
31
33
35
37
45
52
54 {
56
59
62
64
66 }
67
70 Q30(1.0905077327),
//2^(1/8)
71 Q30(1.1892071150),
//2^(2/8)
72 Q30(1.2968395547),
//2^(3/8)
73 Q30(1.4142135624),
//2^(4/8)
74 Q30(1.5422108254),
//2^(5/8)
75 Q30(1.6817928305),
//2^(6/8)
76 Q30(1.8340080864),
//2^(7/8)
77 };
78
79 /** Dequantization-related */
81
86
88 {
91
94
95 aac_dsp_init_fixed(&ac->
dsp);
96 aac_proc_init_fixed(&ac->
proc);
97
101
103
105 }