OpenCV  3.2.0-dev
Open Source Computer Vision

NCVMatrixReuse. More...

#include "NCV.hpp"

Inheritance diagram for NCVMatrixReuse< T >:
Collaboration diagram for NCVMatrixReuse< 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)
 
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
 
NcvBool isMemReused () const
 
NCVMemoryType memType () const
 
Ncv32u pitch () const
 
T * ptr () const
 
NcvSize32u size () const
 
Ncv32u stride () const
 
Ncv32u width () const
 

Protected Attributes

Ncv32u _height
 
NCVMemoryType _memtype
 
Ncv32u _pitch
 
T * _ptr
 
Ncv32u _width
 

Detailed Description

template<class T>
class NCVMatrixReuse< T >

NCVMatrixReuse.

Constructor & Destructor Documentation

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

References alignUp(), NCVMemSegment::begin, NCVMemPtr::memtype, ncvAssertPrintReturn, NCVMemPtr::ptr, and NCVMemSegment::size.

Here is the call graph for this function:

Member Function Documentation

template<class T>
T& NCVMatrix< T >::at ( Ncv32u  x,
Ncv32u  y 
) const
inlineinherited

References ncvAssertPrintCheck.

Referenced by NCVMatrixReuse< T >::NCVMatrixReuse().

Here is the caller graph for this function:

template<class T>
void NCVMatrix< T >::clear ( )
inlineinherited

References NCVMemoryTypeNone.

template<class T>
NCVStatus NCVMatrix< T >::copy2D ( NCVMatrix< T > &  dst,
NcvSize32u  roi,
cudaStream_t  cuStream 
) const
inlineinherited
template<class T>
NCVStatus NCVMatrix< T >::copySolid ( NCVMatrix< T > &  dst,
cudaStream_t  cuStream,
size_t  howMuch = 0 
) const
inlineinherited
template<class T>
Ncv32u NCVMatrix< T >::height ( ) const
inlineinherited

Referenced by NCVMatrix< T >::copy2D(), and NCVMatrixReuse< T >::NCVMatrixReuse().

Here is the caller graph for this function:

template<class T >
NcvBool NCVMatrixReuse< T >::isMemReused ( ) const
inline
template<class T>
NCVMemoryType NCVMatrix< T >::memType ( void  ) const
inlineinherited

Referenced by NCVMatrixReuse< T >::NCVMatrixReuse().

Here is the caller graph for this function:

template<class T>
Ncv32u NCVMatrix< T >::pitch ( ) const
inlineinherited

Referenced by NCVMatrixReuse< T >::NCVMatrixReuse().

Here is the caller graph for this function:

template<class T>
T* NCVMatrix< T >::ptr ( ) const
inlineinherited
template<class T>
NcvSize32u NCVMatrix< T >::size ( ) const
inlineinherited
template<class T>
Ncv32u NCVMatrix< T >::stride ( ) const
inlineinherited
template<class T>
Ncv32u NCVMatrix< T >::width ( ) const
inlineinherited

Referenced by NCVMatrix< T >::copy2D(), and NCVMatrixReuse< T >::NCVMatrixReuse().

Here is the caller graph for this function:

Member Data Documentation

template<class T>
Ncv32u NCVMatrix< T >::_height
protectedinherited
template<class T>
NCVMemoryType NCVMatrix< T >::_memtype
protectedinherited
template<class T>
Ncv32u NCVMatrix< T >::_pitch
protectedinherited
template<class T>
T* NCVMatrix< T >::_ptr
protectedinherited
template<class T>
Ncv32u NCVMatrix< T >::_width
protectedinherited

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