Lines Matching refs:sum

100     FT sum = 0.f;
113 sum = coef2* s_srcPatch[tidy][1 + ((tidx - 1) >> 1)];
114 sum = mad(coef1, s_srcPatch[tidy][1 + ((tidx ) >> 1)], sum);
115 sum = mad(coef2, s_srcPatch[tidy][1 + ((tidx + 2) >> 1)], sum);
117 s_dstPatch[tidy][tidx] = sum;
122 sum = coefy2* s_dstPatch[1 + ((tidy - 1) >> 1)][tidx];
123 sum = mad(coefy1, s_dstPatch[1 + ((tidy ) >> 1)][tidx], sum);
124 sum = mad(coefy2, s_dstPatch[1 + ((tidy + 2) >> 1)][tidx], sum);
127 storepix(convertToT(sum), dstData + y * dst_step + x * PIXSIZE);
160 FT sum;
167 sum = co3 * s_srcPatch[1 + (ly >> 1)][1 + ((lx - 2) >> 1)];
168 sum = mad(co1, s_srcPatch[1 + (ly >> 1)][1 + ((lx ) >> 1)], sum);
169 sum = mad(co3, s_srcPatch[1 + (ly >> 1)][1 + ((lx + 2) >> 1)], sum);
171 s_dstPatch[1 + get_local_id(1)][lx] = sum;
174 sum = co2 * s_srcPatch[1 + (ly >> 1)][1 + ((lx + 1 - 1) >> 1)];
175 sum = mad(co2, s_srcPatch[1 + (ly >> 1)][1 + ((lx + 1 + 1) >> 1)], sum);
176 s_dstPatch[1 + get_local_id(1)][lx+1] = sum;
181 sum = co3 * s_srcPatch[0][1 + ((lx - 2) >> 1)];
182 sum = mad(co1, s_srcPatch[0][1 + ((lx ) >> 1)], sum);
183 sum = mad(co3, s_srcPatch[0][1 + ((lx + 2) >> 1)], sum);
184 s_dstPatch[0][lx] = sum;
187 sum = co2 * s_srcPatch[0][1 + ((lx + 1 - 1) >> 1)];
188 sum = mad(co2, s_srcPatch[0][1 + ((lx + 1 + 1) >> 1)], sum);
189 s_dstPatch[0][lx+1] = sum;
195 sum = co3 * s_srcPatch[LOCAL_SIZE+1][1 + ((lx - 2) >> 1)];
196 sum = mad(co1, s_srcPatch[LOCAL_SIZE+1][1 + ((lx ) >> 1)], sum);
197 sum = mad(co3, s_srcPatch[LOCAL_SIZE+1][1 + ((lx + 2) >> 1)], sum);
198 s_dstPatch[LOCAL_SIZE+1][lx] = sum;
201 sum = co2 * s_srcPatch[LOCAL_SIZE+1][1 + ((lx + 1 - 1) >> 1)];
202 sum = mad(co2, s_srcPatch[LOCAL_SIZE+1][1 + ((lx + 1 + 1) >> 1)], sum);
203 s_dstPatch[LOCAL_SIZE+1][lx+1] = sum;
213 sum = co3 * s_dstPatch[1 + get_local_id(1) - 1][lx];
214 sum = mad(co1, s_dstPatch[1 + get_local_id(1) ][lx], sum);
215 sum = mad(co3, s_dstPatch[1 + get_local_id(1) + 1][lx], sum);
216 storepix(convertToT(sum), dstData + dst_y * dst_step + dst_x * PIXSIZE);
219 sum = co3 * s_dstPatch[1 + get_local_id(1) - 1][lx+1];
220 sum = mad(co1, s_dstPatch[1 + get_local_id(1) ][lx+1], sum);
221 sum = mad(co3, s_dstPatch[1 + get_local_id(1) + 1][lx+1], sum);
222 storepix(convertToT(sum), dstData + dst_y * dst_step + (dst_x+1) * PIXSIZE);
225 sum = co2 * s_dstPatch[1 + get_local_id(1) ][lx];
226 sum = mad(co2, s_dstPatch[1 + get_local_id(1) + 1][lx], sum);
227 storepix(convertToT(sum), dstData + (dst_y+1) * dst_step + dst_x * PIXSIZE);
230 sum = co2 * s_dstPatch[1 + get_local_id(1) ][lx+1];
231 sum = mad(co2, s_dstPatch[1 + get_local_id(1) + 1][lx+1], sum);
232 storepix(convertToT(sum), dstData + (dst_y+1) * dst_step + (dst_x+1) * PIXSIZE);