add cv::gpu::StreamAccessor::wrapStream method

it allows to import existed CUDA stream to OpenCV
This commit is contained in:
Vladislav Vinogradov
2015-11-12 13:07:30 +03:00
parent 1862d1995f
commit 8d3850ac02
3 changed files with 39 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ namespace cv
struct StreamAccessor
{
CV_EXPORTS static cudaStream_t getStream(const Stream& stream);
CV_EXPORTS static Stream wrapStream(cudaStream_t stream);
};
}
}