Revision 6888b4fc

View differences:

libavcodec/ra288.c
147 147
    return 0;
148 148
}
149 149

  
150
static void prodsum(float *tgt, const float *src, int len, int n)
150
static void convolve(float *tgt, const float *src, int len, int n)
151 151
{
152 152
    for (; n >= 0; n--)
153 153
        tgt[n] = scalar_product_float(src, src - n, len);
......
190 190

  
191 191
    colmult(work, window, hist, order + n + non_rec);
192 192

  
193
    prodsum(buffer1, work + order    , n      , order);
194
    prodsum(buffer2, work + order + n, non_rec, order);
193
    convolve(buffer1, work + order    , n      , order);
194
    convolve(buffer2, work + order + n, non_rec, order);
195 195

  
196 196
    for (i=0; i <= order; i++) {
197 197
        out2[i] = out2[i] * 0.5625 + buffer1[i];

Also available in: Unified diff