/external/libxcam/modules/ocl/ |
D | cv_wiener_filter.cpp | 34 CVWienerFilter::wiener_filter (const cv::Mat &blurred_image, const cv::Mat &known, cv::Mat &unknown… in wiener_filter() 38 cv::Mat y_ft; in wiener_filter() 41 cv::Mat padded = cv::Mat::zeros (image_h, image_w, CV_32FC1); in wiener_filter() 45 cv::Mat padded_ft; in wiener_filter() 48 cv::Mat temp_unknown; in wiener_filter() 49 cv::Mat unknown_ft[2]; in wiener_filter() 50 unknown_ft[0] = cv::Mat::zeros (image_h, image_w, CV_32FC1); in wiener_filter() 51 unknown_ft[1] = cv::Mat::zeros (image_h, image_w, CV_32FC1); in wiener_filter() 53 cv::Mat denominator; in wiener_filter() 54 …cv::Mat denominator_splitted[] = {cv::Mat::zeros (blurred_image.size (), CV_32FC1), cv::Mat::zeros… in wiener_filter() [all …]
|
D | cv_edgetaper.cpp | 34 CVEdgetaper::create_weights (const cv::Mat &image, const cv::Mat &psf, cv::Mat &coefficients) in create_weights() 36 cv::Mat rows_proj, cols_proj; in create_weights() 37 cv::Mat rows_proj_border, cols_proj_border; in create_weights() 38 cv::Mat rows_cor, cols_cor; in create_weights() 48 cv::Mat rows_add = cv::Mat_<float>(1, 1) << rows_proj.at<float> (0, 0); in create_weights() 49 cv::Mat cols_add = cv::Mat_<float>(1, 1) << cols_proj.at<float> (0, 0); in create_weights() 58 cv::Mat alpha = (cv::Scalar (1) - rows_proj) * (cv::Scalar (1) - cols_proj); in create_weights() 62 cv::Mat expanded; in create_weights() 64 …cv::Mat weights = expanded (cv::Rect (expanded.cols / 2 - image.cols / 2, expanded.rows / 2 - imag… in create_weights() 69 CVEdgetaper::edgetaper (const cv::Mat &img, const cv::Mat &psf, cv::Mat &output) in edgetaper() [all …]
|
D | cv_image_process_helper.cpp | 33 cv::Mat 34 CVImageProcessHelper::erosion (const cv::Mat &image, int erosion_size, int erosion_type) in erosion() 36 cv::Mat element = cv::getStructuringElement (erosion_type, in erosion() 39 cv::Mat eroded; in erosion() 45 CVImageProcessHelper::get_snr (const cv::Mat &noisy, const cv::Mat &noiseless) in get_snr() 47 cv::Mat temp_noisy, temp_noiseless; in get_snr() 50 cv::Mat numerator, denominator; in get_snr() 59 CVImageProcessHelper::compute_dft (const cv::Mat &image, cv::Mat &result) in compute_dft() 61 cv::Mat padded; in compute_dft() 65 cv::Mat planes[] = {cv::Mat_<float> (padded), cv::Mat::zeros (padded.size (), CV_32FC1)}; in compute_dft() [all …]
|
D | cv_image_deblurring.cpp | 49 CVImageDeblurring::crop_border (cv::Mat &thresholded) in crop_border() 114 CVImageDeblurring::estimate_kernel_size (const cv::Mat &image) in estimate_kernel_size() 117 cv::Mat thresholded; in estimate_kernel_size() 118 cv::Mat dst; in estimate_kernel_size() 125 cv::Mat thresholded_new; in estimate_kernel_size() 141 …cv::Mat filter = cv::Mat::ones (filter_size, filter_size, CV_32FC1) / (float)(filter_size * filter… in estimate_kernel_size() 155 CVImageDeblurring::blind_deblurring (const cv::Mat &blurred, cv::Mat &deblurred, cv::Mat &kernel, i… in blind_deblurring() 157 cv::Mat gray_blurred; in blind_deblurring() 161 cv::Mat median_blurred; in blind_deblurring() 177 std::vector<cv::Mat> blurred_rgb (3); in blind_deblurring() [all …]
|
D | cv_image_process_helper.h | 38 void compute_dft (const cv::Mat &image, cv::Mat &result); 39 void compute_idft (cv::Mat *input, cv::Mat &result); 40 …void apply_constraints (cv::Mat &image, float threshold_min_value = 0.0f, float threshold_max_valu… 41 float get_snr (const cv::Mat &noisy, const cv::Mat &noiseless); 42 cv::Mat erosion (const cv::Mat &image, int erosion_size, int erosion_type); 43 void normalize_weights (cv::Mat &weights);
|
D | cv_image_sharp.cpp | 33 cv::Mat 34 CVImageSharp::sharp_image_gray (const cv::Mat &image, float sigmar) in sharp_image_gray() 36 cv::Mat temp_image; in sharp_image_gray() 38 cv::Mat bilateral_image; in sharp_image_gray() 41 cv::Mat sharp_filter = (cv::Mat_<float>(3, 3) << -1, -1, -1, -1, 8, -1, -1, -1, -1); in sharp_image_gray() 42 cv::Mat filtered_image; in sharp_image_gray() 45 cv::Mat sharpened = temp_image + filtered_image; in sharp_image_gray() 51 CVImageSharp::measure_sharp (const cv::Mat &image) in measure_sharp() 53 cv::Mat dst; in measure_sharp()
|
D | cv_image_deblurring.h | 51 …void blind_deblurring (const cv::Mat &blurred, cv::Mat &deblurred, cv::Mat &kernel, int kernel_siz… 54 …void blind_deblurring_one_channel (const cv::Mat &blurred, cv::Mat &kernel, int kernel_size, float… 55 int estimate_kernel_size (const cv::Mat &blurred); 56 void crop_border (cv::Mat &image);
|
D | cv_edgetaper.h | 39 void edgetaper (const cv::Mat &image, const cv::Mat &psf, cv::Mat &output); 42 void create_weights (const cv::Mat &image, const cv::Mat &psf, cv::Mat &coefficients);
|
D | cv_base_class.cpp | 44 CVBaseClass::convert_to_mat (SmartPtr<VideoBuffer> buffer, cv::Mat &image) in convert_to_mat() 53 cv::Mat mat = cv::Mat (info.aligned_height * 3 / 2, info.width, CV_8UC1, ptr, info.strides[0]); in convert_to_mat() 61 convert_to_mat (SmartPtr<VideoBuffer> buffer, cv::Mat &image) in convert_to_mat()
|
D | cv_image_sharp.h | 37 float measure_sharp (const cv::Mat &image); 38 cv::Mat sharp_image_gray (const cv::Mat &image, float sigmar);
|
D | cv_wiener_filter.h | 38 …void wiener_filter (const cv::Mat &blurred_image, const cv::Mat &known, cv::Mat &unknown, float no…
|
/external/eigen/test/ |
D | boostmultiprec.cpp | 146 typedef Matrix<Real,Dynamic,Dynamic> Mat; in test_boostmultiprec() typedef 157 Mat A(10,10); in test_boostmultiprec() 172 CALL_SUBTEST_1( cholesky(Mat(s,s)) ); in test_boostmultiprec() 174 CALL_SUBTEST_2( lu_non_invertible<Mat>() ); in test_boostmultiprec() 175 CALL_SUBTEST_2( lu_invertible<Mat>() ); in test_boostmultiprec() 179 …CALL_SUBTEST_3( qr(Mat(internal::random<int>(1,EIGEN_TEST_MAX_SIZE),internal::random<int>(1,EIGEN_… in test_boostmultiprec() 180 CALL_SUBTEST_3( qr_invertible<Mat>() ); in test_boostmultiprec() 182 CALL_SUBTEST_4( qr<Mat>() ); in test_boostmultiprec() 183 CALL_SUBTEST_4( cod<Mat>() ); in test_boostmultiprec() 184 CALL_SUBTEST_4( qr_invertible<Mat>() ); in test_boostmultiprec() [all …]
|
D | sparse_solver.h | 44 typedef typename Solver::MatrixType Mat; in check_sparse_solving() typedef 45 typedef typename Mat::Scalar Scalar; in check_sparse_solving() 46 typedef typename Mat::StorageIndex StorageIndex; in check_sparse_solving() 86 …MappedSparseMatrix<Scalar,Mat::Options,StorageIndex> Am(A.rows(), A.cols(), A.nonZeros(), const_ca… in check_sparse_solving() 123 Mat A2 = A; in check_sparse_solving() 124 … A2.reserve((ArrayXf::Random(A.outerSize())+2).template cast<typename Mat::StorageIndex>().eval()); in check_sparse_solving() 146 typedef typename Solver::MatrixType Mat; in check_sparse_solving_real_cases() typedef 147 typedef typename Mat::Scalar Scalar; in check_sparse_solving_real_cases() 148 typedef typename Mat::RealScalar RealScalar; in check_sparse_solving_real_cases() 179 typedef typename Solver::MatrixType Mat; in check_sparse_determinant() typedef [all …]
|
/external/libxcam/plugins/smart/dvs/libdvs/ |
D | stabilizer.cpp | 27 Mat 32 Mat image; in nextStabilizedMotion() 49 Mat stabilizationMotion = estimateStabilizationMotion(); in nextStabilizedMotion() 63 return Mat(); in nextStabilizedMotion() 71 at(curStabilizedPos_ + radius_ - 1, motions_) = Mat::eye(3, 3, CV_32F); in nextStabilizedMotion() 73 Mat stabilizationMotion = estimateStabilizationMotion(); in nextStabilizedMotion() 84 return Mat(); in nextStabilizedMotion() 88 Mat 122 OnePassVideoStabilizer::setUpFrame(const Mat &firstFrame) in setUpFrame() 135 at(i, motions_) = Mat::eye(3, 3, CV_32F); in setUpFrame() [all …]
|
D | stabilizer.h | 36 virtual cv::Mat nextStabilizedMotion(DvsData* frame, int& stablizedPos); 39 virtual cv::Mat estimateMotion(); 40 virtual void setUpFrame(const cv::Mat &firstFrame); 51 virtual cv::Mat nextStabilizedMotion(DvsData* frame, int& stablizedPos); 54 virtual cv::Mat estimateMotion(); 55 virtual void setUpFrame(const cv::Mat &firstFrame); 74 cv::Mat nextFrame(); 75 cv::Mat nextStabilizedMotion(DvsData* frame, int& stablizedPos); 78 cv::Mat cropVideoFrame(cv::Mat& frame);
|
/external/libxcam/tests/ |
D | test-image-deblurring.cpp | 50 blind_deblurring (cv::Mat &input_image, cv::Mat &output_image) in blind_deblurring() 53 cv::Mat kernel; in blind_deblurring() 58 non_blind_deblurring (cv::Mat &input_image, cv::Mat &output_image) in non_blind_deblurring() 64 cv::Mat kernel = cv::Mat::zeros (kernel_size, kernel_size, CV_32FC1); in non_blind_deblurring() 71 cv::Mat conv_kernel; in non_blind_deblurring() 73 cv::Mat blurred; in non_blind_deblurring() 76 cv::Mat median_blurred; in non_blind_deblurring() 147 cv::Mat input_image = cv::imread (file_in_name, CV_LOAD_IMAGE_COLOR); in main() 148 cv::Mat output_image; in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/Delinearization/ |
D | himeno_2.ll | 5 ; 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
|
D | himeno_1.ll | 5 ; 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/llvm/test/Analysis/Delinearization/ |
D | himeno_2.ll | 5 ; 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
|
D | himeno_1.ll | 5 ; 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/eigen/bench/perf_monitoring/gemm/ |
D | gemm.cpp | 14 typedef Matrix<Scalar,Dynamic,Dynamic> Mat; typedef 17 void gemm(const Mat &A, const Mat &B, Mat &C) in gemm() 25 Mat A(m,k); in bench() 26 Mat B(k,n); in bench() 27 Mat C(m,n); in bench()
|
/external/eigen/bench/ |
D | benchmarkSlice.cpp | 20 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()
|
D | eig33.cpp | 170 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/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 451 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 …]
|
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
D | p10.cpp | 38 template<typename eT> class Mat; 39 template<typename eT> class Col : public Mat<eT> { 40 using Mat<eT>::operator();
|