Home
last modified time | relevance | path

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

/external/opencv3/modules/cudaoptflow/src/cuda/
Dfarneback.cu60 __constant__ float c_g[8]; variable
79 row[0] = src(y, xWarped) * c_g[0]; in polynomialExpansion()
88 row[0] += c_g[k] * (t0 + t1); in polynomialExpansion()
97 float b1 = c_g[0] * row[0]; in polynomialExpansion()
98 float b3 = c_g[0] * row[bdx]; in polynomialExpansion()
99 float b5 = c_g[0] * row[2*bdx]; in polynomialExpansion()
104 b1 += (row[k] + row[-k]) * c_g[k]; in polynomialExpansion()
107 b3 += (row[k + bdx] + row[-k + bdx]) * c_g[k]; in polynomialExpansion()
109 b5 += (row[k + 2*bdx] + row[-k + 2*bdx]) * c_g[k]; in polynomialExpansion()
126 cudaSafeCall(cudaMemcpyToSymbol(c_g, g, (polyN + 1) * sizeof(*g))); in setPolynomialExpansionConsts()
/external/opencv3/modules/video/src/opencl/
Doptical_flow_farneback.cl75 __global __const float * c_g,
91 row[0] = src[mad24(y, srcStep, xWarped)] * c_g[0];
101 row[0] += c_g[k] * (t0 + t1);
111 TYPE b1 = c_g[0] * row[0];
112 TYPE b3 = c_g[0] * row[bdx];
113 TYPE b5 = c_g[0] * row[2*bdx];
119 b1 += (row[k] + row[-k]) * c_g[k];
122 b3 += (row[k + bdx] + row[-k + bdx]) * c_g[k];
124 b5 += (row[k + 2*bdx] + row[-k + 2*bdx]) * c_g[k];