Lines Matching refs:src_offset
99 inline void calcFirstElementInRow(__global const uchar * src, int src_step, int src_offset,
112 mad24(sy + i / SEARCH_SIZE, src_step, mad24(psz, sx + i % SEARCH_SIZE, src_offset)));
113 …_t * src_current = (__global const pixel_t *)(src + mad24(y, src_step, mad24(psz, x, src_offset)));
144 inline void calcElementInFirstRow(__global const uchar * src, int src_step, int src_offset,
154 …_t * src_current = (__global const pixel_t *)(src + mad24(y, src_step, mad24(psz, x, src_offset)));
156 mad24(sy + i / SEARCH_SIZE, src_step, mad24(psz, sx + i % SEARCH_SIZE, src_offset)));
176 inline void calcElement(__global const uchar * src, int src_step, int src_offset,
184 …t up_value = *(__global const pixel_t *)(src + mad24(sy_up, src_step, mad24(psz, sx, src_offset)));
185 …wn_value = *(__global const pixel_t *)(src + mad24(sy_down, src_step, mad24(psz, sx, src_offset)));
195 … = *(__global const pixel_t *)(src + mad24(sy_up + wy, src_step, mad24(psz, sx + wx, src_offset)));
196 … *(__global const pixel_t *)(src + mad24(sy_down + wy, src_step, mad24(psz, sx + wx, src_offset)));
209 inline void convolveWindow(__global const uchar * src, int src_step, int src_offset,
221 …nt src_index = mad24(sy + i / SEARCH_SIZE, src_step, mad24(i % SEARCH_SIZE + sx, psz, src_offset));
257 __kernel void fastNlMeansDenoising(__global const uchar * src, int src_step, int src_offset,
284 … calcFirstElementInRow(src, src_step, src_offset, dists, y, x, id, col_dists, up_col_dists);
290 …calcElementInFirstRow(src, src_step, src_offset, dists, y, x - x0, x, id, first, col_dists, up_col…
292 … calcElement(src, src_step, src_offset, dists, y, x - x0, x, id, first, col_dists, up_col_dists);
297 … convolveWindow(src, src_step, src_offset, dists, almostDist2Weight, dst, dst_step, dst_offset,