/external/opencv3/modules/cudaarithm/test/ |
D | test_element_operations.cpp | 58 bool useRoi; in PARAM_TEST_CASE() local 69 useRoi = GET_PARAM(4); in PARAM_TEST_CASE() 97 cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); in CUDA_TEST_P() 99 …cv::cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P() 120 bool useRoi; in PARAM_TEST_CASE() local 130 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() 159 cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); in CUDA_TEST_P() 161 …cv::cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, loadMat(mask, useRoi), depth.seco… in CUDA_TEST_P() 184 bool useRoi; in PARAM_TEST_CASE() local 191 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() [all …]
|
D | test_reductions.cpp | 58 bool useRoi; in PARAM_TEST_CASE() local 66 useRoi = GET_PARAM(4); in PARAM_TEST_CASE() 77 double val = cv::cuda::norm(loadMat(src, useRoi), normCode, loadMat(mask, useRoi)); in CUDA_TEST_P() 92 cv::cuda::calcNorm(loadMat(src, useRoi), dst, normCode, loadMat(mask, useRoi), stream); in CUDA_TEST_P() 124 bool useRoi; in PARAM_TEST_CASE() local 131 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() 142 double val = cv::cuda::norm(loadMat(src1, useRoi), loadMat(src2, useRoi), normCode); in CUDA_TEST_P() 157 cv::cuda::calcNormDiff(loadMat(src1, useRoi), loadMat(src2, useRoi), dst, normCode, stream); in CUDA_TEST_P() 264 bool useRoi; in PARAM_TEST_CASE() local 273 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() [all …]
|
D | test_gpumat.cpp | 60 bool useRoi; in PARAM_TEST_CASE() local 67 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() 77 cv::cuda::GpuMat mat = createMat(size, type, useRoi); in CUDA_TEST_P() 91 cv::cuda::GpuMat mat = createMat(size, type, useRoi); in CUDA_TEST_P() 101 cv::cuda::GpuMat mat = createMat(size, type, useRoi); in CUDA_TEST_P() 116 cv::cuda::GpuMat mat = createMat(size, type, useRoi); in CUDA_TEST_P() 126 cv::cuda::GpuMat mat = createMat(size, type, useRoi); in CUDA_TEST_P() 143 cv::cuda::GpuMat mat = createMat(size, type, useRoi); in CUDA_TEST_P() 153 cv::cuda::GpuMat mat = loadMat(mat_gold, useRoi); in CUDA_TEST_P() 154 mat.setTo(val, loadMat(mask, useRoi)); in CUDA_TEST_P() [all …]
|
D | test_core.cpp | 58 bool useRoi; in PARAM_TEST_CASE() local 66 useRoi = GET_PARAM(4); in PARAM_TEST_CASE() 81 d_src.push_back(loadMat(src[i], useRoi)); in CUDA_TEST_P() 123 bool useRoi; in PARAM_TEST_CASE() local 133 useRoi = GET_PARAM(4); in PARAM_TEST_CASE() 160 cv::cuda::split(loadMat(src, useRoi), dst); in CUDA_TEST_P() 189 bool useRoi; in PARAM_TEST_CASE() local 196 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() 220 cv::cuda::GpuMat dst = createMat(cv::Size(size.height, size.width), type, useRoi); in CUDA_TEST_P() 221 cv::cuda::transpose(loadMat(src, useRoi), dst); in CUDA_TEST_P() [all …]
|
/external/opencv3/modules/cudaimgproc/test/ |
D | test_color.cpp | 57 bool useRoi; in PARAM_TEST_CASE() local 66 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() 79 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2RGB); in CUDA_TEST_P() 92 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2RGBA); in CUDA_TEST_P() 105 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2BGRA); in CUDA_TEST_P() 119 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2RGB); in CUDA_TEST_P() 133 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2BGR); in CUDA_TEST_P() 147 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2RGBA); in CUDA_TEST_P() 160 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2GRAY); in CUDA_TEST_P() 173 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2GRAY); in CUDA_TEST_P() [all …]
|
D | test_blend.cpp | 84 bool useRoi; in PARAM_TEST_CASE() local 91 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() 107 …v::cuda::blendLinear(loadMat(img1, useRoi), loadMat(img2, useRoi), loadMat(weights1, useRoi), load… in CUDA_TEST_P()
|
D | test_hough.cpp | 88 const bool useRoi = GET_PARAM(2); in CUDA_TEST_P() local 100 hough->detect(loadMat(src, useRoi), d_lines); in CUDA_TEST_P() 135 const bool useRoi = GET_PARAM(2); in CUDA_TEST_P() local 156 houghCircles->detect(loadMat(src, useRoi), d_circles); in CUDA_TEST_P() 200 const bool useRoi = GET_PARAM(1); in CUDA_TEST_P() local 224 alg->setTemplate(loadMat(templ, useRoi)); in CUDA_TEST_P() 227 alg->detect(loadMat(image, useRoi), d_pos); in CUDA_TEST_P()
|
D | test_canny.cpp | 63 bool useRoi; in PARAM_TEST_CASE() local 70 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() 87 canny->detect(loadMat(img, useRoi), edges); in CUDA_TEST_P()
|
/external/opencv3/modules/cudafilters/test/ |
D | test_filters.cpp | 81 bool useRoi; in PARAM_TEST_CASE() local 91 useRoi = GET_PARAM(6); in PARAM_TEST_CASE() 103 cv::cuda::GpuMat dst = createMat(size, type, useRoi); in CUDA_TEST_P() 104 blurFilter->apply(loadMat(src, useRoi), dst); in CUDA_TEST_P() 132 bool useRoi; in PARAM_TEST_CASE() local 142 useRoi = GET_PARAM(6); in PARAM_TEST_CASE() 155 cv::cuda::GpuMat dst = createMat(size, type, useRoi); in CUDA_TEST_P() 156 filter2D->apply(loadMat(src, useRoi), dst); in CUDA_TEST_P() 182 bool useRoi; in PARAM_TEST_CASE() local 190 useRoi = GET_PARAM(4); in PARAM_TEST_CASE() [all …]
|
/external/opencv3/modules/imgproc/test/ocl/ |
D | test_imgproc.cpp | 71 bool useRoi; in PARAM_TEST_CASE() local 81 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() 87 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 90 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 115 bool useRoi; in PARAM_TEST_CASE() local 131 useRoi = GET_PARAM(4); in PARAM_TEST_CASE() 140 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 143 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 210 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in random_roi() 217 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in random_roi() [all …]
|
D | test_blend.cpp | 58 bool useRoi; in PARAM_TEST_CASE() local 70 useRoi = GET_PARAM(2); in PARAM_TEST_CASE() 79 Border src1Border = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 82 Border src2Border = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 85 Border weights1Border = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 88 Border weights2Border = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 95 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
|
D | test_warp.cpp | 74 bool useRoi, mapInverse; in PARAM_TEST_CASE() local 85 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() 97 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 100 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 173 bool useRoi; in PARAM_TEST_CASE() local 184 useRoi = GET_PARAM(4); in PARAM_TEST_CASE() 204 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 207 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 243 bool useRoi; in PARAM_TEST_CASE() local 258 useRoi = GET_PARAM(4); in PARAM_TEST_CASE() [all …]
|
D | test_histogram.cpp | 69 bool useRoi; in PARAM_TEST_CASE() local 87 useRoi = GET_PARAM(2); in PARAM_TEST_CASE() 108 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 129 Border histBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 133 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 226 bool useRoi; in PARAM_TEST_CASE() local 233 useRoi = GET_PARAM(0); in PARAM_TEST_CASE() 240 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 243 Border histBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
|
D | test_accumulate.cpp | 58 bool useRoi; in PARAM_TEST_CASE() local 71 useRoi = GET_PARAM(2); in PARAM_TEST_CASE() 80 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 83 Border maskBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 87 Border src2Border = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 90 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
|
D | test_sepfilter2D.cpp | 62 bool useRoi; in PARAM_TEST_CASE() local 73 useRoi = GET_PARAM(4); in PARAM_TEST_CASE() 90 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 93 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
|
D | test_filter2d.cpp | 64 bool useRoi; in PARAM_TEST_CASE() local 77 useRoi = GET_PARAM(6); in PARAM_TEST_CASE() 89 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 92 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
|
D | test_filters.cpp | 71 bool useRoi; in PARAM_TEST_CASE() local 84 useRoi = GET_PARAM(5); in PARAM_TEST_CASE() 97 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 100 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 286 bool useRoi; in IMPLEMENT_PARAM_CLASS() local 297 useRoi = GET_PARAM(4); in IMPLEMENT_PARAM_CLASS() 307 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in IMPLEMENT_PARAM_CLASS() 310 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in IMPLEMENT_PARAM_CLASS()
|
D | test_boxfilter.cpp | 62 bool normalize, useRoi; in PARAM_TEST_CASE() local 73 useRoi = GET_PARAM(4); in PARAM_TEST_CASE() 82 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 85 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
|
D | test_gftt.cpp | 58 bool useRoi; in PARAM_TEST_CASE() local 69 useRoi = GET_PARAM(1); in PARAM_TEST_CASE() 78 Border srcBorder = randomBorder(0, useRoi ? 2 : 0); in PARAM_TEST_CASE()
|
/external/opencv3/modules/cudawarping/test/ |
D | test_pyramids.cpp | 57 bool useRoi; in PARAM_TEST_CASE() local 64 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() 74 …:cuda::GpuMat dst = createMat(cv::Size((size.width + 1) / 2, (size.height + 1) / 2), type, useRoi); in CUDA_TEST_P() 75 cv::cuda::pyrDown(loadMat(src, useRoi), dst); in CUDA_TEST_P() 97 bool useRoi; in PARAM_TEST_CASE() local 104 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() 114 cv::cuda::GpuMat dst = createMat(cv::Size(size.width * 2, size.height * 2), type, useRoi); in CUDA_TEST_P() 115 cv::cuda::pyrUp(loadMat(src, useRoi), dst); in CUDA_TEST_P()
|
D | test_resize.cpp | 127 bool useRoi; in PARAM_TEST_CASE() local 136 useRoi = GET_PARAM(5); in PARAM_TEST_CASE() 146 …cv::saturate_cast<int>(src.cols * coeff), cv::saturate_cast<int>(src.rows * coeff)), type, useRoi); in CUDA_TEST_P() 147 cv::cuda::resize(loadMat(src, useRoi), dst, cv::Size(), coeff, coeff, interpolation); in CUDA_TEST_P() 172 bool useRoi; in PARAM_TEST_CASE() local 181 useRoi = GET_PARAM(5); in PARAM_TEST_CASE() 192 …cv::saturate_cast<int>(src.cols * coeff), cv::saturate_cast<int>(src.rows * coeff)), type, useRoi); in CUDA_TEST_P() 193 cv::cuda::resize(loadMat(src, useRoi), dst, cv::Size(), coeff, coeff, interpolation); in CUDA_TEST_P()
|
D | test_remap.cpp | 122 bool useRoi; in PARAM_TEST_CASE() local 134 useRoi = GET_PARAM(5); in PARAM_TEST_CASE() 163 cv::cuda::GpuMat dst = createMat(xmap.size(), type, useRoi); in CUDA_TEST_P() 164 …cv::cuda::remap(loadMat(src, useRoi), dst, loadMat(xmap, useRoi), loadMat(ymap, useRoi), interpola… in CUDA_TEST_P()
|
/external/opencv3/modules/cudabgsegm/test/ |
D | test_bgsegm.cpp | 79 bool useRoi; in PARAM_TEST_CASE() local 89 useRoi = GET_PARAM(4); in PARAM_TEST_CASE() 104 cv::cuda::GpuMat foreground = createMat(frame.size(), CV_8UC1, useRoi); in CUDA_TEST_P() 122 mog2->apply(loadMat(frame, useRoi), foreground); in CUDA_TEST_P() 160 mog2->apply(loadMat(frame, useRoi), foreground); in CUDA_TEST_P() 165 cv::cuda::GpuMat background = createMat(frame.size(), frame.type(), useRoi); in CUDA_TEST_P()
|
/external/opencv3/modules/core/test/ocl/ |
D | test_dft.cpp | 132 bool ccorr, useRoi; in PARAM_TEST_CASE() local 141 useRoi = GET_PARAM(1); in PARAM_TEST_CASE() 147 Border src1Border = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 151 Border src2Border = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE() 154 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
|
/external/opencv3/modules/core/test/ |
D | test_umat.cpp | 65 bool useRoi; in PARAM_TEST_CASE() local 74 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() 87 if(useRoi) in TEST_P() 120 if(useRoi) in TEST_P() 139 if(useRoi) in TEST_P() 154 if(useRoi && a.size() != ua.size()) in TEST_P() 181 if(useRoi) in TEST_P() 235 if(useRoi) in TEST_P() 275 bool useRoi; in PARAM_TEST_CASE() local 282 useRoi = GET_PARAM(3); in PARAM_TEST_CASE() [all …]
|