OpenCV  2.4.13.2
Open Source Computer Vision
cv::MatAllocator Class Referenceabstract

#include <core.hpp>

Public Member Functions

 MatAllocator ()
 
virtual ~MatAllocator ()
 
virtual void allocate (int dims, const int *sizes, int type, int *&refcount, uchar *&datastart, uchar *&data, size_t *step)=0
 
virtual void deallocate (int *refcount, uchar *datastart, uchar *data)=0
 

Detailed Description

Custom array allocator

Constructor & Destructor Documentation

§ MatAllocator()

cv::MatAllocator::MatAllocator ( )
inline

§ ~MatAllocator()

virtual cv::MatAllocator::~MatAllocator ( )
inlinevirtual

Member Function Documentation

§ allocate()

virtual void cv::MatAllocator::allocate ( int  dims,
const int sizes,
int  type,
int *&  refcount,
uchar *&  datastart,
uchar *&  data,
size_t *  step 
)
pure virtual

§ deallocate()

virtual void cv::MatAllocator::deallocate ( int refcount,
uchar datastart,
uchar data 
)
pure virtual

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