LOCAL_SIZE 538 modules/core/src/opencl/fft.cl const int block_size = LOCAL_SIZE/kercn; LOCAL_SIZE 541 modules/core/src/opencl/fft.cl __local CT smem[LOCAL_SIZE]; LOCAL_SIZE 620 modules/core/src/opencl/fft.cl __local CT smem[LOCAL_SIZE]; LOCAL_SIZE 624 modules/core/src/opencl/fft.cl const int block_size = LOCAL_SIZE/kercn; LOCAL_SIZE 678 modules/core/src/opencl/fft.cl const int block_size = LOCAL_SIZE/kercn; LOCAL_SIZE 687 modules/core/src/opencl/fft.cl __local CT smem[LOCAL_SIZE]; LOCAL_SIZE 705 modules/core/src/opencl/fft.cl for (int i=x; i<(LOCAL_SIZE-1)/2; i+=block_size) LOCAL_SIZE 709 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE-i-1] = src[i]; LOCAL_SIZE 714 modules/core/src/opencl/fft.cl for (int i=x; i<(LOCAL_SIZE-1)/2; i+=block_size) LOCAL_SIZE 720 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE-i-1] = src; LOCAL_SIZE 730 modules/core/src/opencl/fft.cl if(LOCAL_SIZE % 2 ==0) LOCAL_SIZE 733 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE/2].x = src[LOCAL_SIZE/2-1].x; LOCAL_SIZE 735 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE/2].x = *(__global const FT*)(src_ptr + mad24(y, src_step, mad24(LOCAL_SIZE-1, (int)sizeof(FT), src_offset))); LOCAL_SIZE 737 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE/2].y = 0.f; LOCAL_SIZE 788 modules/core/src/opencl/fft.cl __local CT smem[LOCAL_SIZE]; LOCAL_SIZE 793 modules/core/src/opencl/fft.cl const int block_size = LOCAL_SIZE/kercn; LOCAL_SIZE 821 modules/core/src/opencl/fft.cl const int block_size = LOCAL_SIZE/kercn; LOCAL_SIZE 823 modules/core/src/opencl/fft.cl __local CT smem[LOCAL_SIZE]; LOCAL_SIZE 846 modules/core/src/opencl/fft.cl for (int i=y; i<(LOCAL_SIZE-1)/2; i+=block_size) LOCAL_SIZE 851 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE-i-1].x = src[2*i*step];; LOCAL_SIZE 852 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE-i-1].y = src[(2*i+1)*step]; LOCAL_SIZE 859 modules/core/src/opencl/fft.cl if(LOCAL_SIZE % 2 ==0) LOCAL_SIZE 861 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE/2].x = src[(LOCAL_SIZE-2)*step]; LOCAL_SIZE 862 modules/core/src/opencl/fft.cl smem[LOCAL_SIZE/2].y = 0.f; LOCAL_SIZE 23 modules/core/src/opencl/gemm.cl #define LOCAL_SIZE_ODD (LOCAL_SIZE + 1) LOCAL_SIZE 62 modules/core/src/opencl/gemm.cl #if LOCAL_SIZE == 1 LOCAL_SIZE 70 modules/core/src/opencl/gemm.cl __local T a_local[LOCAL_SIZE_ODD*LOCAL_SIZE]; LOCAL_SIZE 71 modules/core/src/opencl/gemm.cl __local WT b_local[LOCAL_SIZE_ODD*LOCAL_SIZE]; LOCAL_SIZE 75 modules/core/src/opencl/gemm.cl reps = (n + LOCAL_SIZE-1)/LOCAL_SIZE; LOCAL_SIZE 77 modules/core/src/opencl/gemm.cl reps = n/LOCAL_SIZE; LOCAL_SIZE 82 modules/core/src/opencl/gemm.cl if (p * LOCAL_SIZE + lidx < n && y < D_rows) LOCAL_SIZE 83 modules/core/src/opencl/gemm.cl a_local[mad24(lidy, LOCAL_SIZE_ODD, lidx)] = A[mad24(p, LOCAL_SIZE, lidx)]; LOCAL_SIZE 84 modules/core/src/opencl/gemm.cl if (p * LOCAL_SIZE + lidy < n && x < D_cols) LOCAL_SIZE 85 modules/core/src/opencl/gemm.cl b_local[mad24(lidy, LOCAL_SIZE_ODD, lidx)] = B[mad24(p, LOCAL_SIZE, lidy)*STEP_B]; LOCAL_SIZE 92 modules/core/src/opencl/gemm.cl int ie = min(LOCAL_SIZE, n - p * LOCAL_SIZE); LOCAL_SIZE 95 modules/core/src/opencl/gemm.cl for (int i = 0; i < LOCAL_SIZE; ++i) LOCAL_SIZE 161 modules/imgproc/src/opencl/filter2D.cl if (id >= 0 && id < LOCAL_SIZE) \ LOCAL_SIZE 174 modules/imgproc/src/opencl/filter2D.cl int x = local_id + (LOCAL_SIZE - (KERNEL_SIZE_X - 1)) * get_group_id(0) - ANCHOR_X; LOCAL_SIZE 178 modules/imgproc/src/opencl/filter2D.cl __local WT sumOfCols[LOCAL_SIZE]; LOCAL_SIZE 238 modules/imgproc/src/opencl/filter2D.cl if (local_id >= ANCHOR_X && local_id < LOCAL_SIZE - (KERNEL_SIZE_X - 1 - ANCHOR_X) && x >= 0 && x < cols) LOCAL_SIZE 19 modules/imgproc/src/opencl/hough_lines.cl __local int l_points[LOCAL_SIZE]; LOCAL_SIZE 106 modules/imgproc/src/opencl/hough_lines.cl for (int i=count_idx; i<BUFFER_SIZE; i+=LOCAL_SIZE) LOCAL_SIZE 114 modules/imgproc/src/opencl/hough_lines.cl for (int i = count_idx; i < total_points; i += LOCAL_SIZE) LOCAL_SIZE 127 modules/imgproc/src/opencl/hough_lines.cl for (int i=count_idx; i<BUFFER_SIZE; i+=LOCAL_SIZE) LOCAL_SIZE 133 modules/imgproc/src/opencl/hough_lines.cl for (int i=count_idx; i<BUFFER_SIZE; i+=LOCAL_SIZE) LOCAL_SIZE 137 modules/imgproc/src/opencl/pyr_down.cl __local FT smem[2][LOCAL_SIZE + 4]; LOCAL_SIZE 172 modules/imgproc/src/opencl/pyr_down.cl col = EXTRAPOLATE((int)(get_group_id(0)*LOCAL_SIZE + get_local_id(0) - 2), src_cols); LOCAL_SIZE 177 modules/imgproc/src/opencl/pyr_down.cl col = EXTRAPOLATE((int)((get_group_id(0)+1)*LOCAL_SIZE + get_local_id(0) - 2), src_cols); LOCAL_SIZE 178 modules/imgproc/src/opencl/pyr_down.cl LOAD_LOCAL(col, LOCAL_SIZE + get_local_id(0)) LOCAL_SIZE 204 modules/imgproc/src/opencl/pyr_down.cl col = EXTRAPOLATE((int)(get_group_id(0)*LOCAL_SIZE + get_local_id(0) - 2), src_cols); LOCAL_SIZE 209 modules/imgproc/src/opencl/pyr_down.cl col = EXTRAPOLATE((int)((get_group_id(0)+1)*LOCAL_SIZE + get_local_id(0) - 2), src_cols); LOCAL_SIZE 210 modules/imgproc/src/opencl/pyr_down.cl LOAD_LOCAL(col, LOCAL_SIZE + get_local_id(0)) LOCAL_SIZE 217 modules/imgproc/src/opencl/pyr_down.cl if (get_local_id(0) < LOCAL_SIZE / 2) LOCAL_SIZE 229 modules/imgproc/src/opencl/pyr_down.cl FT sum = dot(vload4(0, (__local float*) (&smem) + tid2 + (yin - y) * (LOCAL_SIZE + 4)), (float4)(co3, co2, co1, co2)); LOCAL_SIZE 231 modules/imgproc/src/opencl/pyr_down.cl FT sum = dot(vload4(0, (__local double*) (&smem) + tid2 + (yin - y) * (LOCAL_SIZE + 4)), (double4)(co3, co2, co1, co2)); LOCAL_SIZE 246 modules/imgproc/src/opencl/pyr_down.cl int dst_x = (get_group_id(0) * LOCAL_SIZE + tid4) / 2; LOCAL_SIZE 84 modules/imgproc/src/opencl/pyr_up.cl __local FT s_srcPatch[LOCAL_SIZE/2 + 2][LOCAL_SIZE/2 + 2]; LOCAL_SIZE 85 modules/imgproc/src/opencl/pyr_up.cl __local FT s_dstPatch[LOCAL_SIZE/2 + 2][LOCAL_SIZE]; LOCAL_SIZE 90 modules/imgproc/src/opencl/pyr_up.cl if( tidx < (LOCAL_SIZE/2 + 2) && tidy < LOCAL_SIZE/2 + 2 ) LOCAL_SIZE 92 modules/imgproc/src/opencl/pyr_up.cl int srcx = EXTRAPOLATE(mad24((int)get_group_id(0), LOCAL_SIZE/2, tidx) - 1, src_cols); LOCAL_SIZE 93 modules/imgproc/src/opencl/pyr_up.cl int srcy = EXTRAPOLATE(mad24((int)get_group_id(1), LOCAL_SIZE/2, tidy) - 1, src_rows); LOCAL_SIZE 111 modules/imgproc/src/opencl/pyr_up.cl if(tidy < LOCAL_SIZE/2 + 2) LOCAL_SIZE 137 modules/imgproc/src/opencl/pyr_up.cl __local FT s_srcPatch[LOCAL_SIZE+2][LOCAL_SIZE+2]; LOCAL_SIZE 138 modules/imgproc/src/opencl/pyr_up.cl __local FT s_dstPatch[LOCAL_SIZE+2][2*LOCAL_SIZE]; LOCAL_SIZE 143 modules/imgproc/src/opencl/pyr_up.cl if( lx < (LOCAL_SIZE+2) && ly < (LOCAL_SIZE+2) ) LOCAL_SIZE 145 modules/imgproc/src/opencl/pyr_up.cl int srcx = mad24((int)get_group_id(0), LOCAL_SIZE, lx) - 1; LOCAL_SIZE 146 modules/imgproc/src/opencl/pyr_up.cl int srcy = mad24((int)get_group_id(1), LOCAL_SIZE, ly) - 1; LOCAL_SIZE 192 modules/imgproc/src/opencl/pyr_up.cl if (ly > 2*LOCAL_SIZE-3) LOCAL_SIZE 195 modules/imgproc/src/opencl/pyr_up.cl sum = co3 * s_srcPatch[LOCAL_SIZE+1][1 + ((lx - 2) >> 1)]; LOCAL_SIZE 196 modules/imgproc/src/opencl/pyr_up.cl sum = mad(co1, s_srcPatch[LOCAL_SIZE+1][1 + ((lx ) >> 1)], sum); LOCAL_SIZE 197 modules/imgproc/src/opencl/pyr_up.cl sum = mad(co3, s_srcPatch[LOCAL_SIZE+1][1 + ((lx + 2) >> 1)], sum); LOCAL_SIZE 198 modules/imgproc/src/opencl/pyr_up.cl s_dstPatch[LOCAL_SIZE+1][lx] = sum; LOCAL_SIZE 201 modules/imgproc/src/opencl/pyr_up.cl sum = co2 * s_srcPatch[LOCAL_SIZE+1][1 + ((lx + 1 - 1) >> 1)]; LOCAL_SIZE 202 modules/imgproc/src/opencl/pyr_up.cl sum = mad(co2, s_srcPatch[LOCAL_SIZE+1][1 + ((lx + 1 + 1) >> 1)], sum); LOCAL_SIZE 203 modules/imgproc/src/opencl/pyr_up.cl s_dstPatch[LOCAL_SIZE+1][lx+1] = sum; LOCAL_SIZE 107 modules/objdetect/src/opencl/cascadedetect.cl __local int lstore[SUM_BUF_SIZE + LOCAL_SIZE*5/2+1]; LOCAL_SIZE 115 modules/objdetect/src/opencl/cascadedetect.cl __local float* lpartsum = lnf + LOCAL_SIZE; LOCAL_SIZE 116 modules/objdetect/src/opencl/cascadedetect.cl __local short* lbuf = (__local short*)(lpartsum + LOCAL_SIZE); LOCAL_SIZE 251 modules/objdetect/src/opencl/cascadedetect.cl int nparts = LOCAL_SIZE / nrects; LOCAL_SIZE 477 modules/objdetect/src/opencl/cascadedetect.cl __local int lstore[SUM_BUF_SIZE + LOCAL_SIZE*3/2+1]; LOCAL_SIZE 485 modules/objdetect/src/opencl/cascadedetect.cl __local short* lbuf = (__local short*)(lpartsum + LOCAL_SIZE); LOCAL_SIZE 577 modules/objdetect/src/opencl/cascadedetect.cl int nparts = LOCAL_SIZE / nrects;