Fixed pointers to posNum and negNum

pull/341/head
Vladimir 9 years ago
parent c64a5a0423
commit b3636fe547
  1. 12
      modules/tracking/src/tldDetector.cpp

@ -131,8 +131,8 @@ namespace cv
ocl::KernelArg::PtrReadOnly(devPositiveSamples),
ocl::KernelArg::PtrReadOnly(devNegativeSamples),
ocl::KernelArg::PtrWriteOnly(devNCC),
posNum,
negNum);
*posNum,
*negNum);
//e4 = getTickCount();
//t = (e4 - e3) / getTickFrequency()*1000.0;
@ -208,8 +208,8 @@ namespace cv
ocl::KernelArg::PtrReadOnly(devNegativeSamples),
ocl::KernelArg::PtrWriteOnly(devPosNCC),
ocl::KernelArg::PtrWriteOnly(devNegNCC),
posNum,
negNum,
*posNum,
*negNum,
numOfPatches);
//e4 = getTickCount();
@ -364,8 +364,8 @@ namespace cv
ocl::KernelArg::PtrReadOnly(devPositiveSamples),
ocl::KernelArg::PtrReadOnly(devNegativeSamples),
ocl::KernelArg::PtrWriteOnly(devNCC),
posNum,
negNum);
*posNum,
*negNum);
//e4 = getTickCount();
//t = (e4 - e3) / getTickFrequency()*1000.0;

Loading…
Cancel
Save