Home | History | Annotate | Download | only in libspeex

Lines Matching defs:accum

257    /*sum = frac*accum[1] + (1-frac)*accum[2];*/
352 float accum[4] = {0,0,0,0};
355 accum[0] += sinc[j]*iptr[j];
356 accum[1] += sinc[j+1]*iptr[j+1];
357 accum[2] += sinc[j+2]*iptr[j+2];
358 accum[3] += sinc[j+3]*iptr[j+3];
360 sum = accum[0] + accum[1] + accum[2] + accum[3];
404 double accum[4] = {0,0,0,0};
407 accum[0] += sinc[j]*iptr[j];
408 accum[1] += sinc[j+1]*iptr[j+1];
409 accum[2] += sinc[j+2]*iptr[j+2];
410 accum[3] += sinc[j+3]*iptr[j+3];
412 sum = accum[0] + accum[1] + accum[2] + accum[3];
460 spx_word32_t accum[4] = {0,0,0,0};
464 accum[0] += MULT16_16(curr_in,st->sinc_table[4+(j+1)*st->oversample-offset-2]);
465 accum[1] += MULT16_16(curr_in,st->sinc_table[4+(j+1)*st->oversample-offset-1]);
466 accum[2] += MULT16_16(curr_in,st->sinc_table[4+(j+1)*st->oversample-offset]);
467 accum[3] += MULT16_16(curr_in,st->sinc_table[4+(j+1)*st->oversample-offset+1]);
471 sum = MULT16_32_Q15(interp[0],accum[0]) + MULT16_32_Q15(interp[1],accum[1]) + MULT16_32_Q15(interp[2],accum[2]) + MULT16_32_Q15(interp[3],accum[3]);
523 double accum[4] = {0,0,0,0};
527 accum[0] += MULT16_16(curr_in,st->sinc_table[4+(j+1)*st->oversample-offset-2]);
528 accum[1] += MULT16_16(curr_in,st->sinc_table[4+(j+1)*st->oversample-offset-1]);
529 accum[2] += MULT16_16(curr_in,st->sinc_table[4+(j+1)*st->oversample-offset]);
530 accum[3] += MULT16_16(curr_in,st->sinc_table[4+(j+1)*st->oversample-offset+1]);
534 sum = MULT16_32_Q15(interp[0],accum[0]) + MULT16_32_Q15(interp[1],accum[1]) + MULT16_32_Q15(interp[2],accum[2]) + MULT16_32_Q15(interp[3],accum[3]);