Home
last modified time | relevance | path

Searched refs:BORDER_SIZE (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/cudaoptflow/src/cuda/
Dfarneback.cu55 #define BORDER_SIZE 5 macro
154 __constant__ float c_border[BORDER_SIZE + 1];
227 c_border[::min(x, BORDER_SIZE)] * in updateMatrices()
228 c_border[::min(y, BORDER_SIZE)] * in updateMatrices()
229 c_border[::min(width - x - 1, BORDER_SIZE)] * in updateMatrices()
230 c_border[::min(height - y - 1, BORDER_SIZE)]; in updateMatrices()
246 static const float border[BORDER_SIZE + 1] = {0.14f, 0.14f, 0.4472f, 0.4472f, 0.4472f, 1.f}; in setUpdateMatricesConsts()
247 cudaSafeCall(cudaMemcpyToSymbol(c_border, border, (BORDER_SIZE + 1) * sizeof(*border))); in setUpdateMatricesConsts()
/external/opencv3/modules/video/src/opencl/
Doptical_flow_farneback.cl52 #define BORDER_SIZE 5
254 __constant float c_border[BORDER_SIZE + 1] = { 0.14f, 0.14f, 0.4472f, 0.4472f, 0.4472f, 1.f };
331 c_border[min(x, BORDER_SIZE)] *
332 c_border[min(y, BORDER_SIZE)] *
333 c_border[min(cols - x - 1, BORDER_SIZE)] *
334 c_border[min(rows - y - 1, BORDER_SIZE)];