annotate libfaad2/ssr_ipqf.c @ 25141:fba022abe464

100l in play_tree_parser_get_line, check that there actually is a previous character before comparing it against '\r'. Fixes a possible crash on playlist file that is empty or starts with an empty line.
author reimar
date Mon, 26 Nov 2007 20:35:27 +0000
parents 59b6fa5b4201
children e83eef58b30a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1 /*
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
diff changeset
3 ** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.com
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
4 **
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
5 ** This program is free software; you can redistribute it and/or modify
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
6 ** it under the terms of the GNU General Public License as published by
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
7 ** the Free Software Foundation; either version 2 of the License, or
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
8 ** (at your option) any later version.
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
9 **
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
10 ** This program is distributed in the hope that it will be useful,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
11 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
12 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
13 ** GNU General Public License for more details.
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
14 **
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
15 ** You should have received a copy of the GNU General Public License
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
16 ** along with this program; if not, write to the Free Software
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
17 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
18 **
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
19 ** Any non-GPL usage of this software or parts of this software is strictly
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
20 ** forbidden.
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
21 **
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
22 ** Commercial non-GPL licensing of this software is possible.
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
24 **
18141
59b6fa5b4201 Update to faad2 cvs 20040915+MPlayer fixes
rtognimp
parents: 14727
diff changeset
25 ** $Id: ssr_ipqf.c,v 1.14 2004/09/04 14:56:29 menno Exp $
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
26 **/
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
27
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
28 #include "common.h"
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
29 #include "structs.h"
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
30
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
31 #ifdef SSR_DEC
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
32
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
33 #include "ssr.h"
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
34 #include "ssr_ipqf.h"
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
35
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
36 static real_t **app_pqfbuf;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
37 static real_t **pp_q0, **pp_t0, **pp_t1;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
38
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
39 void gc_set_protopqf(real_t *p_proto)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
40 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
41 int j;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
42 static real_t a_half[48] =
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
43 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
44 1.2206911375946939E-05, 1.7261986723798209E-05, 1.2300093657077942E-05,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
45 -1.0833943097791965E-05, -5.7772498639901686E-05, -1.2764767618947719E-04,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
46 -2.0965186675013334E-04, -2.8166673689263850E-04, -3.1234860429017460E-04,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
47 -2.6738519958452353E-04, -1.1949424681824722E-04, 1.3965139412648678E-04,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
48 4.8864136409185725E-04, 8.7044629275148344E-04, 1.1949430269934793E-03,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
49 1.3519708175026700E-03, 1.2346314373964412E-03, 7.6953209114159191E-04,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
50 -5.2242432579537141E-05, -1.1516092887213454E-03, -2.3538469841711277E-03,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
51 -3.4033123072127277E-03, -4.0028551071986133E-03, -3.8745415659693259E-03,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
52 -2.8321073426874310E-03, -8.5038892323704195E-04, 1.8856751185350931E-03,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
53 4.9688741735340923E-03, 7.8056704536795926E-03, 9.7027909685901654E-03,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
54 9.9960423120166159E-03, 8.2019366335594487E-03, 4.1642072876103365E-03,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
55 -1.8364453822737758E-03, -9.0384863094167686E-03, -1.6241528177129844E-02,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
56 -2.1939551286300665E-02, -2.4533179947088161E-02, -2.2591663337768787E-02,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
57 -1.5122066420044672E-02, -1.7971713448186293E-03, 1.6903413428575379E-02,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
58 3.9672315874127042E-02, 6.4487527248102796E-02, 8.8850025474701726E-02,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
59 0.1101132906105560 , 0.1258540205143761 , 0.1342239368467012
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
60 };
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
61
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
62 for (j = 0; j < 48; ++j)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
63 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
64 p_proto[j] = p_proto[95-j] = a_half[j];
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
65 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
66 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
67
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
68 void gc_setcoef_eff_pqfsyn(int mm,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
69 int kk,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
70 real_t *p_proto,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
71 real_t ***ppp_q0,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
72 real_t ***ppp_t0,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
73 real_t ***ppp_t1)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
74 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
75 int i, k, n;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
76 real_t w;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
77
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
78 /* Set 1st Mul&Acc Coef's */
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
79 *ppp_q0 = (real_t **) calloc(mm, sizeof(real_t *));
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
80 for (n = 0; n < mm; ++n)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
81 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
82 (*ppp_q0)[n] = (real_t *) calloc(mm, sizeof(real_t));
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
83 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
84 for (n = 0; n < mm/2; ++n)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
85 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
86 for (i = 0; i < mm; ++i)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
87 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
88 w = (2*i+1)*(2*n+1-mm)*M_PI/(4*mm);
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
89 (*ppp_q0)[n][i] = 2.0 * cos((real_t) w);
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
90
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
91 w = (2*i+1)*(2*(mm+n)+1-mm)*M_PI/(4*mm);
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
92 (*ppp_q0)[n + mm/2][i] = 2.0 * cos((real_t) w);
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
93 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
94 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
95
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
96 /* Set 2nd Mul&Acc Coef's */
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
97 *ppp_t0 = (real_t **) calloc(mm, sizeof(real_t *));
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
98 *ppp_t1 = (real_t **) calloc(mm, sizeof(real_t *));
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
99 for (n = 0; n < mm; ++n)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
100 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
101 (*ppp_t0)[n] = (real_t *) calloc(kk, sizeof(real_t));
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
102 (*ppp_t1)[n] = (real_t *) calloc(kk, sizeof(real_t));
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
103 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
104 for (n = 0; n < mm; ++n)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
105 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
106 for (k = 0; k < kk; ++k)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
107 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
108 (*ppp_t0)[n][k] = mm * p_proto[2*k *mm + n];
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
109 (*ppp_t1)[n][k] = mm * p_proto[(2*k+1)*mm + n];
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
110
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
111 if (k%2 != 0)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
112 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
113 (*ppp_t0)[n][k] = -(*ppp_t0)[n][k];
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
114 (*ppp_t1)[n][k] = -(*ppp_t1)[n][k];
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
115 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
116 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
117 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
118 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
119
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
120 void ssr_ipqf(ssr_info *ssr, real_t *in_data, real_t *out_data,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
121 real_t buffer[SSR_BANDS][96/4],
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
122 uint16_t frame_len, uint8_t bands)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
123 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
124 static int initFlag = 0;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
125 real_t a_pqfproto[PQFTAPS];
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
126
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
127 int i;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
128
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
129 if (initFlag == 0)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
130 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
131 gc_set_protopqf(a_pqfproto);
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
132 gc_setcoef_eff_pqfsyn(SSR_BANDS, PQFTAPS/(2*SSR_BANDS), a_pqfproto,
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
133 &pp_q0, &pp_t0, &pp_t1);
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
134 initFlag = 1;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
135 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
136
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
137 for (i = 0; i < frame_len / SSR_BANDS; i++)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
138 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
139 int l, n, k;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
140 int mm = SSR_BANDS;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
141 int kk = PQFTAPS/(2*SSR_BANDS);
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
142
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
143 for (n = 0; n < mm; n++)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
144 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
145 for (k = 0; k < 2*kk-1; k++)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
146 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
147 buffer[n][k] = buffer[n][k+1];
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
148 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
149 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
150
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
151 for (n = 0; n < mm; n++)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
152 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
153 real_t acc = 0.0;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
154 for (l = 0; l < mm; l++)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
155 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
156 acc += pp_q0[n][l] * in_data[l*frame_len/SSR_BANDS + i];
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
157 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
158 buffer[n][2*kk-1] = acc;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
159 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
160
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
161 for (n = 0; n < mm/2; n++)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
162 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
163 real_t acc = 0.0;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
164 for (k = 0; k < kk; k++)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
165 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
166 acc += pp_t0[n][k] * buffer[n][2*kk-1-2*k];
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
167 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
168 for (k = 0; k < kk; ++k)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
169 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
170 acc += pp_t1[n][k] * buffer[n + mm/2][2*kk-2-2*k];
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
171 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
172 out_data[i*SSR_BANDS + n] = acc;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
173
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
174 acc = 0.0;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
175 for (k = 0; k < kk; k++)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
176 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
177 acc += pp_t0[mm-1-n][k] * buffer[n][2*kk-1-2*k];
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
178 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
179 for (k = 0; k < kk; k++)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
180 {
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
181 acc -= pp_t1[mm-1-n][k] * buffer[n + mm/2][2*kk-2-2*k];
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
182 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
183 out_data[i*SSR_BANDS + mm-1-n] = acc;
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
184 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
185 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
186 }
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
187
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
188 #endif