Encapculates Cuda Stream. Provides interface for async coping.
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlus.GpuDisposableGpuObject
OpenCvSharp.CPlusPlus.GpuStream
Namespace: OpenCvSharp.CPlusPlus.Gpu
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The Stream type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Stream |
Creates empty Stream
| |
Stream(IntPtr) |
Creates from native cv::gpu::Stream* pointer
| |
Stream(Stream) | Initializes a new instance of the Stream class |
Properties
Name | Description | |
---|---|---|
CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
Null |
Empty stream
|
Methods
Name | Description | |
---|---|---|
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
EnqueueConvert |
converts matrix type, ex from float to uchar depending on type
| |
EnqueueCopy |
Copy asynchronously
| |
EnqueueDownload(GpuMat, CudaMem) |
Downloads asynchronously.
Warning! cv::Mat must point to page locked memory (i.e. to CudaMem data or to its subMat)
| |
EnqueueDownload(GpuMat, Mat) |
Downloads asynchronously.
Warning! cv::Mat must point to page locked memory (i.e. to CudaMem data or to its subMat)
| |
EnqueueHostCallback |
Adds a callback to be called on the host after all currently enqueued items
in the stream have completed
| |
EnqueueMemSet(GpuMat, Scalar) |
Memory set asynchronously
| |
EnqueueMemSet(GpuMat, Scalar, GpuMat) |
Memory set asynchronously
| |
EnqueueUpload(CudaMem, GpuMat) |
Uploads asynchronously.
Warning! cv::Mat must point to page locked memory (i.e. to CudaMem data or to its ROI)
| |
EnqueueUpload(Mat, GpuMat) |
Uploads asynchronously.
Warning! cv::Mat must point to page locked memory (i.e. to CudaMem data or to its ROI)
| |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
QueryIfComplete | ||
Release |
Clean up any resources being used.
| |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString | (Inherited from Object.) | |
WaitForCompletion |
Operators
Name | Description | |
---|---|---|
(Stream to Boolean) |
See Also