implemented asynchronous call for StereoBM()

This commit is contained in:
Andrey Morozov
2010-07-27 08:29:40 +00:00
parent dc0f313924
commit 12dc52c2e7
4 changed files with 116 additions and 99 deletions

View File

@@ -349,7 +349,7 @@ namespace cv
void operator() ( const GpuMat& left, const GpuMat& right, GpuMat& disparity);
//! Acync version
void operator() ( const GpuMat& left, const GpuMat& right, GpuMat& disparity, const CudaStream& stream);
void operator() ( const GpuMat& left, const GpuMat& right, GpuMat& disparity, const CudaStream & stream);
//! Some heuristics that tries to estmate
// if current GPU will be faster then CPU in this algorithm.