OpenCV 4.12.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::fastcv::QcAllocator Class Reference

Qualcomm's custom allocator. This allocator uses Qualcomm's memory management functions. More...

#include <opencv2/fastcv/allocator.hpp>

Collaboration diagram for cv::fastcv::QcAllocator:

Public Member Functions

 QcAllocator ()
 
 ~QcAllocator ()
 
bool allocate (cv::UMatData *u, cv::AccessFlag accessFlags, cv::UMatUsageFlags usageFlags) const CV_OVERRIDE
 
cv::UMatDataallocate (int dims, const int *sizes, int type, void *data0, size_t *step, cv::AccessFlag flags, cv::UMatUsageFlags usageFlags) const CV_OVERRIDE
 
void deallocate (cv::UMatData *u) const CV_OVERRIDE
 
- Public Member Functions inherited from cv::MatAllocator
 MatAllocator ()
 
virtual ~MatAllocator ()
 
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 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 BufferPoolControllergetBufferPoolController (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
 

Detailed Description

Qualcomm's custom allocator. This allocator uses Qualcomm's memory management functions.

Constructor & Destructor Documentation

◆ QcAllocator()

cv::fastcv::QcAllocator::QcAllocator ( )

◆ ~QcAllocator()

cv::fastcv::QcAllocator::~QcAllocator ( )

Member Function Documentation

◆ allocate() [1/2]

bool cv::fastcv::QcAllocator::allocate ( cv::UMatData * u,
cv::AccessFlag accessFlags,
cv::UMatUsageFlags usageFlags ) const
virtual

Implements cv::MatAllocator.

◆ allocate() [2/2]

cv::UMatData * cv::fastcv::QcAllocator::allocate ( int dims,
const int * sizes,
int type,
void * data0,
size_t * step,
cv::AccessFlag flags,
cv::UMatUsageFlags usageFlags ) const
virtual

Implements cv::MatAllocator.

◆ deallocate()

void cv::fastcv::QcAllocator::deallocate ( cv::UMatData * u) const
virtual

Implements cv::MatAllocator.


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