Commit 6927f4e5 authored by vitor's avatar vitor

Rename prodsum() function to convolve()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14615 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3c6f25ad
......@@ -147,7 +147,7 @@ static int eval_lpc_coeffs(const float *in, float *tgt, int n)
return 0;
}
static void prodsum(float *tgt, const float *src, int len, int n)
static void convolve(float *tgt, const float *src, int len, int n)
{
for (; n >= 0; n--)
tgt[n] = scalar_product_float(src, src - n, len);
......@@ -190,8 +190,8 @@ static void do_hybrid_window(int order, int n, int non_rec, const float *in,
colmult(work, window, hist, order + n + non_rec);
prodsum(buffer1, work + order , n , order);
prodsum(buffer2, work + order + n, non_rec, order);
convolve(buffer1, work + order , n , order);
convolve(buffer2, work + order + n, non_rec, order);
for (i=0; i <= order; i++) {
out2[i] = out2[i] * 0.5625 + buffer1[i];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment