Public Member Functions | Public Attributes | List of all members
NumpyAllocator Class Reference
Inheritance diagram for NumpyAllocator:
Inheritance graph
[legend]

Public Member Functions

UMatData * allocate (PyObject *o, int dims, const int *sizes, int type, size_t *step) const
 
void allocate (int dims, const int *sizes, int type, int *&refcount, uchar *&datastart, uchar *&data, size_t *step)
 
UMatData * allocate (int dims0, const int *sizes, int type, void *data, size_t *step, int flags, UMatUsageFlags usageFlags) const
 
bool allocate (UMatData *u, int accessFlags, UMatUsageFlags usageFlags) const
 
void deallocate (int *refcount, uchar *datastart, uchar *data)
 
void deallocate (UMatData *u) const
 
 NumpyAllocator ()
 
 NumpyAllocator ()
 
 ~NumpyAllocator ()
 
 ~NumpyAllocator ()
 

Public Attributes

const MatAllocator * stdAllocator
 

Detailed Description

Definition at line 98 of file module_opencv2.cpp.

Constructor & Destructor Documentation

NumpyAllocator::NumpyAllocator ( )
inline

Definition at line 101 of file module_opencv2.cpp.

NumpyAllocator::~NumpyAllocator ( )
inline

Definition at line 102 of file module_opencv2.cpp.

NumpyAllocator::NumpyAllocator ( )
inline

Definition at line 94 of file module_opencv3.cpp.

NumpyAllocator::~NumpyAllocator ( )
inline

Definition at line 95 of file module_opencv3.cpp.

Member Function Documentation

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

Definition at line 97 of file module_opencv3.cpp.

void NumpyAllocator::allocate ( int  dims,
const int *  sizes,
int  type,
int *&  refcount,
uchar *&  datastart,
uchar *&  data,
size_t *  step 
)

Definition at line 110 of file module_opencv2.cpp.

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

Definition at line 110 of file module_opencv3.cpp.

bool NumpyAllocator::allocate ( UMatData *  u,
int  accessFlags,
UMatUsageFlags  usageFlags 
) const
inline

Definition at line 139 of file module_opencv3.cpp.

void NumpyAllocator::deallocate ( int *  refcount,
uchar *  datastart,
uchar *  data 
)

Definition at line 141 of file module_opencv2.cpp.

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

Definition at line 144 of file module_opencv3.cpp.

Member Data Documentation

const MatAllocator* NumpyAllocator::stdAllocator

Definition at line 155 of file module_opencv3.cpp.


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


cv_bridge
Author(s): Patrick Mihelich, James Bowman
autogenerated on Thu Dec 12 2019 03:52:01