Home | History | Annotate | Download | only in opencl

Lines Matching full:src_step

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 __global const pixel_t * src_current = (__global const pixel_t *)(src + mad24(y, src_step, mad24(psz, x, src_offset)));
131 src_current = (__global const pixel_t *)((__global const uchar *)src_current + src_step);
132 src_template = (__global const pixel_t *)((__global const uchar *)src_template + src_step);
144 inline void calcElementInFirstRow(__global const uchar * src, int src_step, int src_offset,
154 __global const pixel_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)));
166 src_current = (__global const pixel_t *)((__global const uchar *)src_current + src_step);
167 src_template = (__global const pixel_t *)((__global const uchar *)src_template + src_step);
176 inline void calcElement(__global const uchar * src, int src_step, int src_offset,
184 pixel_t up_value = *(__global const pixel_t *)(src + mad24(sy_up, src_step, mad24(psz, sx, src_offset)));
185 pixel_t down_value = *(__global const pixel_t *)(src + mad24(sy_down, src_step, mad24(psz, sx, src_offset)));
195 pixel_t up_value_t = *(__global const pixel_t *)(src + mad24(sy_up + wy, src_step, mad24(psz, sx + wx, src_offset)));
196 pixel_t down_value_t = *(__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 int 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_dists);
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,