}
static void vector_fmul_add(float *dst, const float *src0, const float *src1,
- const float *src2, int src3, int len, int step)
+ const float *src2, int src3, int len)
{
int i;
for (i = 0; i < len; i++)
- dst[i * step] = src0[i] * src1[i] + src2[i] + src3;
+ dst[i] = src0[i] * src1[i] + src2[i] + src3;
}
static void vector_fmul_reverse_c(float *dst, const float *src0,
bsize = s->frame_len_bits - s->block_len_bits;
vector_fmul_add(out, in, s->windows[bsize],
- out, 0, block_len, 1);
+ out, 0, block_len);
} else {
block_len = 1 << s->prev_block_len_bits;
bsize = s->frame_len_bits - s->prev_block_len_bits;
vector_fmul_add(out + n, in + n, s->windows[bsize],
- out + n, 0, block_len, 1);
+ out + n, 0, block_len);
memcpy(out + n + block_len, in + n + block_len,
n * sizeof(float));