@@ -67,16 +67,17 @@ class CV_EXPORTS_W AscendMat
6767
6868 // ! constructs AscendMat of the specified size and type
6969 CV_WRAP AscendMat (int rows, int cols, int type,
70- AscendMat::Allocator* allocator = AscendMat::defaultAllocator());
70+ AscendMat::Allocator* allocator = AscendMat::defaultAllocator());
7171 // ! constructs AscendMat of the specified size and type
72- CV_WRAP AscendMat (Size size, int type, AscendMat::Allocator* allocator = AscendMat::defaultAllocator());
72+ CV_WRAP AscendMat (Size size, int type,
73+ AscendMat::Allocator* allocator = AscendMat::defaultAllocator());
7374
7475 // ! constructs AscendMat and fills it with the specified value s
7576 CV_WRAP AscendMat (int rows, int cols, int type, Scalar& s,
76- AscendMat::Allocator* allocator = AscendMat::defaultAllocator());
77+ AscendMat::Allocator* allocator = AscendMat::defaultAllocator());
7778 // ! constructs AscendMat and fills it with the specified value s
7879 CV_WRAP AscendMat (Size size, int type, Scalar& s,
79- AscendMat::Allocator* allocator = AscendMat::defaultAllocator());
80+ AscendMat::Allocator* allocator = AscendMat::defaultAllocator());
8081
8182 // ! copy constructor
8283 CV_WRAP AscendMat (const AscendMat& m);
@@ -87,7 +88,7 @@ class CV_EXPORTS_W AscendMat
8788
8889 // ! builds AscendMat from host memory (Blocking call)
8990 CV_WRAP explicit AscendMat (InputArray arr, AscendStream& stream,
90- AscendMat::Allocator* allocator = AscendMat::defaultAllocator());
91+ AscendMat::Allocator* allocator = AscendMat::defaultAllocator());
9192
9293 // ! assignment operators
9394 AscendMat& operator =(const AscendMat& m);
@@ -125,6 +126,9 @@ class CV_EXPORTS_W AscendMat
125126 // ! converts AscendMat to another datatype (Non-Blocking call)
126127 CV_WRAP void convertTo (CV_OUT AscendMat& dst, int rtype, AscendStream& stream) const ;
127128
129+ // ! converts AscendMat to another datatype, dst mat is allocated. (Non-Blocking call)
130+ CV_WRAP void convertTo (CV_OUT AscendMat& dst, AscendStream& stream) const ;
131+
128132 // ! returns true iff the AscendMat data is continuous
129133 // ! (i.e. when there are no gaps between successive rows)
130134 CV_WRAP bool isContinuous () const ;
0 commit comments