1 /*
2 * AAC Spectral Band Replication decoding functions
3 * Copyright (c) 2008-2009 Robert Swain ( rob opendot cl )
4 * Copyright (c) 2009-2010 Alex Converse <alex.converse@gmail.com>
5 *
6 * This file is part of FFmpeg.
7 *
8 * FFmpeg is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * FFmpeg is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with FFmpeg; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22
24 {
25 int k;
26 for (k = 0; k < 64; k++) {
27 INTFLOAT f = z[k] + z[k + 64] + z[k + 128] + z[k + 192] + z[k + 256];
29 }
30 }
31
33 {
35 for (
i = 0;
i < 64;
i++) {
36 #if USE_FIXED
39 #else
42 #endif
43 }
44 }
45
48 int kx, int m_max)
49 {
51 }
52
55 int kx, int m_max)
56 {
57 INTFLOAT phi_sign = 1 - 2 * (kx & 1);
59 }
60
63 int kx, int m_max)
64 {
66 }
67
70 int kx, int m_max)
71 {
72 INTFLOAT phi_sign = 1 - 2 * (kx & 1);
74 }
75
77 {
88
93
94 #if !USE_FIXED
95 if (ARCH_ARM)
97 if (ARCH_AARCH64)
99 if (ARCH_X86)
101 if (ARCH_MIPS)
103 #endif /* !USE_FIXED */
104 }