Revision 80ba1ddb libavcodec/dsputil.c

View differences:

libavcodec/dsputil.c
3776 3776
        dst[i] = src0[i] * src1[i] + src2[i];
3777 3777
}
3778 3778

  
3779
void ff_vector_fmul_window_c(float *dst, const float *src0, const float *src1, const float *win, float add_bias, int len){
3779
static void vector_fmul_window_c(float *dst, const float *src0,
3780
                                 const float *src1, const float *win, int len)
3781
{
3780 3782
    int i,j;
3781 3783
    dst += len;
3782 3784
    win += len;
......
3786 3788
        float s1 = src1[j];
3787 3789
        float wi = win[i];
3788 3790
        float wj = win[j];
3789
        dst[i] = s0*wj - s1*wi + add_bias;
3790
        dst[j] = s0*wi + s1*wj + add_bias;
3791
        dst[i] = s0*wj - s1*wi;
3792
        dst[j] = s0*wi + s1*wj;
3791 3793
    }
3792 3794
}
3793 3795

  
......
4434 4436
    c->vector_fmul = vector_fmul_c;
4435 4437
    c->vector_fmul_reverse = vector_fmul_reverse_c;
4436 4438
    c->vector_fmul_add = vector_fmul_add_c;
4437
    c->vector_fmul_window = ff_vector_fmul_window_c;
4439
    c->vector_fmul_window = vector_fmul_window_c;
4438 4440
    c->int32_to_float_fmul_scalar = int32_to_float_fmul_scalar_c;
4439 4441
    c->vector_clipf = vector_clipf_c;
4440 4442
    c->float_to_int16 = ff_float_to_int16_c;

Also available in: Unified diff