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

Public Member Functions

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

Public Attributes

const MatAllocator * stdAllocator
 

Detailed Description

Definition at line 91 of file module_opencv4.cpp.

Constructor & Destructor Documentation

◆ NumpyAllocator()

NumpyAllocator::NumpyAllocator ( )
inline

Definition at line 99 of file module_opencv4.cpp.

◆ ~NumpyAllocator()

NumpyAllocator::~NumpyAllocator ( )
inline

Definition at line 100 of file module_opencv4.cpp.

Member Function Documentation

◆ allocate() [1/3]

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

Definition at line 115 of file module_opencv4.cpp.

◆ allocate() [2/3]

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

Definition at line 102 of file module_opencv4.cpp.

◆ allocate() [3/3]

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

Definition at line 144 of file module_opencv4.cpp.

◆ deallocate()

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

Definition at line 149 of file module_opencv4.cpp.

Member Data Documentation

◆ stdAllocator

const MatAllocator* NumpyAllocator::stdAllocator

Definition at line 160 of file module_opencv4.cpp.


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


cv_bridge
Author(s): Patrick Mihelich, James Bowman
autogenerated on Mon Oct 3 2022 02:45:56