bdx 82 modules/video/src/opencl/optical_flow_farneback.cl const int x = bx * (bdx - 2*polyN) + tx - polyN; bdx 92 modules/video/src/opencl/optical_flow_farneback.cl row[bdx] = 0.f; bdx 93 modules/video/src/opencl/optical_flow_farneback.cl row[2*bdx] = 0.f; bdx 102 modules/video/src/opencl/optical_flow_farneback.cl row[bdx] += c_xg[k] * (t1 - t0); bdx 103 modules/video/src/opencl/optical_flow_farneback.cl row[2*bdx] += c_xxg[k] * (t0 + t1); bdx 109 modules/video/src/opencl/optical_flow_farneback.cl if (y < rows && y >= 0 && tx >= polyN && tx + polyN < bdx && x < cols) bdx 112 modules/video/src/opencl/optical_flow_farneback.cl TYPE b3 = c_g[0] * row[bdx]; bdx 113 modules/video/src/opencl/optical_flow_farneback.cl TYPE b5 = c_g[0] * row[2*bdx]; bdx 122 modules/video/src/opencl/optical_flow_farneback.cl b3 += (row[k + bdx] + row[-k + bdx]) * c_g[k]; bdx 123 modules/video/src/opencl/optical_flow_farneback.cl b6 += (row[k + bdx] - row[-k + bdx]) * c_xg[k]; bdx 124 modules/video/src/opencl/optical_flow_farneback.cl b5 += (row[k + 2*bdx] + row[-k + 2*bdx]) * c_g[k]; bdx 168 modules/video/src/opencl/optical_flow_farneback.cl __local float *row = smem + ty * (bdx + 2*ksizeHalf); bdx 173 modules/video/src/opencl/optical_flow_farneback.cl for (int i = tx; i < bdx + 2*ksizeHalf; i += bdx) bdx 175 modules/video/src/opencl/optical_flow_farneback.cl int xExt = (int)(bx * bdx) + i - ksizeHalf; bdx 207 modules/video/src/opencl/optical_flow_farneback.cl const int smw = bdx + 2*ksizeHalf; // shared memory "cols" bdx 213 modules/video/src/opencl/optical_flow_farneback.cl for (int i = tx; i < bdx + 2*ksizeHalf; i += bdx) bdx 215 modules/video/src/opencl/optical_flow_farneback.cl int xExt = (int)(bx * bdx) + i - ksizeHalf; bdx 360 modules/video/src/opencl/optical_flow_farneback.cl const int smw = bdx + 2*ksizeHalf; // shared memory "width" bdx 366 modules/video/src/opencl/optical_flow_farneback.cl for (int i = tx; i < bdx + 2*ksizeHalf; i += bdx) bdx 368 modules/video/src/opencl/optical_flow_farneback.cl int xExt = (int)(bx * bdx) + i - ksizeHalf;