LOCAL_SUM_SIZE 17 modules/imgproc/src/opencl/integral_sum.cl #ifndef LOCAL_SUM_SIZE LOCAL_SUM_SIZE 21 modules/imgproc/src/opencl/integral_sum.cl #define LOCAL_SUM_STRIDE (LOCAL_SUM_SIZE + 1) LOCAL_SUM_SIZE 31 modules/imgproc/src/opencl/integral_sum.cl __local sumT lm_sum[LOCAL_SUM_STRIDE * LOCAL_SUM_SIZE]; LOCAL_SUM_SIZE 33 modules/imgproc/src/opencl/integral_sum.cl __local sumSQT lm_sum_sq[LOCAL_SUM_STRIDE * LOCAL_SUM_SIZE]; LOCAL_SUM_SIZE 45 modules/imgproc/src/opencl/integral_sum.cl for (int y = 0; y < rows; y += LOCAL_SUM_SIZE) LOCAL_SUM_SIZE 49 modules/imgproc/src/opencl/integral_sum.cl for (int yin = 0; yin < LOCAL_SUM_SIZE; yin++, src_index+=src_step, lsum_index += LOCAL_SUM_STRIDE) LOCAL_SUM_SIZE 68 modules/imgproc/src/opencl/integral_sum.cl int buf_index = mad24(buf_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumT), y + lid, buf_offset)); LOCAL_SUM_SIZE 70 modules/imgproc/src/opencl/integral_sum.cl int buf_sq_index = mad24(buf_sq_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumSQT), y + lid, buf_sq_offset)); LOCAL_SUM_SIZE 75 modules/imgproc/src/opencl/integral_sum.cl for (int yin = 0; yin < LOCAL_SUM_SIZE; yin++, lsum_index ++) LOCAL_SUM_SIZE 100 modules/imgproc/src/opencl/integral_sum.cl __local sumT lm_sum[LOCAL_SUM_STRIDE * LOCAL_SUM_SIZE]; LOCAL_SUM_SIZE 102 modules/imgproc/src/opencl/integral_sum.cl __local sumSQT lm_sum_sq[LOCAL_SUM_STRIDE * LOCAL_SUM_SIZE]; LOCAL_SUM_SIZE 145 modules/imgproc/src/opencl/integral_sum.cl for (int y = 1; y < cols; y += LOCAL_SUM_SIZE) LOCAL_SUM_SIZE 149 modules/imgproc/src/opencl/integral_sum.cl for (int yin = 0; yin < LOCAL_SUM_SIZE; yin++, lsum_index += LOCAL_SUM_STRIDE) LOCAL_SUM_SIZE 167 modules/imgproc/src/opencl/integral_sum.cl int dst_index = mad24(dst_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumT), y + lid, dst_offset)); LOCAL_SUM_SIZE 169 modules/imgproc/src/opencl/integral_sum.cl int dst_sq_index = mad24(dst_sq_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumSQT), y + lid, dst_sq_offset)); LOCAL_SUM_SIZE 172 modules/imgproc/src/opencl/integral_sum.cl int yin_max = min(rows - 1 - LOCAL_SUM_SIZE * gid, LOCAL_SUM_SIZE);