OpenCV  3.4.19
Open Source Computer Vision
Public Member Functions | List of all members
NCVMatrixReuse< T > Class Template Reference

#include <opencv2/cudalegacy/NCV.hpp>

Inheritance diagram for NCVMatrixReuse< T >:
NCVMatrix< T >

Public Member Functions

 NCVMatrixReuse (const NCVMemSegment &memSegment, Ncv32u alignment, Ncv32u width_, Ncv32u height_, Ncv32u pitch_=0, NcvBool bSkipPitchCheck=false)
 
 NCVMatrixReuse (const NCVMatrix< T > &mat, NcvRect32u roi)
 
NcvBool isMemReused () const
 
- Public Member Functions inherited from NCVMatrix< T >
 NCVMatrix ()
 
virtual ~NCVMatrix ()
 
T & at (Ncv32u x, Ncv32u y) const
 
void clear ()
 
NCVStatus copy2D (NCVMatrix< T > &dst, NcvSize32u roi, cudaStream_t cuStream) const
 
NCVStatus copySolid (NCVMatrix< T > &dst, cudaStream_t cuStream, size_t howMuch=0) const
 
Ncv32u height () const
 
NCVMemoryType memType () const
 
Ncv32u pitch () const
 
T * ptr () const
 
NcvSize32u size () const
 
Ncv32u stride () const
 
Ncv32u width () const
 

Additional Inherited Members

- Protected Attributes inherited from NCVMatrix< T >
Ncv32u _height
 
NCVMemoryType _memtype
 
Ncv32u _pitch
 
T * _ptr
 
Ncv32u _width
 

Detailed Description

template<class T>
class NCVMatrixReuse< T >

NCVMatrixReuse

Constructor & Destructor Documentation

◆ NCVMatrixReuse() [1/2]

template<class T >
NCVMatrixReuse< T >::NCVMatrixReuse ( const NCVMemSegment memSegment,
Ncv32u  alignment,
Ncv32u  width_,
Ncv32u  height_,
Ncv32u  pitch_ = 0,
NcvBool  bSkipPitchCheck = false 
)
inline

◆ NCVMatrixReuse() [2/2]

template<class T >
NCVMatrixReuse< T >::NCVMatrixReuse ( const NCVMatrix< T > &  mat,
NcvRect32u  roi 
)
inline

Member Function Documentation

◆ isMemReused()

template<class T >
NcvBool NCVMatrixReuse< T >::isMemReused ( ) const
inline

The documentation for this class was generated from the following file: