Lines Matching +full:- +full:i

9  * http://www.apache.org/licenses/LICENSE-2.0
49 WORD32 i; in ixheaacd_vec_cnst_mul() local
50 for (i = 0; i < n; i++) { in ixheaacd_vec_cnst_mul()
51 z[i] = (FLOAT32)a * x[i]; in ixheaacd_vec_cnst_mul()
58 WORD32 i; in ixheaacd_combine_fac() local
60 for (i = 0; i < len; i++) { in ixheaacd_combine_fac()
61 *dest = ixheaacd_add32_sat(*src1, ((*src2) >> (fac_q - output_q))); in ixheaacd_combine_fac()
67 for (i = 0; i < len; i++) { in ixheaacd_combine_fac()
68 *dest = ixheaacd_add32_sat(*src1, ((*src2) << (output_q - fac_q))); in ixheaacd_combine_fac()
80 WORD32 i; in ixheaacd_windowing_long1() local
81 WORD32 *rsrc2 = src2 + vlen - 1; in ixheaacd_windowing_long1()
84 for (i = 0; i < vlen / 2; i++) { in ixheaacd_windowing_long1()
86 ((ixheaacd_mult32_sh1(*src1, *win_fwd)) >> (shift1 - shift2)), in ixheaacd_windowing_long1()
88 *(dest + (vlen - (2 * i)) - 1) = ixheaacd_add32_sat( in ixheaacd_windowing_long1()
89 ((ixheaacd_mult32_sh1(-(*src1), *win_rev)) >> (shift1 - shift2)), in ixheaacd_windowing_long1()
95 win_rev--; in ixheaacd_windowing_long1()
96 rsrc2--; in ixheaacd_windowing_long1()
101 for (i = 0; i < vlen / 2; i++) { in ixheaacd_windowing_long1()
104 ((ixheaacd_mult32_sh1(*src2, *win_rev)) >> (shift2 - shift1))); in ixheaacd_windowing_long1()
106 *(dest + (vlen - (2 * i)) - 1) = ixheaacd_add32_sat( in ixheaacd_windowing_long1()
107 ixheaacd_mult32_sh1(-(*src1), *win_rev), in ixheaacd_windowing_long1()
108 ((ixheaacd_mult32_sh1(*rsrc2, *win_fwd)) >> (shift2 - shift1))); in ixheaacd_windowing_long1()
112 win_rev--; in ixheaacd_windowing_long1()
113 rsrc2--; in ixheaacd_windowing_long1()
125 WORD32 i; in ixheaacd_windowing_long2() local
128 win_fwd += ixheaacd_drc_offset->lfac; in ixheaacd_windowing_long2()
132 for (i = 0; in ixheaacd_windowing_long2()
133 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->lfac; in ixheaacd_windowing_long2()
134 i++) { in ixheaacd_windowing_long2()
135 dest[i] = over_lap[i] >> (shift_olap - fac_q); in ixheaacd_windowing_long2()
138 for (i = ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->lfac; in ixheaacd_windowing_long2()
139 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->n_trans_ls; in ixheaacd_windowing_long2()
140 i++) { in ixheaacd_windowing_long2()
141 dest[i] = ixheaacd_add32_sat( in ixheaacd_windowing_long2()
142 (ixheaacd_mult32_sh1(-src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
143 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
144 ixheaacd_drc_offset->lfac - i - 1], in ixheaacd_windowing_long2()
146 (shiftp - fac_q)), in ixheaacd_windowing_long2()
153 i < ixheaacd_drc_offset->n_flat_ls + (ixheaacd_drc_offset->lfac * 3); in ixheaacd_windowing_long2()
154 i++) { in ixheaacd_windowing_long2()
155 dest[i] = in ixheaacd_windowing_long2()
156 ixheaacd_add32_sat((-src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
157 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
158 ixheaacd_drc_offset->lfac - i - 1] >> in ixheaacd_windowing_long2()
159 (shiftp - fac_q)), in ixheaacd_windowing_long2()
164 for (; i < ixheaacd_drc_offset->n_long; i++) { in ixheaacd_windowing_long2()
165 dest[i] = -src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
166 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
167 ixheaacd_drc_offset->lfac - i - 1] >> in ixheaacd_windowing_long2()
168 (shiftp - fac_q); in ixheaacd_windowing_long2()
172 memcpy(dest, over_lap, sizeof(WORD32) * (ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
173 ixheaacd_drc_offset->lfac)); in ixheaacd_windowing_long2()
175 for (i = ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->lfac; in ixheaacd_windowing_long2()
176 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->n_trans_ls; in ixheaacd_windowing_long2()
177 i++) { in ixheaacd_windowing_long2()
178 dest[i] = ixheaacd_add32_sat( in ixheaacd_windowing_long2()
179 (ixheaacd_mult32_sh1(-src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
180 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
181 ixheaacd_drc_offset->lfac - i - 1], in ixheaacd_windowing_long2()
183 (shiftp - shift_olap)), in ixheaacd_windowing_long2()
184 (*fac_data_out) >> (fac_q - shift_olap)); in ixheaacd_windowing_long2()
190 i < ixheaacd_drc_offset->n_flat_ls + (ixheaacd_drc_offset->lfac * 3); in ixheaacd_windowing_long2()
191 i++) { in ixheaacd_windowing_long2()
192 dest[i] = in ixheaacd_windowing_long2()
193 ixheaacd_add32_sat((-src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
194 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
195 ixheaacd_drc_offset->lfac - i - 1] >> in ixheaacd_windowing_long2()
196 (shiftp - shift_olap)), in ixheaacd_windowing_long2()
197 (*fac_data_out) >> (fac_q - shift_olap)); in ixheaacd_windowing_long2()
201 for (; i < ixheaacd_drc_offset->n_long; i++) { in ixheaacd_windowing_long2()
202 dest[i] = -src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
203 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
204 ixheaacd_drc_offset->lfac - i - 1] >> in ixheaacd_windowing_long2()
205 (shiftp - shift_olap); in ixheaacd_windowing_long2()
211 for (i = 0; in ixheaacd_windowing_long2()
212 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->lfac; in ixheaacd_windowing_long2()
213 i++) { in ixheaacd_windowing_long2()
214 dest[i] = over_lap[i] >> (shift_olap - shiftp); in ixheaacd_windowing_long2()
217 for (i = ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->lfac; in ixheaacd_windowing_long2()
218 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->n_trans_ls; in ixheaacd_windowing_long2()
219 i++) { in ixheaacd_windowing_long2()
220 dest[i] = ixheaacd_add32_sat( in ixheaacd_windowing_long2()
221 ixheaacd_mult32_sh1(-src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
222 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
223 ixheaacd_drc_offset->lfac - i - 1], in ixheaacd_windowing_long2()
225 (*fac_data_out) >> (fac_q - shiftp)); in ixheaacd_windowing_long2()
231 i < ixheaacd_drc_offset->n_flat_ls + (ixheaacd_drc_offset->lfac * 3); in ixheaacd_windowing_long2()
232 i++) { in ixheaacd_windowing_long2()
233 dest[i] = ixheaacd_add32_sat(-src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
234 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
235 ixheaacd_drc_offset->lfac - i - 1], in ixheaacd_windowing_long2()
236 (*fac_data_out) >> (fac_q - shiftp)); in ixheaacd_windowing_long2()
240 for (; i < ixheaacd_drc_offset->n_long; i++) { in ixheaacd_windowing_long2()
241 dest[i] = -src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
242 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
243 ixheaacd_drc_offset->lfac - i - 1]; in ixheaacd_windowing_long2()
247 memcpy(dest, over_lap, sizeof(WORD32) * (ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
248 ixheaacd_drc_offset->lfac)); in ixheaacd_windowing_long2()
250 for (i = ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->lfac; in ixheaacd_windowing_long2()
251 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->n_trans_ls; in ixheaacd_windowing_long2()
252 i++) { in ixheaacd_windowing_long2()
253 dest[i] = ixheaacd_add32_sat( in ixheaacd_windowing_long2()
254 (ixheaacd_mult32_sh1(-src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
255 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
256 ixheaacd_drc_offset->lfac - i - 1], in ixheaacd_windowing_long2()
258 (shiftp - shift_olap)), in ixheaacd_windowing_long2()
259 (*fac_data_out) >> (fac_q - shift_olap)); in ixheaacd_windowing_long2()
265 i < ixheaacd_drc_offset->n_flat_ls + (ixheaacd_drc_offset->lfac * 3); in ixheaacd_windowing_long2()
266 i++) { in ixheaacd_windowing_long2()
267 dest[i] = in ixheaacd_windowing_long2()
268 ixheaacd_add32_sat((-src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
269 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
270 ixheaacd_drc_offset->lfac - i - 1] >> in ixheaacd_windowing_long2()
271 (shiftp - shift_olap)), in ixheaacd_windowing_long2()
272 (*fac_data_out) >> (fac_q - shift_olap)); in ixheaacd_windowing_long2()
276 for (; i < ixheaacd_drc_offset->n_long; i++) { in ixheaacd_windowing_long2()
277 dest[i] = -src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
278 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
279 ixheaacd_drc_offset->lfac - i - 1] >> in ixheaacd_windowing_long2()
280 (shiftp - shift_olap); in ixheaacd_windowing_long2()
292 WORD32 i; in ixheaacd_windowing_long3() local
296 memcpy(dest, over_lap, sizeof(FLOAT32) * ixheaacd_drc_offset->n_flat_ls); in ixheaacd_windowing_long3()
298 for (i = ixheaacd_drc_offset->n_flat_ls; in ixheaacd_windowing_long3()
299 i < ixheaacd_drc_offset->n_long / 2; i++) { in ixheaacd_windowing_long3()
300 dest[i] = ixheaacd_add32_sat( in ixheaacd_windowing_long3()
301 (ixheaacd_mult32_sh1(src1[i], *win_fwd) >> (shiftp - shift_olap)), in ixheaacd_windowing_long3()
302 ixheaacd_mult32_sh1(over_lap[i], *win_rev)); in ixheaacd_windowing_long3()
304 win_rev--; in ixheaacd_windowing_long3()
307 for (i = ixheaacd_drc_offset->n_long / 2; in ixheaacd_windowing_long3()
308 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->n_trans_ls; in ixheaacd_windowing_long3()
309 i++) { in ixheaacd_windowing_long3()
310 dest[i] = ixheaacd_add32_sat( in ixheaacd_windowing_long3()
311 (ixheaacd_mult32_sh1(-src1[ixheaacd_drc_offset->n_long - i - 1], in ixheaacd_windowing_long3()
313 (shiftp - shift_olap)), in ixheaacd_windowing_long3()
314 ixheaacd_mult32_sh1(over_lap[i], *win_rev)); in ixheaacd_windowing_long3()
316 win_rev--; in ixheaacd_windowing_long3()
319 for (; i < ixheaacd_drc_offset->n_long; i++) { in ixheaacd_windowing_long3()
320 dest[i] = in ixheaacd_windowing_long3()
321 -src1[ixheaacd_drc_offset->n_long - i - 1] >> (shiftp - shift_olap); in ixheaacd_windowing_long3()
326 for (i = 0; i < ixheaacd_drc_offset->n_flat_ls; i++) { in ixheaacd_windowing_long3()
327 dest[i] = over_lap[i] >> (shift_olap - shiftp); in ixheaacd_windowing_long3()
330 for (i = ixheaacd_drc_offset->n_flat_ls; in ixheaacd_windowing_long3()
331 i < ixheaacd_drc_offset->n_long / 2; i++) { in ixheaacd_windowing_long3()
332 dest[i] = ixheaacd_add32_sat( in ixheaacd_windowing_long3()
333 ixheaacd_mult32_sh1(src1[i], *win_fwd), in ixheaacd_windowing_long3()
334 ixheaacd_mult32_sh1(over_lap[i], *win_rev) >> (shift_olap - shiftp)); in ixheaacd_windowing_long3()
336 win_rev--; in ixheaacd_windowing_long3()
339 for (i = ixheaacd_drc_offset->n_long / 2; in ixheaacd_windowing_long3()
340 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->n_trans_ls; in ixheaacd_windowing_long3()
341 i++) { in ixheaacd_windowing_long3()
342 dest[i] = ixheaacd_add32_sat( in ixheaacd_windowing_long3()
343 ixheaacd_mult32_sh1(-src1[ixheaacd_drc_offset->n_long - i - 1], in ixheaacd_windowing_long3()
345 ixheaacd_mult32_sh1(over_lap[i], *win_rev) >> (shift_olap - shiftp)); in ixheaacd_windowing_long3()
347 win_rev--; in ixheaacd_windowing_long3()
350 for (; i < ixheaacd_drc_offset->n_long; i++) { in ixheaacd_windowing_long3()
351 dest[i] = -src1[ixheaacd_drc_offset->n_long - i - 1]; in ixheaacd_windowing_long3()
361 WORD32 i; in ixheaacd_windowing_short1() local
365 if (ixheaacd_drc_offset->n_short > ixheaacd_drc_offset->lfac) { in ixheaacd_windowing_short1()
366 for (i = 0; i < ixheaacd_drc_offset->lfac; i++) { in ixheaacd_windowing_short1()
367 dest[i] = dest[i] >> (shift_olap - shiftp); in ixheaacd_windowing_short1()
369 for (i = ixheaacd_drc_offset->lfac; i < ixheaacd_drc_offset->n_short; in ixheaacd_windowing_short1()
370 i++) { in ixheaacd_windowing_short1()
371 dest[i] = ixheaacd_mult32_sh1( in ixheaacd_windowing_short1()
372 -src1[ixheaacd_drc_offset->n_short - i - 1], src2[i]); in ixheaacd_windowing_short1()
375 for (; i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->lfac; in ixheaacd_windowing_short1()
376 i++) { in ixheaacd_windowing_short1()
377 dest[i] = 0; in ixheaacd_windowing_short1()
380 for (i = 0; i < ixheaacd_drc_offset->lfac; i++) { in ixheaacd_windowing_short1()
381 dest[i] = dest[i] >> (shift_olap - shiftp); in ixheaacd_windowing_short1()
383 for (i = ixheaacd_drc_offset->lfac; in ixheaacd_windowing_short1()
384 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->lfac; in ixheaacd_windowing_short1()
385 i++) { in ixheaacd_windowing_short1()
386 dest[i] = 0; in ixheaacd_windowing_short1()
390 if (ixheaacd_drc_offset->n_short > ixheaacd_drc_offset->lfac) { in ixheaacd_windowing_short1()
391 for (i = ixheaacd_drc_offset->lfac; i < ixheaacd_drc_offset->n_short; in ixheaacd_windowing_short1()
392 i++) { in ixheaacd_windowing_short1()
393 dest[i] = ixheaacd_mult32_sh1( in ixheaacd_windowing_short1()
394 -src1[ixheaacd_drc_offset->n_short - i - 1], src2[i]) >> in ixheaacd_windowing_short1()
395 (shiftp - shift_olap); in ixheaacd_windowing_short1()
398 for (; i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->lfac; in ixheaacd_windowing_short1()
399 i++) { in ixheaacd_windowing_short1()
400 dest[i] = 0; in ixheaacd_windowing_short1()
403 for (i = ixheaacd_drc_offset->lfac; in ixheaacd_windowing_short1()
404 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->lfac; in ixheaacd_windowing_short1()
405 i++) { in ixheaacd_windowing_short1()
406 dest[i] = 0; in ixheaacd_windowing_short1()
415 WORD32 i; in ixheaacd_windowing_short2() local
417 WORD32 *win_rev = win_fwd + ixheaacd_drc_offset->n_short - 1; in ixheaacd_windowing_short2()
420 for (i = 0; i < ixheaacd_drc_offset->n_short / 2; i++) { in ixheaacd_windowing_short2()
421 fp[i] = ixheaacd_add32_sat( in ixheaacd_windowing_short2()
422 ixheaacd_mult32_sh1(src1[i], *win_fwd), in ixheaacd_windowing_short2()
423 (ixheaacd_mult32_sh1(fp[i], *win_rev) >> (shift_olap - shiftp))); in ixheaacd_windowing_short2()
425 fp[ixheaacd_drc_offset->n_short - i - 1] = ixheaacd_add32_sat( in ixheaacd_windowing_short2()
426 ixheaacd_mult32_sh1(-src1[i], *win_rev), in ixheaacd_windowing_short2()
427 (ixheaacd_mult32_sh1(fp[ixheaacd_drc_offset->n_short - i - 1], in ixheaacd_windowing_short2()
429 (shift_olap - shiftp))); in ixheaacd_windowing_short2()
431 win_rev--; in ixheaacd_windowing_short2()
434 for (i = ixheaacd_drc_offset->n_short; in ixheaacd_windowing_short2()
435 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->n_short; in ixheaacd_windowing_short2()
436 i++) { in ixheaacd_windowing_short2()
437 fp[i] = 0; in ixheaacd_windowing_short2()
440 for (i = 0; i < ixheaacd_drc_offset->n_short / 2; i++) { in ixheaacd_windowing_short2()
441 fp[i] = ixheaacd_add32_sat( in ixheaacd_windowing_short2()
442 (ixheaacd_mult32_sh1(src1[i], *win_fwd) >> (shiftp - shift_olap)), in ixheaacd_windowing_short2()
443 ixheaacd_mult32_sh1(fp[i], *win_rev)); in ixheaacd_windowing_short2()
445 fp[ixheaacd_drc_offset->n_short - i - 1] = ixheaacd_add32_sat( in ixheaacd_windowing_short2()
446 (ixheaacd_mult32_sh1(-src1[i], *win_rev) >> (shiftp - shift_olap)), in ixheaacd_windowing_short2()
447 ixheaacd_mult32_sh1(fp[ixheaacd_drc_offset->n_short - i - 1], in ixheaacd_windowing_short2()
451 win_rev--; in ixheaacd_windowing_short2()
454 for (i = ixheaacd_drc_offset->n_short; in ixheaacd_windowing_short2()
455 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->n_short; in ixheaacd_windowing_short2()
456 i++) { in ixheaacd_windowing_short2()
457 fp[i] = 0; in ixheaacd_windowing_short2()
465 WORD32 i; in ixheaacd_windowing_short3() local
466 const WORD32 *win_fwd = win_rev - n_short + 1; in ixheaacd_windowing_short3()
468 for (i = 0; i < n_short / 2; i++) { in ixheaacd_windowing_short3()
469 fp[i] = ixheaacd_add32_sat( in ixheaacd_windowing_short3()
470 ixheaacd_mult32_sh1(-src1[n_short / 2 - i - 1], *win_rev), in ixheaacd_windowing_short3()
471 (fp[i] >> (shift_olap - shiftp))); in ixheaacd_windowing_short3()
473 fp[n_short - i - 1] = ixheaacd_add32_sat( in ixheaacd_windowing_short3()
474 ixheaacd_mult32_sh1(-src1[n_short / 2 - i - 1], *win_fwd), in ixheaacd_windowing_short3()
475 (fp[n_short - i - 1] >> (shift_olap - shiftp))); in ixheaacd_windowing_short3()
476 win_rev--; in ixheaacd_windowing_short3()
481 for (i = 0; i < n_short / 2; i++) { in ixheaacd_windowing_short3()
482 fp[i] = ixheaacd_add32_sat( in ixheaacd_windowing_short3()
483 (ixheaacd_mult32_sh1(-src1[n_short / 2 - i - 1], *win_rev) >> in ixheaacd_windowing_short3()
484 (shiftp - shift_olap)), in ixheaacd_windowing_short3()
485 fp[i]); in ixheaacd_windowing_short3()
487 fp[n_short - i - 1] = ixheaacd_add32_sat( in ixheaacd_windowing_short3()
488 (ixheaacd_mult32_sh1(-src1[n_short / 2 - i - 1], *win_fwd) >> in ixheaacd_windowing_short3()
489 (shiftp - shift_olap)), in ixheaacd_windowing_short3()
490 fp[n_short - i - 1]); in ixheaacd_windowing_short3()
492 win_rev--; in ixheaacd_windowing_short3()
503 WORD32 i; in ixheaacd_windowing_short4() local
504 const WORD32 *win_rev = win_fwd + n_short - 1; in ixheaacd_windowing_short4()
505 const WORD32 *win_rev1 = win_fwd1 - n_short + 1; in ixheaacd_windowing_short4()
507 for (i = 0; i < n_short / 2; i++) { in ixheaacd_windowing_short4()
508 fp[i] = ixheaacd_add32_sat( in ixheaacd_windowing_short4()
509 ixheaacd_mult32_sh1(src1[n_short / 2 + i], *win_fwd) >> in ixheaacd_windowing_short4()
510 (shiftp - output_q), in ixheaacd_windowing_short4()
511 fp[i]); in ixheaacd_windowing_short4()
513 fp[n_short - i - 1] = ixheaacd_add32_sat( in ixheaacd_windowing_short4()
514 ixheaacd_mult32_sh1(-src1[n_short / 2 + i], *win_rev) >> in ixheaacd_windowing_short4()
515 (shiftp - output_q), in ixheaacd_windowing_short4()
516 fp[n_short - i - 1]); in ixheaacd_windowing_short4()
519 win_rev--; in ixheaacd_windowing_short4()
522 for (; i < n_short; i++) { in ixheaacd_windowing_short4()
523 fp[i + n_short / 2] = ixheaacd_add32_sat( in ixheaacd_windowing_short4()
524 ixheaacd_mult32_sh1(-src1[n_short - i - 1], *win_fwd1) >> in ixheaacd_windowing_short4()
525 (shiftp - output_q), in ixheaacd_windowing_short4()
526 (fp[i + n_short / 2] >> (shift_olap - output_q))); in ixheaacd_windowing_short4()
528 fp[3 * n_short - n_short / 2 - i - 1] = ixheaacd_add32_sat( in ixheaacd_windowing_short4()
529 ixheaacd_mult32_sh1(-src1[n_short - i - 1], *win_rev1) >> in ixheaacd_windowing_short4()
530 (shiftp - output_q), in ixheaacd_windowing_short4()
531 (fp[3 * n_short - n_short / 2 - i - 1] >> (shift_olap - output_q))); in ixheaacd_windowing_short4()
533 win_fwd1--; in ixheaacd_windowing_short4()
537 for (; i < n_short; i++) { in ixheaacd_windowing_short4()
538 fp[i + n_short / 2] = in ixheaacd_windowing_short4()
539 ixheaacd_add32_sat(-src1[n_short - i - 1] >> (shiftp - output_q), in ixheaacd_windowing_short4()
540 fp[i + n_short / 2] >> (shift_olap - output_q)); in ixheaacd_windowing_short4()
541 fp[3 * n_short - n_short / 2 - i - 1] = ixheaacd_add32_sat( in ixheaacd_windowing_short4()
542 -src1[n_short - i - 1] >> (shiftp - output_q), in ixheaacd_windowing_short4()
543 fp[3 * n_short - n_short / 2 - i - 1] >> (shift_olap - output_q)); in ixheaacd_windowing_short4()
548 for (i = 0; i < n_short / 2; i++) { in ixheaacd_windowing_short4()
549 fp[i] = ixheaacd_add32_sat( in ixheaacd_windowing_short4()
550 ixheaacd_mult32_sh1(src1[n_short / 2 + i], *win_fwd) >> in ixheaacd_windowing_short4()
551 (shiftp - shift_olap), in ixheaacd_windowing_short4()
552 fp[i] >> (output_q - shift_olap)); in ixheaacd_windowing_short4()
554 fp[n_short - i - 1] = ixheaacd_add32_sat( in ixheaacd_windowing_short4()
555 ixheaacd_mult32_sh1(-src1[n_short / 2 + i], *win_rev) >> in ixheaacd_windowing_short4()
556 (shiftp - shift_olap), in ixheaacd_windowing_short4()
557 fp[n_short - i - 1]); in ixheaacd_windowing_short4()
560 win_rev--; in ixheaacd_windowing_short4()
563 for (; i < n_short; i++) { in ixheaacd_windowing_short4()
564 fp[i + n_short / 2] = ixheaacd_add32_sat( in ixheaacd_windowing_short4()
565 ixheaacd_mult32_sh1(-src1[n_short - i - 1], *win_fwd1) >> in ixheaacd_windowing_short4()
566 (shiftp - shift_olap), in ixheaacd_windowing_short4()
567 fp[i + n_short / 2]); in ixheaacd_windowing_short4()
569 fp[3 * n_short - n_short / 2 - i - 1] = ixheaacd_add32_sat( in ixheaacd_windowing_short4()
570 ixheaacd_mult32_sh1(-src1[n_short - i - 1], *win_rev1) >> in ixheaacd_windowing_short4()
571 (shiftp - shift_olap), in ixheaacd_windowing_short4()
572 fp[3 * n_short - n_short / 2 - i - 1]); in ixheaacd_windowing_short4()
574 win_fwd1--; in ixheaacd_windowing_short4()
578 for (; i < n_short; i++) { in ixheaacd_windowing_short4()
579 fp[i + n_short / 2] = in ixheaacd_windowing_short4()
580 ixheaacd_add32_sat(-src1[n_short - i - 1] >> (shiftp - shift_olap), in ixheaacd_windowing_short4()
581 fp[i + n_short / 2]); in ixheaacd_windowing_short4()
582 fp[3 * n_short - n_short / 2 - i - 1] = in ixheaacd_windowing_short4()
583 ixheaacd_add32_sat(-src1[n_short - i - 1] >> (shiftp - shift_olap), in ixheaacd_windowing_short4()
584 fp[3 * n_short - n_short / 2 - i - 1]); in ixheaacd_windowing_short4()
593 WORD32 i; in ixheaacd_scale_down() local
595 for (i = 0; i < len; i++) { in ixheaacd_scale_down()
596 *dest = *src >> (shift1 - shift2); in ixheaacd_scale_down()
601 for (i = 0; i < len; i++) { in ixheaacd_scale_down()
602 *dest = *src << (shift2 - shift1); in ixheaacd_scale_down()