This commit is contained in:
Jean-Marc Valin 2013-05-26 20:29:44 -04:00
parent 068cbd89bf
commit 0fed074b04

View file

@ -183,7 +183,11 @@ void celt_iir(const opus_val32 *_x,
for (i=0;i<N-3;i+=4) for (i=0;i<N-3;i+=4)
{ {
/* Unroll by 4 as if it were an FIR filter */ /* Unroll by 4 as if it were an FIR filter */
opus_val32 sum[4]={_x[i],_x[i+1],_x[i+2],_x[i+3]}; opus_val32 sum[4];
sum[0]=_x[i];
sum[1]=_x[i+1];
sum[2]=_x[i+2];
sum[3]=_x[i+3];
xcorr_kernel(rden, y+i, sum, ord); xcorr_kernel(rden, y+i, sum, ord);
/* Patch up the result to compensate for the fact that this is an IIR */ /* Patch up the result to compensate for the fact that this is an IIR */