Home
last modified time | relevance | path

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

/external/opencv3/modules/cudaoptflow/src/cuda/
Dfarneback.cu77 int xWarped = ::min(::max(x, 0), width - 1); in polynomialExpansion() local
79 row[0] = src(y, xWarped) * c_g[0]; in polynomialExpansion()
85 float t0 = src(::max(y - k, 0), xWarped); in polynomialExpansion()
86 float t1 = src(::min(y + k, height - 1), xWarped); in polynomialExpansion()
112 dst(y, xWarped) = b3*c_ig11; in polynomialExpansion()
113 dst(height + y, xWarped) = b2*c_ig11; in polynomialExpansion()
114 dst(2*height + y, xWarped) = b1*c_ig03 + b5*c_ig33; in polynomialExpansion()
115 dst(3*height + y, xWarped) = b1*c_ig03 + b4*c_ig33; in polynomialExpansion()
116 dst(4*height + y, xWarped) = b6*c_ig55; in polynomialExpansion()
/external/opencv3/modules/video/src/opencl/
Doptical_flow_farneback.cl84 int xWarped;
89 xWarped = min(max(x, 0), cols - 1);
91 row[0] = src[mad24(y, srcStep, xWarped)] * c_g[0];
98 float t0 = src[mad24(max(y - k, 0), srcStep, xWarped)];
99 float t1 = src[mad24(min(y + k, rows - 1), srcStep, xWarped)];
127 dst[mad24(y, dstStep, xWarped)] = (float)(b3*ig.s0);
128 dst[mad24(rows + y, dstStep, xWarped)] = (float)(b2*ig.s0);
129 dst[mad24(2*rows + y, dstStep, xWarped)] = (float)(b1*ig.s1 + b5*ig.s2);
130 dst[mad24(3*rows + y, dstStep, xWarped)] = (float)(b1*ig.s1 + b4*ig.s2);
131 dst[mad24(4*rows + y, dstStep, xWarped)] = (float)(b6*ig.s3);