#include "NCV.hpp"
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 |
|
inline |
References alignUp(), NCVMemSegment::begin, NCVMemPtr::memtype, ncvAssertPrintReturn, NCVMemPtr::ptr, and NCVMemSegment::size.
|
inline |
References NCVMatrix< T >::at(), NcvRect32u::height, NCVMatrix< T >::height(), NCVMatrix< T >::memType(), ncvAssertPrintReturn, NCVMatrix< T >::pitch(), NcvRect32u::width, NCVMatrix< T >::width(), NcvRect32u::x, and NcvRect32u::y.
References ncvAssertPrintCheck.
Referenced by NCVMatrixReuse< T >::NCVMatrixReuse().
|
inlineinherited |
References NCVMemoryTypeNone.
|
inlineinherited |
References NCVMatrix< T >::_memtype, NCVMatrix< T >::_pitch, NCVMatrix< T >::_ptr, NcvSize32u::height, NCVMatrix< T >::height(), memSegCopyHelper2D(), NCV_MEM_COPY_ERROR, NCV_NULL_PTR, NCV_SUCCESS, ncvAssertReturn, NCVMemoryTypeNone, NcvSize32u::width, and NCVMatrix< T >::width().
|
inlineinherited |
References NCVMatrix< T >::_height, NCVMatrix< T >::_memtype, NCVMatrix< T >::_pitch, NCVMatrix< T >::_ptr, memSegCopyHelper(), NCV_MEM_COPY_ERROR, NCV_NULL_PTR, NCV_SUCCESS, ncvAssertReturn, and NCVMemoryTypeNone.
Referenced by NCVMatrix< T >::copy2D(), and NCVMatrixReuse< T >::NCVMatrixReuse().
|
inline |
References CV_EXPORTS, ncvDrawRects_32u_device(), ncvDrawRects_32u_host(), ncvDrawRects_8u_device(), ncvDrawRects_8u_host(), and ncvGroupRectangles_host().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Referenced by NCVMatrix< T >::copy2D(), and NCVMatrixReuse< T >::NCVMatrixReuse().
Referenced by NCVMatrix< T >::copySolid().
|
protectedinherited |
Referenced by NCVMatrix< T >::copy2D(), and NCVMatrix< T >::copySolid().
Referenced by NCVMatrix< T >::copy2D(), and NCVMatrix< T >::copySolid().
|
protectedinherited |
Referenced by NCVMatrix< T >::copy2D(), and NCVMatrix< T >::copySolid().