Custom array allocator.
More...
#include "mat.hpp"
|
| MatAllocator () |
|
virtual | ~MatAllocator () |
|
virtual UMatData * | allocate (int dims, const int *sizes, int type, void *data, size_t *step, AccessFlag flags, UMatUsageFlags usageFlags) const =0 |
|
virtual bool | allocate (UMatData *data, AccessFlag accessflags, UMatUsageFlags usageFlags) const =0 |
|
virtual void | copy (UMatData *srcdata, UMatData *dstdata, int dims, const size_t sz[], const size_t srcofs[], const size_t srcstep[], const size_t dstofs[], const size_t dststep[], bool sync) const |
|
virtual void | deallocate (UMatData *data) const =0 |
|
virtual void | download (UMatData *data, void *dst, int dims, const size_t sz[], const size_t srcofs[], const size_t srcstep[], const size_t dststep[]) const |
|
virtual BufferPoolController * | getBufferPoolController (const char *id=NULL) const |
|
virtual void | map (UMatData *data, AccessFlag accessflags) const |
|
virtual void | unmap (UMatData *data) const |
|
virtual void | upload (UMatData *data, const void *src, int dims, const size_t sz[], const size_t dstofs[], const size_t dststep[], const size_t srcstep[]) const |
|
§ MatAllocator()
cv::MatAllocator::MatAllocator |
( |
| ) |
|
|
inline |
§ ~MatAllocator()
virtual cv::MatAllocator::~MatAllocator |
( |
| ) |
|
|
inlinevirtual |
§ allocate() [1/2]
virtual UMatData* cv::MatAllocator::allocate |
( |
int |
dims, |
|
|
const int * |
sizes, |
|
|
int |
type, |
|
|
void * |
data, |
|
|
size_t * |
step, |
|
|
AccessFlag |
flags, |
|
|
UMatUsageFlags |
usageFlags |
|
) |
| const |
|
pure virtual |
§ allocate() [2/2]
§ copy()
virtual void cv::MatAllocator::copy |
( |
UMatData * |
srcdata, |
|
|
UMatData * |
dstdata, |
|
|
int |
dims, |
|
|
const size_t |
sz[], |
|
|
const size_t |
srcofs[], |
|
|
const size_t |
srcstep[], |
|
|
const size_t |
dstofs[], |
|
|
const size_t |
dststep[], |
|
|
bool |
sync |
|
) |
| const |
|
virtual |
§ deallocate()
virtual void cv::MatAllocator::deallocate |
( |
UMatData * |
data | ) |
const |
|
pure virtual |
§ download()
virtual void cv::MatAllocator::download |
( |
UMatData * |
data, |
|
|
void * |
dst, |
|
|
int |
dims, |
|
|
const size_t |
sz[], |
|
|
const size_t |
srcofs[], |
|
|
const size_t |
srcstep[], |
|
|
const size_t |
dststep[] |
|
) |
| const |
|
virtual |
§ getBufferPoolController()
virtual BufferPoolController* cv::MatAllocator::getBufferPoolController |
( |
const char * |
id = NULL | ) |
const |
|
virtual |
§ map()
§ unmap()
virtual void cv::MatAllocator::unmap |
( |
UMatData * |
data | ) |
const |
|
virtual |
§ upload()
virtual void cv::MatAllocator::upload |
( |
UMatData * |
data, |
|
|
const void * |
src, |
|
|
int |
dims, |
|
|
const size_t |
sz[], |
|
|
const size_t |
dstofs[], |
|
|
const size_t |
dststep[], |
|
|
const size_t |
srcstep[] |
|
) |
| const |
|
virtual |
The documentation for this class was generated from the following file: