Lines Matching refs:sx
110 short sx = convert_short_sat(X0 >> AB_BITS);
113 if (sx >= 0 && sx < src_cols && sy >= 0 && sy < src_rows)
115 int src_index = mad24(sy, src_step, mad24(sx, pixsize, src_offset));
154 … short sx = convert_short_sat(X0 >> INTER_BITS), sy = convert_short_sat(Y0 >> INTER_BITS);
159 if (sx >= 0 && sx < src_cols)
162 … v0 = convertToWT(loadpix(srcptr + mad24(sy, src_step, mad24(sx, pixsize, src_offset))));
164 … v2 = convertToWT(loadpix(srcptr + mad24(sy+1, src_step, mad24(sx, pixsize, src_offset))));
166 if (sx+1 >= 0 && sx+1 < src_cols)
169 … v1 = convertToWT(loadpix(srcptr + mad24(sy, src_step, mad24(sx+1, pixsize, src_offset))));
171 … v3 = convertToWT(loadpix(srcptr + mad24(sy+1, src_step, mad24(sx+1, pixsize, src_offset))));
195 int src_index0 = mad24(sy, src_step, mad24(sx, pixsize, src_offset)), src_index;
206 if (sx >= 0 && sx + 2 < src_cols)
221 xsum = fma(sx + x >= 0 && sx + x < src_cols ?
283 int sx = (short)(X0 >> INTER_BITS) - 1, sy = (short)(Y0 >> INTER_BITS) - 1;
295 v[mad24(y, 4, x)] = sx+x >= 0 && sx+x < src_cols ?
296 … convertToWT(loadpix(srcptr + mad24(sy+y, src_step, mad24(sx+x, pixsize, src_offset)))) : scalar;
336 int src_index0 = mad24(sy, src_step, mad24(sx, pixsize, src_offset)), src_index;
347 if (sx >= 0 && sx + 4 < src_cols)
362 xsum = fma(sx + x >= 0 && sx + x < src_cols ?