OpenCV  4.9.0
Open Source Computer Vision
Public Member Functions | List of all members
cv::cann::AscendMat::Allocator Class Referenceabstract

#include <opencv2/cann.hpp>

Public Member Functions

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

Constructor & Destructor Documentation

◆ ~Allocator()

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

Member Function Documentation

◆ allocate() [1/2]

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

◆ allocate() [2/2]

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

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