OpenCV  3.2.0-dev
Open Source Computer Vision

NCVMatrixAlloc. More...

#include "NCV.hpp"

Inheritance diagram for NCVMatrixAlloc< T >:
Collaboration diagram for NCVMatrixAlloc< T >:

Public Member Functions

 NCVMatrixAlloc (INCVMemAllocator &allocator_, Ncv32u width_, Ncv32u height_, Ncv32u pitch_=0)
 
 ~NCVMatrixAlloc ()
 
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 getAllocatorsAlignment () const
 
NCVMemSegment getSegment () const
 
Ncv32u height () const
 
NcvBool isMemAllocated () 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 NCVMatrixAlloc< T >

NCVMatrixAlloc.

Constructor & Destructor Documentation

template<class T>
NCVMatrixAlloc< T >::NCVMatrixAlloc ( INCVMemAllocator allocator_,
Ncv32u  width_,
Ncv32u  height_,
Ncv32u  pitch_ = 0 
)
inline

References alignUp(), NCV_SUCCESS, and ncvAssertPrintReturn.

Here is the call graph for this function:

template<class T>
NCVMatrixAlloc< T >::~NCVMatrixAlloc ( )
inline

References NCV_SUCCESS, and ncvAssertPrintCheck.

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 NCVMatrixAlloc< T >::getAllocatorsAlignment ( ) const
inline
template<class T>
NCVMemSegment NCVMatrixAlloc< T >::getSegment ( ) const
inline
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 NCVMatrixAlloc< T >::isMemAllocated ( ) 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: