OpenCV
5.0.0-pre
Open Source Computer Vision
|
Functions | |
void | cv::cann::finalizeAcl () |
finalize AscendCL. | |
void | cv::cann::finalizeDvpp () |
finalize DVPP system. | |
int32_t | cv::cann::getDevice () |
Get current Ascend device. | |
AscendMat | cv::cann::getInputMat (InputArray src, AscendStream &stream) |
Get Ascend matrix object from Input array, upload matrix memory if need. (Non-Blocking call) | |
AscendMat | cv::cann::getOutputMat (OutputArray dst, int rows, int cols, int type, AscendStream &stream) |
Get Ascend matrix object from Output array, upload matrix memory if need. | |
void | cv::cann::initAcl () |
init AscendCL. | |
void | cv::cann::initDvpp () |
init DVPP system. | |
void | cv::cann::resetDevice () |
Clear all context created in current Ascend device. | |
void | cv::cann::setDevice (int device) |
Choose Ascend npu device. | |
void | cv::cann::syncOutput (const AscendMat &dst, OutputArray _dst, AscendStream &stream) |
Sync output matrix to Output array, download matrix memory if need. | |
void cv::cann::finalizeAcl | ( | ) |
#include <opencv2/cann.hpp>
finalize AscendCL.
void cv::cann::finalizeDvpp | ( | ) |
#include <opencv2/cann.hpp>
finalize DVPP system.
int32_t cv::cann::getDevice | ( | ) |
#include <opencv2/cann.hpp>
Get current Ascend device.
AscendMat cv::cann::getInputMat | ( | InputArray | src, |
AscendStream & | stream | ||
) |
#include <opencv2/cann.hpp>
Get Ascend matrix object from Input array, upload matrix memory if need. (Non-Blocking call)
AscendMat cv::cann::getOutputMat | ( | OutputArray | dst, |
int | rows, | ||
int | cols, | ||
int | type, | ||
AscendStream & | stream | ||
) |
#include <opencv2/cann.hpp>
Get Ascend matrix object from Output array, upload matrix memory if need.
void cv::cann::initAcl | ( | ) |
#include <opencv2/cann.hpp>
init AscendCL.
void cv::cann::initDvpp | ( | ) |
#include <opencv2/cann.hpp>
init DVPP system.
void cv::cann::resetDevice | ( | ) |
#include <opencv2/cann.hpp>
Clear all context created in current Ascend device.
void cv::cann::setDevice | ( | int | device | ) |
#include <opencv2/cann.hpp>
Choose Ascend npu device.
void cv::cann::syncOutput | ( | const AscendMat & | dst, |
OutputArray | _dst, | ||
AscendStream & | stream | ||
) |
#include <opencv2/cann.hpp>
Sync output matrix to Output array, download matrix memory if need.