Searched refs:c_gKer (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/cudaoptflow/src/cuda/ |
D | farneback.cu | 453 __constant__ float c_gKer[MAX_KSIZE_HALF + 1]; variable 473 row[i] = src(y, xExt) * c_gKer[0]; in gaussianBlur() 477 src(b.idx_row_high(y + j), xExt)) * c_gKer[j]; in gaussianBlur() 486 float res = row[0] * c_gKer[0]; in gaussianBlur() 488 res += (row[-i] + row[i]) * c_gKer[i]; in gaussianBlur() 497 cudaSafeCall(cudaMemcpyToSymbol(c_gKer, gKer, (ksizeHalf + 1) * sizeof(*gKer))); in setGaussianBlurKernel() 562 row[k*smw + i] = src(k*height + y, xExt) * c_gKer[0]; in gaussianBlur5() 569 src(k*height + b.idx_row_high(y + j), xExt)) * c_gKer[j]; in gaussianBlur5() 583 res[k] = row[k*smw] * c_gKer[0]; in gaussianBlur5() 588 res[k] += (row[k*smw - i] + row[k*smw + i]) * c_gKer[i]; in gaussianBlur5()
|
/external/opencv3/modules/video/src/opencl/ |
D | optical_flow_farneback.cl | 162 __global const float * c_gKer, const int ksizeHalf, 177 row[i] = src[mad24(y, srcStep, xExt)] * c_gKer[0]; 180 + src[mad24(idx_row_high(y + j, rows - 1), srcStep, xExt)]) * c_gKer[j]; 190 float res = row[0] * c_gKer[0]; 192 res += (row[-i] + row[i]) * c_gKer[i]; 201 __global const float * c_gKer, const int ksizeHalf, 220 row[k*smw + i] = src[mad24(k*rows + y, srcStep, xExt)] * c_gKer[0]; 227 … src[mad24(k*rows + idx_row_high(y + j, rows - 1), srcStep, xExt)]) * c_gKer[j]; 242 res[k] = row[k*smw] * c_gKer[0]; 247 res[k] += (row[k*smw - i] + row[k*smw + i]) * c_gKer[i];
|