Commit ece635bf authored by vbystricky's avatar vbystricky

Fix builds errors

parent 3ba66366
...@@ -657,7 +657,7 @@ namespace cv ...@@ -657,7 +657,7 @@ namespace cv
{ {
if (!lkSparse_run(prevPyr[level], nextPyr[level], prevPts, if (!lkSparse_run(prevPyr[level], nextPyr[level], prevPts,
nextPts, status, err, nextPts, status, err,
prevPts.cols, level, patch)) prevPts.cols, level))
return false; return false;
} }
return true; return true;
...@@ -709,7 +709,7 @@ namespace cv ...@@ -709,7 +709,7 @@ namespace cv
} }
bool lkSparse_run(UMat &I, UMat &J, const UMat &prevPts, UMat &nextPts, UMat &status, UMat& err, bool lkSparse_run(UMat &I, UMat &J, const UMat &prevPts, UMat &nextPts, UMat &status, UMat& err,
int ptcount, int level, dim3 patch) int ptcount, int level)
{ {
size_t localThreads[3] = { 8, 8}; size_t localThreads[3] = { 8, 8};
size_t globalThreads[3] = { 8 * ptcount, 8}; size_t globalThreads[3] = { 8 * ptcount, 8};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment