/external/opencv3/modules/core/src/ |
D | umatrix.cpp | 88 MatAllocator* UMat::getStdAllocator() in getStdAllocator() 97 void swap( UMat& a, UMat& b ) in swap() 126 static inline void setSize( UMat& m, int _dims, const int* _sz, in setSize() 179 static void updateContinuityFlag(UMat& m) in updateContinuityFlag() 196 m.flags |= UMat::CONTINUOUS_FLAG; in updateContinuityFlag() 198 m.flags &= ~UMat::CONTINUOUS_FLAG; in updateContinuityFlag() 202 static void finalizeHdr(UMat& m) in finalizeHdr() 210 UMat Mat::getUMat(int accessFlags, UMatUsageFlags usageFlags) const in getUMat() 212 UMat hdr; in getUMat() 224 … UMat::getStdAllocator()->allocate(temp_u, accessFlags, usageFlags); // TODO result is not checked in getUMat() [all …]
|
/external/opencv3/modules/core/test/ |
D | test_umat.cpp | 60 UMat ua; in PARAM_TEST_CASE() 89 ua = UMat(ua, roi); in TEST_P() 118 UMat ub; in TEST_P() 122 ua = UMat(ua,roi); in TEST_P() 123 ub = UMat(ub,roi); in TEST_P() 125 UMat uc = ua, ud = ub; in TEST_P() 141 ua = UMat(ua,roi); in TEST_P() 143 UMat ub = ua.clone(); in TEST_P() 172 ub = UMat(dims, sz, new_type); in TEST_P() 178 UMat roi_ua; in TEST_P() [all …]
|
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/ |
D | exposure_compensate.hpp | 70 void feed(const std::vector<Point> &corners, const std::vector<UMat> &images, 71 const std::vector<UMat> &masks); 73 virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images, 74 const std::vector<std::pair<UMat,uchar> > &masks) = 0; 90 void feed(const std::vector<Point> &/*corners*/, const std::vector<UMat> &/*images*/, in feed() argument 91 const std::vector<std::pair<UMat,uchar> > &/*masks*/) { } in feed() argument 101 void feed(const std::vector<Point> &corners, const std::vector<UMat> &images, 102 const std::vector<std::pair<UMat,uchar> > &masks); 118 void feed(const std::vector<Point> &corners, const std::vector<UMat> &images, 119 const std::vector<std::pair<UMat,uchar> > &masks); [all …]
|
D | blenders.hpp | 89 UMat dst_, dst_mask_; 109 Rect createWeightMaps(const std::vector<UMat> &masks, const std::vector<Point> &corners, 110 std::vector<UMat> &weight_maps); 114 UMat weight_map_; 115 UMat dst_weight_map_; 136 std::vector<UMat> dst_pyr_laplace_; 137 std::vector<UMat> dst_band_weights_; 151 void CV_EXPORTS createLaplacePyr(InputArray img, int num_levels, std::vector<UMat>& pyr); 152 void CV_EXPORTS createLaplacePyrGpu(InputArray img, int num_levels, std::vector<UMat>& pyr); 155 void CV_EXPORTS restoreImageFromLaplacePyr(std::vector<UMat>& pyr); [all …]
|
D | seam_finders.hpp | 68 virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, 69 std::vector<UMat> &masks) = 0; 77 void find(const std::vector<UMat>&, const std::vector<Point>&, std::vector<UMat>&) {} in find() argument 85 virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, 86 std::vector<UMat> &masks); 98 std::vector<UMat> images_; 101 std::vector<UMat> masks_; 109 virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, 110 std::vector<UMat> &masks); 112 std::vector<UMat> &masks); [all …]
|
/external/opencv3/modules/video/src/ |
D | tvl1flow.cpp | 127 bool procOneScale_ocl(const UMat& I0, const UMat& I1, UMat& u1, UMat& u2); 175 std::vector<UMat> I0s; 176 std::vector<UMat> I1s; 177 std::vector<UMat> u1s; 178 std::vector<UMat> u2s; 180 UMat I1x_buf; 181 UMat I1y_buf; 183 UMat I1w_buf; 184 UMat I1wx_buf; 185 UMat I1wy_buf; [all …]
|
D | optflowgf.cpp | 612 bool operator ()(const UMat &frame0, const UMat &frame1, UMat &flowx, UMat &flowy) in operator ()() 622 UMat prevFlowX, prevFlowY, curFlowX, curFlowY; in operator ()() 626 UMat flowx0 = flowx; in operator ()() 627 UMat flowy0 = flowy; in operator ()() 711 UMat M = allocMatFromBuf(5*height, width, CV_32F, M_); in operator ()() 712 UMat bufM = allocMatFromBuf(5*height, width, CV_32F, bufM_); in operator ()() 713 UMat R[2] = in operator ()() 728 UMat blurredFrame[2] = in operator ()() 733 UMat pyrLevel[2] = in operator ()() 795 UMat m_g; [all …]
|
/external/opencv3/modules/core/perf/opencl/ |
D | perf_channels.cpp | 69 UMat dst(srcSize, dtype); 70 vector<UMat> src(cn); 71 for (vector<UMat>::iterator i = src.begin(), end = src.end(); i != end; ++i) 99 UMat src(srcSize, type); 100 std::vector<UMat> dst(cn, UMat(srcSize, CV_MAKE_TYPE(depth, 1))); 112 UMat & dst0 = dst[0], & dst1 = dst[1]; 118 UMat & dst0 = dst[0], & dst1 = dst[1], & dst2 = dst[2]; 140 std::vector<UMat> src(n), dst(n); in OCL_PERF_TEST_P() 143 src[i] = UMat(srcSize, type); in OCL_PERF_TEST_P() 144 dst[i] = UMat(srcSize, type); in OCL_PERF_TEST_P() [all …]
|
D | perf_arithm.cpp | 64 UMat src(srcSize, CV_8UC(cn)), lut(1, 256, type); in OCL_PERF_TEST_P() 66 UMat dst(srcSize, dstType); in OCL_PERF_TEST_P() 88 UMat src(srcSize, type), dst(srcSize, type); in OCL_PERF_TEST_P() 110 UMat src(srcSize, type), dst(srcSize, type); in OCL_PERF_TEST_P() 131 UMat src1(srcSize, type), src2(srcSize, type), dst(srcSize, type); in OCL_PERF_TEST_P() 152 UMat src1(srcSize, type), src2(srcSize, type), dst(srcSize, type); in OCL_PERF_TEST_P() 172 UMat src1(srcSize, type), src2(srcSize, type), dst(srcSize, type); in OCL_PERF_TEST_P() 193 UMat src1(srcSize, type), src2(srcSize, type), dst(srcSize, type); in OCL_PERF_TEST_P() 214 UMat src1(srcSize, type), src2(srcSize, type), dst(srcSize, type); in OCL_PERF_TEST_P() 235 UMat src1(srcSize, type), src2(srcSize, type), in OCL_PERF_TEST_P() [all …]
|
D | perf_bufferpool.cpp | 60 UMat u(sz, CV_8UC1); in OCL_PERF_TEST_P() 77 UMat u(sz, CV_8UC1); in OCL_PERF_TEST_P() 100 UMat src(sz, CV_8UC1); in OCL_PERF_TEST_P() 101 UMat dst; in OCL_PERF_TEST_P() 120 UMat src(sz, CV_32FC1); in OCL_PERF_TEST_P() 121 UMat dst; in OCL_PERF_TEST_P()
|
/external/opencv3/modules/photo/src/ |
D | fast_nlmeans_denoising_opencl.hpp | 32 static bool ocl_calcAlmostDist2Weight(UMat & almostDist2Weight, in ocl_calcAlmostDist2Weight() 131 UMat almostDist2Weight; in ocl_fastNlMeansDenoising() 145 UMat srcex; in ocl_fastNlMeansDenoising() 149 UMat src(srcex, Rect(borderSize, borderSize, size.width, size.height)); in ocl_fastNlMeansDenoising() 151 mixChannels(std::vector<UMat>(1, _src.getUMat()), std::vector<UMat>(1, src), from_to, 3); in ocl_fastNlMeansDenoising() 159 UMat dst; in ocl_fastNlMeansDenoising() 168 UMat buffer(upColSumSize + colSumSize, CV_32SC(cn)); in ocl_fastNlMeansDenoising() 180 mixChannels(std::vector<UMat>(1, dst), std::vector<UMat>(1, _dst.getUMat()), from_to, 3); in ocl_fastNlMeansDenoising() 190 UMat src = _src.getUMat(); in ocl_fastNlMeansDenoisingColored() 192 UMat dst = _dst.getUMat(); in ocl_fastNlMeansDenoisingColored() [all …]
|
/external/opencv3/modules/imgproc/perf/opencl/ |
D | perf_3vs4.cpp | 38 UMat src(srcSize, type), dst(srcSize, type); in OCL_PERF_TEST_P() 47 std::vector<UMat> srcs(3), dsts(3); in OCL_PERF_TEST_P() 51 dsts[i] = UMat(srcSize, depth); in OCL_PERF_TEST_P() 52 srcs[i] = UMat(srcSize, depth); in OCL_PERF_TEST_P() 68 UMat src4(srcSize, type4), dst4(srcSize, type4); in OCL_PERF_TEST_P() 92 UMat src(srcSize, type), dst(srcSize, type); in OCL_PERF_TEST_P() 101 std::vector<UMat> srcs(3), dsts(3); in OCL_PERF_TEST_P() 105 dsts[i] = UMat(srcSize, depth); in OCL_PERF_TEST_P() 106 srcs[i] = UMat(srcSize, depth); in OCL_PERF_TEST_P() 122 UMat src4(srcSize, type4), dst4(srcSize, type4); in OCL_PERF_TEST_P()
|
D | perf_imgproc.cpp | 66 UMat src(srcSize, CV_8UC1), dst(srcSize, CV_8UC1); in OCL_PERF_TEST_P() 90 UMat src(srcSize, CV_8UC1), hist(256, 1, CV_32FC1); in OCL_PERF_TEST_P() 93 …OCL_TEST_CYCLE() cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, rang… in OCL_PERF_TEST_P() 114 UMat src(srcSize, CV_8UC1), hist(256, 1, CV_32FC1), dst(srcSize, CV_8UC1); in OCL_PERF_TEST_P() 117 cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, ranges, false); in OCL_PERF_TEST_P() 120 OCL_TEST_CYCLE() cv::calcBackProject(std::vector<UMat>(1,src), channels, hist, dst, ranges, 1); in OCL_PERF_TEST_P() 142 UMat src(srcSize, type), dst; in OCL_PERF_TEST_P() 166 UMat src(srcSize, type), dst(srcSize, CV_32FC1); in OCL_PERF_TEST_P() 187 UMat src(srcSize, type), dst(srcSize, CV_32FC1); in OCL_PERF_TEST_P() 208 UMat src(srcSize, type), dst(srcSize, CV_32FC1); in OCL_PERF_TEST_P() [all …]
|
D | perf_filters.cpp | 72 UMat src(srcSize, type), dst(srcSize, type); 97 UMat src(srcSize, type), dst(srcSize, type); 119 UMat src(srcSize, type), dst(srcSize, type); 141 UMat src(srcSize, type), dst(srcSize, type); 163 UMat src(srcSize, type), dst(srcSize, type); 188 UMat src(srcSize, type), dst(srcSize, type); 209 UMat src(srcSize, type), dst(srcSize, type); in OCL_PERF_TEST_P() 231 UMat src(srcSize, type), dst(srcSize, type); in OCL_PERF_TEST_P() 253 UMat src(srcSize, type), dst(srcSize, type); 275 UMat src(srcSize, type), dst(srcSize, type); [all …]
|
D | perf_matchTemplate.cpp | 29 UMat img(imgSz, type), tmpl(tmplSz, type); 30 UMat result(imgSz - tmplSz + Size(1, 1), CV_32F); 58 UMat src(srcSize, type), templ(templSize, type); 60 UMat dst(dstSize, CV_32F); 76 UMat src(srcSize, CV_8UC1), templ(templSize, CV_8UC1); 78 UMat dst(dstSize, CV_8UC1);
|
/external/opencv3/modules/core/include/opencv2/core/ |
D | mat.hpp | 187 _InputArray(const UMat& um); 188 _InputArray(const std::vector<UMat>& umv); 192 UMat getUMat(int idx=-1) const; 194 void getUMatVector(std::vector<UMat>& umv) const; 295 _OutputArray(UMat& m); 296 _OutputArray(std::vector<UMat>& vec); 310 _OutputArray(const UMat& m); 311 _OutputArray(const std::vector<UMat>& vec); 317 UMat& getUMatRef(int i=-1) const; 329 void assign(const UMat& u) const; [all …]
|
D | ocl.hpp | 306 KernelArg(int _flags, UMat* _m, int wscale=1, int iwscale=1, const void* _obj=0, size_t _sz=0); 310 static KernelArg PtrWriteOnly(const UMat& m) in PtrWriteOnly() 311 { return KernelArg(PTR_ONLY+WRITE_ONLY, (UMat*)&m); } in PtrWriteOnly() 312 static KernelArg PtrReadOnly(const UMat& m) in PtrReadOnly() 313 { return KernelArg(PTR_ONLY+READ_ONLY, (UMat*)&m); } in PtrReadOnly() 314 static KernelArg PtrReadWrite(const UMat& m) in PtrReadWrite() 315 { return KernelArg(PTR_ONLY+READ_WRITE, (UMat*)&m); } in PtrReadWrite() 316 static KernelArg ReadWrite(const UMat& m, int wscale=1, int iwscale=1) in ReadWrite() 317 { return KernelArg(READ_WRITE, (UMat*)&m, wscale, iwscale); } in ReadWrite() 318 static KernelArg ReadWriteNoSize(const UMat& m, int wscale=1, int iwscale=1) in ReadWriteNoSize() [all …]
|
/external/opencv3/modules/superres/src/ |
D | input_array_utility.hpp | 54 CV_EXPORTS UMat arrGetUMat(InputArray arr, UMat& buf); 60 CV_EXPORTS UMat convertToType(const UMat& src, int type, UMat& buf0, UMat& buf1);
|
D | btv_l1.cpp | 61 std::vector<UMat> & forwardMotions = *(std::vector<UMat> *)_forwardMotions.getObj(), in ocl_calcRelativeMotions() 62 & backwardMotions = *(std::vector<UMat> *)_backwardMotions.getObj(), in ocl_calcRelativeMotions() 63 & relForwardMotions = *(std::vector<UMat> *)_relForwardMotions.getObj(), in ocl_calcRelativeMotions() 64 & relBackwardMotions = *(std::vector<UMat> *)_relBackwardMotions.getObj(); in ocl_calcRelativeMotions() 133 std::vector<UMat> & lowResMotions = *(std::vector<UMat> *)_lowResMotions.getObj(), in ocl_upscaleMotions() 134 & highResMotions = *(std::vector<UMat> *)_highResMotions.getObj(); in ocl_upscaleMotions() 175 UMat forwardMotion = _forwardMotion.getUMat(), backwardMotion = _backwardMotion.getUMat(); in ocl_buildMotionMaps() 181 UMat forwardMap = _forwardMap.getUMat(), backwardMap = _backwardMap.getUMat(); in ocl_buildMotionMaps() 253 UMat src = _src.getUMat(); in ocl_upscale() 256 UMat dst = _dst.getUMat(); in ocl_upscale() [all …]
|
/external/opencv3/modules/core/test/ocl/ |
D | test_matrix_expr.cpp | 43 UMat um = UMat::eye(size, type); in OCL_TEST_P() 58 UMat um = UMat::zeros(size, type); in OCL_TEST_P() 73 UMat um = UMat::ones(size, type); in OCL_TEST_P()
|
/external/opencv3/samples/tapi/ |
D | squares.cpp | 35 static void findSquares( const UMat& image, vector<vector<Point> >& squares ) in findSquares() 38 UMat pyr, timg, gray0(image.size(), CV_8U), gray; in findSquares() 63 dilate(gray, gray, UMat(), Point(-1,-1)); in findSquares() 116 static void drawSquares( UMat& _image, const vector<vector<Point> >& squares ) in drawSquares() 129 static UMat drawSquaresBoth( const UMat& image, in drawSquaresBoth() 132 UMat imgToShow(Size(image.cols, image.rows), image.type()); in drawSquaresBoth() 171 UMat image; in main() 199 UMat result = drawSquaresBoth(image, squares); in main()
|
/external/opencv3/modules/imgproc/src/ |
D | templmatch.cpp | 71 UMat image = _image.getUMat(); in extractFirstChannel_32F() 72 UMat result = _result.getUMat(); in extractFirstChannel_32F() 79 static bool sumTemplate(InputArray _src, UMat & result) in sumTemplate() 99 UMat src = _src.getUMat(); in sumTemplate() 124 UMat image_spect, templ_spect, result_spect; 125 UMat image_block, templ_block, result_data; 178 UMat image = _image.getUMat(); in convolve_dft() 179 UMat templ = _templ.getUMat(); in convolve_dft() 181 UMat result = _result.getUMat(); in convolve_dft() 186 UMat& image_block = buf.image_block; in convolve_dft() [all …]
|
/external/opencv3/modules/photo/perf/opencl/ |
D | perf_denoising.cpp | 21 UMat result(_original.size(), _original.type()), original; in OCL_PERF_TEST() 37 UMat result(_original.size(), _original.type()), original; in OCL_PERF_TEST() 52 vector<UMat> original(imgs_count); in OCL_PERF_TEST() 62 UMat result(tmp.size(), tmp.type()); in OCL_PERF_TEST() 75 vector<UMat> original(imgs_count); in OCL_PERF_TEST() 86 UMat result(tmp.size(), tmp.type()); in OCL_PERF_TEST()
|
/external/opencv3/modules/stitching/src/ |
D | blenders.cpp | 111 UMat mask; in blend() 170 Rect FeatherBlender::createWeightMaps(const std::vector<UMat> &masks, const std::vector<Point> &cor… in createWeightMaps() 171 std::vector<UMat> &weight_maps) in createWeightMaps() 262 UMat src = _src.getUMat(); in ocl_MultiBandBlender_feed() 281 UMat img = _img.getUMat(); in feed() 316 UMat img_with_border; in feed() 324 std::vector<UMat> src_pyr_laplace; in feed() 336 UMat weight_map; in feed() 337 std::vector<UMat> weight_pyr_gauss(num_bands_ + 1); in feed() 346 UMat add_mask; in feed() [all …]
|
D | stitcher.cpp | 115 return composePanorama(std::vector<UMat>(), pano); in composePanorama() 123 std::vector<UMat> imgs; in composePanorama() 129 UMat img; in composePanorama() 139 std::vector<UMat> seam_est_imgs_subset; in composePanorama() 140 std::vector<UMat> imgs_subset; in composePanorama() 152 UMat pano_; in composePanorama() 159 std::vector<UMat> masks_warped(imgs_.size()); in composePanorama() 160 std::vector<UMat> images_warped(imgs_.size()); in composePanorama() 162 std::vector<UMat> masks(imgs_.size()); in composePanorama() 188 std::vector<UMat> images_warped_f(imgs_.size()); in composePanorama() [all …]
|