Fix builds errors
This commit is contained in:
parent
3ba6636651
commit
ece635bf3c
@ -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
|
|||||||
}
|
}
|
||||||
|
|
||||||
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};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user