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() [1/2]

NumpyAllocator::NumpyAllocator ( )
inline

Definition at line 101 of file module_opencv2.cpp.

◆ ~NumpyAllocator() [1/2]

NumpyAllocator::~NumpyAllocator ( )
inline

Definition at line 102 of file module_opencv2.cpp.

◆ NumpyAllocator() [2/2]

NumpyAllocator::NumpyAllocator ( )
inline

Definition at line 94 of file module_opencv3.cpp.

◆ ~NumpyAllocator() [2/2]

NumpyAllocator::~NumpyAllocator ( )
inline

Definition at line 95 of file module_opencv3.cpp.

Member Function Documentation

◆ allocate() [1/4]

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.

◆ allocate() [2/4]

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.

◆ allocate() [3/4]

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.

◆ allocate() [4/4]

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

Definition at line 139 of file module_opencv3.cpp.

◆ deallocate() [1/2]

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

Definition at line 141 of file module_opencv2.cpp.

◆ deallocate() [2/2]

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

Definition at line 144 of file module_opencv3.cpp.

Member Data Documentation

◆ stdAllocator

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 Tue Oct 4 2022 02:19:03