• Home
  • Raw
  • Download

Lines Matching refs:lx

134     const int lx = 2*get_local_id(0);
143 if( lx < (LOCAL_SIZE+2) && ly < (LOCAL_SIZE+2) )
145 int srcx = mad24((int)get_group_id(0), LOCAL_SIZE, lx) - 1;
152 s_srcPatch[ly][lx] = convertToFT(loadpix(srcData + srcy1 * src_step + srcx1 * PIXSIZE));
153 s_srcPatch[ly+1][lx] = convertToFT(loadpix(srcData + srcy2 * src_step + srcx1 * PIXSIZE));
154 s_srcPatch[ly][lx+1] = convertToFT(loadpix(srcData + srcy1 * src_step + srcx2 * PIXSIZE));
155 s_srcPatch[ly+1][lx+1] = convertToFT(loadpix(srcData + srcy2 * src_step + srcx2 * PIXSIZE));
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);
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);
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);
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);