Lines Matching refs:maxRange
60 void cv::cuda::calcOpticalFlowBM(const GpuMat& prev, const GpuMat& curr, Size blockSize, Size shiftSize, Size maxRange, bool usePrevious, GpuMat& velx, GpuMat& vely, GpuMat& buf, Stream& st)
72 std::vector<short2> ss((2 * maxRange.width + 1) * (2 * maxRange.height + 1));
76 const int minCount = std::min(maxRange.width, maxRange.height);
122 if (maxRange.width < maxRange.height)
127 for (int i = minCount; i < maxRange.height; ++i)
134 for (int j = -maxRange.width; j <= maxRange.width; ++j, ++ssCount, ++x)
144 for (int j = -maxRange.width; j <= maxRange.width; ++j, ++ssCount, ++x)
151 else if (maxRange.width > maxRange.height)
156 for (int i = minCount; i < maxRange.width; ++i)
163 for (int j = -maxRange.height; j <= maxRange.height; ++j, ++ssCount, ++y)
173 for (int j = -maxRange.height; j <= maxRange.height; ++j, ++ssCount, ++y)