OpenCV 5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::cann::AscendMat::Allocator Class Referenceabstract

#include <opencv2/cann.hpp>

Collaboration diagram for cv::cann::AscendMat::Allocator:

Public Member Functions

virtual ~Allocator ()
 
virtual bool allocate (AscendMat *mat, int rows, int cols, size_t elemSize)=0
 
virtual std::shared_ptr< ucharallocate (size_t size)=0
 

Constructor & Destructor Documentation

◆ ~Allocator()

virtual cv::cann::AscendMat::Allocator::~Allocator ( )
inlinevirtual

Member Function Documentation

◆ allocate() [1/2]

virtual bool cv::cann::AscendMat::Allocator::allocate ( AscendMat * mat,
int rows,
int cols,
size_t elemSize )
pure virtual

◆ allocate() [2/2]

virtual std::shared_ptr< uchar > cv::cann::AscendMat::Allocator::allocate ( size_t size)
pure virtual

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