removed buffered versions of histogram functions

used BufferPool mechanism instead
This commit is contained in:
Vladislav Vinogradov
2014-12-30 15:36:58 +03:00
parent 61991a3330
commit 220d937d9a
5 changed files with 46 additions and 84 deletions

View File

@@ -130,6 +130,12 @@ namespace cv { namespace cuda
class NppStreamHandler
{
public:
inline explicit NppStreamHandler(Stream& newStream)
{
oldStream = nppGetStream();
nppSetStream(StreamAccessor::getStream(newStream));
}
inline explicit NppStreamHandler(cudaStream_t newStream)
{
oldStream = nppGetStream();