Home
last modified time | relevance | path

Searched refs:ksizeHalf (Results 1 – 4 of 4) sorted by relevance

/external/opencv3/modules/cudaoptflow/src/cuda/
Dfarneback.cu359 const int ksizeHalf, const float boxAreaInv, PtrStepf dst) in boxFilter5() argument
366 const int smw = bdx + 2*ksizeHalf; // shared memory "width" in boxFilter5()
372 for (int i = tx; i < bdx + 2*ksizeHalf; i += bdx) in boxFilter5()
374 int xExt = int(bx * bdx) + i - ksizeHalf; in boxFilter5()
381 for (int j = 1; j <= ksizeHalf; ++j) in boxFilter5()
395 row += tx + ksizeHalf; in boxFilter5()
402 for (int i = 1; i <= ksizeHalf; ++i) in boxFilter5()
415 void boxFilter5Gpu(const PtrStepSzf src, int ksizeHalf, PtrStepSzf dst, cudaStream_t stream) in boxFilter5Gpu() argument
422 int smem = (block.x + 2*ksizeHalf) * 5 * block.y * sizeof(float); in boxFilter5Gpu()
424 float boxAreaInv = 1.f / ((1 + 2*ksizeHalf) * (1 + 2*ksizeHalf)); in boxFilter5Gpu()
[all …]
/external/opencv3/modules/video/src/opencl/
Doptical_flow_farneback.cl162 __global const float * c_gKer, const int ksizeHalf,
168 __local float *row = smem + ty * (bdx + 2*ksizeHalf);
173 for (int i = tx; i < bdx + 2*ksizeHalf; i += bdx)
175 int xExt = (int)(bx * bdx) + i - ksizeHalf;
178 for (int j = 1; j <= ksizeHalf; ++j)
189 row += tx + ksizeHalf;
191 for (int i = 1; i <= ksizeHalf; ++i)
201 __global const float * c_gKer, const int ksizeHalf,
207 const int smw = bdx + 2*ksizeHalf; // shared memory "cols"
213 for (int i = tx; i < bdx + 2*ksizeHalf; i += bdx)
[all …]
/external/opencv3/modules/cudaoptflow/src/
Dfarneback.cpp77 void boxFilter5Gpu(const PtrStepSzf src, int ksizeHalf, PtrStepSzf dst, cudaStream_t stream);
79 … void boxFilter5Gpu_CC11(const PtrStepSzf src, int ksizeHalf, PtrStepSzf dst, cudaStream_t stream);
81 void setGaussianBlurKernel(const float *gKer, int ksizeHalf);
84 … const PtrStepSzf src, int ksizeHalf, PtrStepSzf dst, int borderType, cudaStream_t stream);
87 … const PtrStepSzf src, int ksizeHalf, PtrStepSzf dst, int borderType, cudaStream_t stream);
90 … const PtrStepSzf src, int ksizeHalf, PtrStepSzf dst, int borderType, cudaStream_t stream);
/external/opencv3/modules/video/src/
Doptflowgf.cpp841 bool gaussianBlurOcl(const UMat &src, int ksizeHalf, UMat &dst) in gaussianBlurOcl() argument
849 int smem_size = (int)((localsize[0] + 2*ksizeHalf) * sizeof(float)); in gaussianBlurOcl()
863 idxArg = kernel.set(idxArg, (int)ksizeHalf); in gaussianBlurOcl()
867 bool gaussianBlur5Ocl(const UMat &src, int ksizeHalf, UMat &dst) in gaussianBlur5Ocl() argument
876 int smem_size = (int)((localsize[0] + 2*ksizeHalf) * 5 * sizeof(float)); in gaussianBlur5Ocl()
889 idxArg = kernel.set(idxArg, (int)ksizeHalf); in gaussianBlur5Ocl()
929 bool boxFilter5Ocl(const UMat &src, int ksizeHalf, UMat &dst) in boxFilter5Ocl() argument
943 int smem_size = (int)((localsize[0] + 2*ksizeHalf) * 5 * sizeof(float)); in boxFilter5Ocl()
952 idxArg = kernel.set(idxArg, (int)ksizeHalf); in boxFilter5Ocl()