Lines Matching refs:sum

116       opus_val32 sum = SHL32(EXTEND32(_x[i]), SIG_SHIFT);  in celt_fir()  local
119 sum = MAC16_16(sum,rnum[j],x[i+j]); in celt_fir()
121 _y[i] = SATURATE16(PSHR32(sum, SIG_SHIFT)); in celt_fir()
126 opus_val32 sum[4]={0,0,0,0}; in celt_fir() local
127 xcorr_kernel(rnum, x+i, sum, ord); in celt_fir()
128 _y[i ] = SATURATE16(ADD32(EXTEND32(_x[i ]), PSHR32(sum[0], SIG_SHIFT))); in celt_fir()
129 _y[i+1] = SATURATE16(ADD32(EXTEND32(_x[i+1]), PSHR32(sum[1], SIG_SHIFT))); in celt_fir()
130 _y[i+2] = SATURATE16(ADD32(EXTEND32(_x[i+2]), PSHR32(sum[2], SIG_SHIFT))); in celt_fir()
131 _y[i+3] = SATURATE16(ADD32(EXTEND32(_x[i+3]), PSHR32(sum[3], SIG_SHIFT))); in celt_fir()
135 opus_val32 sum = 0; in celt_fir() local
137 sum = MAC16_16(sum,rnum[j],x[i+j]); in celt_fir()
138 _y[i] = SATURATE16(ADD32(EXTEND32(_x[i]), PSHR32(sum, SIG_SHIFT))); in celt_fir()
155 opus_val32 sum = _x[i]; in celt_iir() local
158 sum -= MULT16_16(den[j],mem[j]); in celt_iir()
164 mem[0] = ROUND16(sum,SIG_SHIFT); in celt_iir()
165 _y[i] = sum; in celt_iir()
185 opus_val32 sum[4]; in celt_iir()
186 sum[0]=_x[i]; in celt_iir()
187 sum[1]=_x[i+1]; in celt_iir()
188 sum[2]=_x[i+2]; in celt_iir()
189 sum[3]=_x[i+3]; in celt_iir()
190 xcorr_kernel(rden, y+i, sum, ord); in celt_iir()
193 y[i+ord ] = -ROUND16(sum[0],SIG_SHIFT); in celt_iir()
194 _y[i ] = sum[0]; in celt_iir()
195 sum[1] = MAC16_16(sum[1], y[i+ord ], den[0]); in celt_iir()
196 y[i+ord+1] = -ROUND16(sum[1],SIG_SHIFT); in celt_iir()
197 _y[i+1] = sum[1]; in celt_iir()
198 sum[2] = MAC16_16(sum[2], y[i+ord+1], den[0]); in celt_iir()
199 sum[2] = MAC16_16(sum[2], y[i+ord ], den[1]); in celt_iir()
200 y[i+ord+2] = -ROUND16(sum[2],SIG_SHIFT); in celt_iir()
201 _y[i+2] = sum[2]; in celt_iir()
203 sum[3] = MAC16_16(sum[3], y[i+ord+2], den[0]); in celt_iir()
204 sum[3] = MAC16_16(sum[3], y[i+ord+1], den[1]); in celt_iir()
205 sum[3] = MAC16_16(sum[3], y[i+ord ], den[2]); in celt_iir()
206 y[i+ord+3] = -ROUND16(sum[3],SIG_SHIFT); in celt_iir()
207 _y[i+3] = sum[3]; in celt_iir()
211 opus_val32 sum = _x[i]; in celt_iir()
213 sum -= MULT16_16(rden[j],y[i+j]); in celt_iir()
214 y[i+ord] = ROUND16(sum,SIG_SHIFT); in celt_iir()
215 _y[i] = sum; in celt_iir()