OpenCV  4.0.0-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!

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 ()
 
Tat (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
 
Tptr () 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

◆ NCVMatrixAlloc()

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:

◆ ~NCVMatrixAlloc()

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

References NCV_SUCCESS, and ncvAssertPrintCheck.

Member Function Documentation

◆ at()

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:

◆ clear()

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

References NCVMemoryTypeNone.

◆ copy2D()

template<class T>
NCVStatus NCVMatrix< T >::copy2D ( NCVMatrix< T > &  dst,
NcvSize32u  roi,
cudaStream_t  cuStream 
) const
inlineinherited

◆ copySolid()

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

◆ getAllocatorsAlignment()

template<class T>
Ncv32u NCVMatrixAlloc< T >::getAllocatorsAlignment ( ) const
inline

◆ getSegment()

template<class T>
NCVMemSegment NCVMatrixAlloc< T >::getSegment ( ) const
inline

◆ height()

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:

◆ isMemAllocated()

template<class T>
NcvBool NCVMatrixAlloc< T >::isMemAllocated ( ) const
inline

◆ memType()

template<class T>
NCVMemoryType NCVMatrix< T >::memType ( void  ) const
inlineinherited

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

Here is the caller graph for this function:

◆ pitch()

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

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

Here is the caller graph for this function:

◆ ptr()

template<class T>
T* NCVMatrix< T >::ptr ( ) const
inlineinherited

◆ size()

template<class T>
NcvSize32u NCVMatrix< T >::size ( ) const
inlineinherited

◆ stride()

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

◆ width()

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

◆ _height

template<class T>
Ncv32u NCVMatrix< T >::_height
protectedinherited

◆ _memtype

template<class T>
NCVMemoryType NCVMatrix< T >::_memtype
protectedinherited

◆ _pitch

template<class T>
Ncv32u NCVMatrix< T >::_pitch
protectedinherited

◆ _ptr

template<class T>
T* NCVMatrix< T >::_ptr
protectedinherited

◆ _width

template<class T>
Ncv32u NCVMatrix< T >::_width
protectedinherited

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