Home
last modified time | relevance | path

Searched refs:Mat (Results 1 – 25 of 107) sorted by relevance

12345

/external/eigen/test/
Dboostmultiprec.cpp152 typedef Matrix<Real,Dynamic,Dynamic> Mat; in EIGEN_DECLARE_TEST() typedef
163 Mat A(10,10); in EIGEN_DECLARE_TEST()
178 CALL_SUBTEST_1( cholesky(Mat(s,s)) ); in EIGEN_DECLARE_TEST()
180 CALL_SUBTEST_2( lu_non_invertible<Mat>() ); in EIGEN_DECLARE_TEST()
181 CALL_SUBTEST_2( lu_invertible<Mat>() ); in EIGEN_DECLARE_TEST()
185 …CALL_SUBTEST_3( qr(Mat(internal::random<int>(1,EIGEN_TEST_MAX_SIZE),internal::random<int>(1,EIGEN_… in EIGEN_DECLARE_TEST()
186 CALL_SUBTEST_3( qr_invertible<Mat>() ); in EIGEN_DECLARE_TEST()
188 CALL_SUBTEST_4( qr<Mat>() ); in EIGEN_DECLARE_TEST()
189 CALL_SUBTEST_4( cod<Mat>() ); in EIGEN_DECLARE_TEST()
190 CALL_SUBTEST_4( qr_invertible<Mat>() ); in EIGEN_DECLARE_TEST()
[all …]
Dsparse_solver.h45 typedef typename Solver::MatrixType Mat; in check_sparse_solving() typedef
46 typedef typename Mat::Scalar Scalar; in check_sparse_solving()
47 typedef typename Mat::StorageIndex StorageIndex; in check_sparse_solving()
91 …MappedSparseMatrix<Scalar,Mat::Options,StorageIndex> Am(A.rows(), A.cols(), A.nonZeros(), const_ca… in check_sparse_solving()
128 Mat A2 = A; in check_sparse_solving()
129 … A2.reserve((ArrayXf::Random(A.outerSize())+2).template cast<typename Mat::StorageIndex>().eval()); in check_sparse_solving()
152 typedef typename Eigen::SparseMatrix<Scalar> Mat; in check_sparse_solving() typedef
153 typedef typename Mat::StorageIndex StorageIndex; in check_sparse_solving()
220 …MappedSparseMatrix<Scalar,Mat::Options,StorageIndex> Am(A.rows(), A.cols(), A.nonZeros(), const_ca… in check_sparse_solving()
257 Mat A2 = A; in check_sparse_solving()
[all …]
/external/armnn/samples/ObjectDetection/include/
DImageUtils.hpp23 cv::Mat& inputFrame,
33 void ResizeFrame(const cv::Mat& frame, cv::Mat& dest, const common::Size& aspectRatio);
42 void PadFrame(const cv::Mat& src, cv::Mat& dest, int bottom, int right);
52 void ResizeWithPad(const cv::Mat& frame, cv::Mat& dest, cv::Mat& cache, const common::Size& destSiz…
DObjectDetectionPipeline.hpp41 virtual void PreProcessing(const cv::Mat& frame, cv::Mat& processed);
51 virtual void Inference(const cv::Mat& processed, common::InferenceResults<float>& result);
68 cv::Mat m_processedFrame;
100 void PreProcessing(const cv::Mat& original, cv::Mat& processed);
133 void PreProcessing(const cv::Mat& original, cv::Mat& processed);
/external/oss-fuzz/projects/opencv/
Dcore_fuzzer.cc24 cv::Mat* original_image) { in GetCVImage()
35 void TestExternalMethods(const cv::Mat& mat) { in TestExternalMethods()
47 void TestInternalMethods(const cv::Mat& mat) { in TestInternalMethods()
59 void TestSplitAndMerge(const cv::Mat& image) { in TestSplitAndMerge()
60 std::vector<cv::Mat> split_image(image.channels()); in TestSplitAndMerge()
63 cv::Mat new_image; in TestSplitAndMerge()
74 cv::Mat backup_image = in LLVMFuzzerTestOneInput()
75 cv::Mat(1, image_data.size(), CV_8UC1, image_data.data()); in LLVMFuzzerTestOneInput()
81 cv::Mat original_image; in LLVMFuzzerTestOneInput()
83 cv::Mat cloned_image = GetCVImage(image_string, max_pixels, &original_image) in LLVMFuzzerTestOneInput()
Dimdecode_fuzzer.cc7 cv::Mat data_matrix = in LLVMFuzzerTestOneInput()
8 cv::Mat(1, image_data.size(), CV_8UC1, image_data.data()); in LLVMFuzzerTestOneInput()
10 cv::Mat decoded_matrix = cv::imdecode(data_matrix, CV_LOAD_IMAGE_UNCHANGED); in LLVMFuzzerTestOneInput()
/external/llvm/test/Analysis/Delinearization/
Dhimeno_2.ll5 ; struct Mat {
13 ; typedef struct Mat Matrix;
34 %struct.Mat = type { float*, i32, i32, i32, i32 }
36 define void @jacobi(i32 %nn, %struct.Mat* nocapture %a, %struct.Mat* nocapture %p) nounwind uwtable…
38 %p.rows.ptr = getelementptr inbounds %struct.Mat, %struct.Mat* %p, i64 0, i32 2
42 %p.cols.ptr = getelementptr inbounds %struct.Mat, %struct.Mat* %p, i64 0, i32 3
46 %p.deps.ptr = getelementptr inbounds %struct.Mat, %struct.Mat* %p, i64 0, i32 4
50 %a.cols.ptr = getelementptr inbounds %struct.Mat, %struct.Mat* %a, i64 0, i32 3
53 %a.deps.ptr = getelementptr inbounds %struct.Mat, %struct.Mat* %a, i64 0, i32 4
56 %a.base.ptr = getelementptr inbounds %struct.Mat, %struct.Mat* %a, i64 0, i32 0
Dhimeno_1.ll5 ; struct Mat {
13 ; typedef struct Mat Matrix;
34 %struct.Mat = type { float*, i32, i32, i32, i32 }
36 define void @jacobi(i32 %nn, %struct.Mat* nocapture %a, %struct.Mat* nocapture %p) nounwind uwtable…
38 %p.rows.ptr = getelementptr inbounds %struct.Mat, %struct.Mat* %p, i64 0, i32 2
42 %p.cols.ptr = getelementptr inbounds %struct.Mat, %struct.Mat* %p, i64 0, i32 3
46 %p.deps.ptr = getelementptr inbounds %struct.Mat, %struct.Mat* %p, i64 0, i32 4
50 %a.cols.ptr = getelementptr inbounds %struct.Mat, %struct.Mat* %a, i64 0, i32 3
52 %a.deps.ptr = getelementptr inbounds %struct.Mat, %struct.Mat* %a, i64 0, i32 4
54 %a.base.ptr = getelementptr inbounds %struct.Mat, %struct.Mat* %a, i64 0, i32 0
/external/pdfium/third_party/lcms/
D0033-opt-integer-overflow.patch67 - l1 = (p->Mat[0][0] * r + p->Mat[0][1] * g + p->Mat[0][2] * b + p->Off[0] + 0x2000) >> 14;
68 - l2 = (p->Mat[1][0] * r + p->Mat[1][1] * g + p->Mat[1][2] * b + p->Off[1] + 0x2000) >> 14;
69 - l3 = (p->Mat[2][0] * r + p->Mat[2][1] * g + p->Mat[2][2] * b + p->Off[2] + 0x2000) >> 14;
70 + l1 = _MatShaperEvaluateRow(p->Mat[0], p->Off[0], r, g, b);
71 + l2 = _MatShaperEvaluateRow(p->Mat[1], p->Off[1], r, g, b);
72 + l3 = _MatShaperEvaluateRow(p->Mat[2], p->Off[2], r, g, b);
/external/armnn/samples/common/include/CVUtils/
DCvVideoFrameReader.hpp15 public IFrameReader<cv::Mat>
36 std::shared_ptr <cv::Mat> ReadFrame() override;
38 bool IsExhausted(const std::shared_ptr <cv::Mat>& frame) const override;
91 public IFrameReader<cv::Mat>
100 std::shared_ptr<cv::Mat> ReadFrame() override;
102 bool IsExhausted(const std::shared_ptr<cv::Mat>& frame) const override;
/external/ruy/ruy/
Dfrontend.h48 const Mat<LhsScalar>& lhs, const Mat<RhsScalar>& rhs, in MulFrontEndUpToCreateTrMulParams()
49 const Mat<DstScalar>& dst, in MulFrontEndUpToCreateTrMulParams()
82 void MulFrontEnd(const Mat<LhsScalar>& lhs, const Mat<RhsScalar>& rhs, in MulFrontEnd()
84 Mat<DstScalar>* dst) { in MulFrontEnd()
Dmat.h125 struct Mat final {
133 inline Mat<Scalar> ToInternal(const Matrix<Scalar>& src) { in ToInternal()
134 Mat<Scalar> ret; in ToInternal()
143 inline Mat<Scalar> ToInternal(Matrix<Scalar>& src) { in ToInternal()
144 Mat<Scalar> ret; in ToInternal()
278 EMat EraseType(const Mat<T>& matrix) { in EraseType()
289 Mat<T> UneraseType(const EMat& matrix) { in UneraseType()
291 Mat<T> ret; in UneraseType()
398 const Scalar* ElementPtr(const Mat<Scalar>& mat, int row, int col) { in ElementPtr()
403 Scalar* ElementPtr(Mat<Scalar>* mat, int row, int col) { in ElementPtr()
[all …]
Dvalidate.h68 void Validate(const Mat<LhsScalar>& lhs, const Mat<RhsScalar>& rhs, in Validate()
69 const Mat<DstScalar>& dst) { in Validate()
/external/armnn/samples/ObjectDetection/src/
DObjectDetectionPipeline.cpp17 void od::ObjDetectionPipeline::Inference(const cv::Mat& processed, common::InferenceResults<float>&… in Inference()
33 void ObjDetectionPipeline::PreProcessing(const cv::Mat& frame, cv::Mat& processed) in PreProcessing()
46 void MobileNetSSDv1::PreProcessing(const cv::Mat& frame, cv::Mat& processed) in PreProcessing()
63 void YoloV3Tiny::PreProcessing(const cv::Mat& frame, cv::Mat& processed) in PreProcessing()
DImageUtils.cpp17 void AddInferenceOutputToFrame(od::DetectedObjects& decodedResults, cv::Mat& inputFrame, in AddInferenceOutputToFrame()
89 void ResizeFrame(const cv::Mat& frame, cv::Mat& dest, const common::Size& aspectRatio) in ResizeFrame()
106 void PadFrame(const cv::Mat& src, cv::Mat& dest, const int bottom, const int right) in PadFrame()
122 void ResizeWithPad(const cv::Mat& frame, cv::Mat& dest, cv::Mat& cache, const common::Size& destSiz… in ResizeWithPad()
DMain.cpp91 std::tuple<std::unique_ptr<common::IFrameReader<cv::Mat>>,
92 std::unique_ptr<common::IFrameOutput<cv::Mat>>>
95 std::unique_ptr<common::IFrameReader<cv::Mat>> readerPtr; in GetFrameSourceAndSink()
164 std::unique_ptr<common::IFrameReader<cv::Mat>> reader = std::move(std::get<0>(inputAndOutput)); in main()
165 std::unique_ptr<common::IFrameOutput<cv::Mat>> sink = std::move(std::get<1>(inputAndOutput)); in main()
175 std::shared_ptr<cv::Mat> frame = reader->ReadFrame(); in main()
178 cv::Mat processed; in main()
/external/armnn/samples/common/src/CVUtils/
DCvVideoFrameReader.cpp12 std::shared_ptr<cv::Mat> CvVideoFrameReader::ReadFrame() in ReadFrame()
15 cv::Mat captureFrame; in ReadFrame()
17 return std::make_shared<cv::Mat>(std::move(captureFrame)); in ReadFrame()
20 bool CvVideoFrameReader::IsExhausted(const std::shared_ptr<cv::Mat>& frame) const in IsExhausted()
79 std::shared_ptr<cv::Mat> CvVideoFrameReaderRgbWrapper::ReadFrame() in ReadFrame()
89 bool CvVideoFrameReaderRgbWrapper::IsExhausted(const std::shared_ptr<cv::Mat>& frame) const in IsExhausted()
/external/eigen/bench/perf_monitoring/
Dllt.cpp5 void llt(const Mat &A, const Mat &B, Mat &C) in llt()
9 Eigen::internal::llt_inplace<Mat::Scalar, Lower>::blocked(C); in llt()
Dgemm.cpp4 void gemm(const Mat &A, const Mat &B, Mat &C) in gemm()
Dgemm_common.h15 typedef Matrix<Scalar,Dynamic,Dynamic> Mat; typedef
21 Mat A(m,k); in bench()
22 Mat B(k,n); in bench()
23 Mat C(m,n); in bench()
/external/eigen/bench/
DbenchmarkSlice.cpp20 typedef Matrix<SCALAR, Eigen::Dynamic, Eigen::Dynamic> Mat; in main() typedef
21 Mat m(100, 100); in main()
31 m.block(r,c,nr,nc) += Mat::Ones(nr,nc); in main()
33 m.block(r,c,nr,nc) -= Mat::constant(nr,nc,10); in main()
Deig33.cpp170 typedef Matrix3d Mat; in main() typedef
172 Mat A = Mat::Random(3,3); in main()
177 SelfAdjointEigenSolver<Mat> eig(A); in main()
184 Mat evecs; in main()
/external/armnn/samples/ObjectDetection/test/delegate/
DArmnnDelegateNetworkExecutorTest.cpp37 cv::Mat processed;
38 cv::Mat cache;
54 cv::Mat inputFrame = cv::imread(GetResourceFilePath("basketball1.png"), cv::IMREAD_COLOR);
85 cv::Mat processed;
86 cv::Mat cache;
104 cv::Mat inputFrame = cv::imread(GetResourceFilePath("basketball1.png"), cv::IMREAD_COLOR);
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
Dp10.cpp38 template<typename eT> class Mat;
39 template<typename eT> class Col : public Mat<eT> {
40 using Mat<eT>::operator();
/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp451 static bool updateOperand(Instruction *Inst, unsigned Idx, Instruction *Mat) { in updateOperand() argument
469 Inst->setOperand(Idx, Mat); in updateOperand()
478 Instruction *Mat = Base; in emitBaseConstants() local
482 Mat = BinaryOperator::Create(Instruction::Add, Base, Offset, in emitBaseConstants()
487 << Mat->getParent()->getName() << '\n' << *Mat << '\n'); in emitBaseConstants()
488 Mat->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
495 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
496 Mat->eraseFromParent(); in emitBaseConstants()
509 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
526 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
[all …]

12345