Home | History | Annotate | Download | only in src

Lines Matching defs:UMat

45 ///////////////////////////////// UMat implementation ///////////////////////////////
88 MatAllocator* UMat::getStdAllocator()
97 void swap( UMat& a, UMat& b )
126 static inline void setSize( UMat& m, int _dims, const int* _sz,
179 static void updateContinuityFlag(UMat& m)
196 m.flags |= UMat::CONTINUOUS_FLAG;
198 m.flags &= ~UMat::CONTINUOUS_FLAG;
202 static void finalizeHdr(UMat& m)
210 UMat Mat::getUMat(int accessFlags, UMatUsageFlags usageFlags) const
212 UMat hdr;
224 UMat::getStdAllocator()->allocate(temp_u, accessFlags, usageFlags); // TODO result is not checked
234 void UMat::create(int d, const int* _sizes, int _type, UMatUsageFlags _usageFlags)
283 void UMat::copySize(const UMat& m)
294 UMat::~UMat()
301 void UMat::deallocate()
308 UMat::UMat(const UMat& m, const Range& _rowRange, const Range& _colRange)
352 UMat::UMat(const UMat& m, const Rect& roi)
379 UMat::UMat(const UMat& m, const Range* ranges)
404 UMat UMat::diag(int d) const
407 UMat m = *this;
438 void UMat::locateROI( Size& wholeSize, Point& ofs ) const
460 UMat& UMat::adjustROI( int dtop, int dbottom, int dleft, int dright )
479 UMat UMat::reshape(int new_cn, int new_rows) const
482 UMat hdr = *this;
534 UMat UMat::diag(const UMat& d)
538 UMat m(len, len, d.type(), Scalar(0));
539 UMat md = m.diag();
547 int UMat::checkVector(int _elemChannels, int _depth, bool _requireContinuous) const
558 UMat UMat::reshape(int _cn, int _newndims, const int* _newsz) const
570 return UMat();
574 Mat UMat::getMat(int accessFlags) const
590 void* UMat
608 void UMat::ndoffset(size_t* ofs) const
620 void UMat::copyTo(OutputArray _dst) const
646 UMat dst = _dst.getUMat();
663 void UMat::copyTo(OutputArray _dst, InputArray _mask) const
679 UMat dst = _dst.getUMat();
710 void UMat::convertTo(OutputArray _dst, int _type, double alpha, double beta) const
743 UMat src = *this;
745 UMat dst = _dst.getUMat();
769 UMat& UMat::setTo(InputArray _value, InputArray _mask)
778 CV_Assert( checkScalar(value, type(), _value.kind(), _InputArray::UMAT) );
796 UMat mask;
826 UMat& UMat::operator = (const Scalar& s)
832 UMat UMat::t() const
834 UMat m;
839 UMat UMat::inv(int method) const
841 UMat m;
846 UMat UMat::mul(InputArray m, double scale) const
848 UMat dst;
857 UMat src1 = _src1.getUMat().reshape(1), src2 = _src2.getUMat().reshape(1);
888 UMat db(1, dbsize, ddepth);
907 double UMat::dot(InputArray m) const
919 UMat UMat::zeros(int rows, int cols, int type)
921 return UMat(rows, cols, type, Scalar::all(0));
924 UMat UMat::zeros(Size size, int type)
926 return UMat(size, type, Scalar::all(0));
929 UMat UMat::zeros(int ndims, const int* sz, int type)
931 return UMat(ndims, sz, type, Scalar::all(0));
934 UMat UMat::ones(int rows, int cols, int type)
936 return UMat::ones(Size(cols, rows), type);
939 UMat UMat::ones(Size size, int type)
941 return UMat(size, type, Scalar(1));
944 UMat UMat::ones(int ndims, const int* sz, int type)
946 return UMat(ndims, sz, type, Scalar(1));
949 UMat UMat::eye(int rows, int cols, int type)
951 return UMat::eye(Size(cols, rows), type);
954 UMat UMat::eye(Size size, int type)
956 UMat m(size, type);