JeVois  1.20
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
pbcvt::NumpyAllocator Class Reference

Definition at line 89 of file PythonOpenCV.C.

Inheritance diagram for pbcvt::NumpyAllocator:
Collaboration diagram for pbcvt::NumpyAllocator:

Public Member Functions

 NumpyAllocator ()
 
 ~NumpyAllocator ()
 
UMatData * allocate (PyObject *o, int dims, const int *sizes, int type, size_t *step) const
 
UMatData * allocate (int dims0, const int *sizes, int type, void *data, size_t *step, cv::AccessFlag flags, cv::UMatUsageFlags usageFlags) const
 
bool allocate (UMatData *u, cv::AccessFlag accessFlags, cv::UMatUsageFlags usageFlags) const
 
void deallocate (UMatData *u) const
 

Public Attributes

const MatAllocator * stdAllocator
 

Constructor & Destructor Documentation

◆ NumpyAllocator()

pbcvt::NumpyAllocator::NumpyAllocator ( )
inline

Definition at line 92 of file PythonOpenCV.C.

◆ ~NumpyAllocator()

pbcvt::NumpyAllocator::~NumpyAllocator ( )
inline

Definition at line 94 of file PythonOpenCV.C.

Member Function Documentation

◆ allocate() [1/3]

UMatData* pbcvt::NumpyAllocator::allocate ( int  dims0,
const int *  sizes,
int  type,
void *  data,
size_t *  step,
cv::AccessFlag  flags,
cv::UMatUsageFlags  usageFlags 
) const
inline

Definition at line 109 of file PythonOpenCV.C.

References o.

◆ allocate() [2/3]

UMatData* pbcvt::NumpyAllocator::allocate ( PyObject *  o,
int  dims,
const int *  sizes,
int  type,
size_t *  step 
) const
inline

Definition at line 97 of file PythonOpenCV.C.

References o.

Referenced by pbcvt::matFromNDArrayBoostConverter::construct(), and pbcvt::fromNDArrayToMat().

◆ allocate() [3/3]

bool pbcvt::NumpyAllocator::allocate ( UMatData *  u,
cv::AccessFlag  accessFlags,
cv::UMatUsageFlags  usageFlags 
) const
inline

Definition at line 142 of file PythonOpenCV.C.

◆ deallocate()

void pbcvt::NumpyAllocator::deallocate ( UMatData *  u) const
inline

Definition at line 145 of file PythonOpenCV.C.

References o.

Member Data Documentation

◆ stdAllocator

const MatAllocator* pbcvt::NumpyAllocator::stdAllocator

Definition at line 156 of file PythonOpenCV.C.


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