Lines Matching refs:depth
56 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
67 depth = GET_PARAM(2); in PARAM_TEST_CASE()
73 stype = CV_MAKE_TYPE(depth.first, channels); in PARAM_TEST_CASE()
74 dtype = CV_MAKE_TYPE(depth.second, channels); in PARAM_TEST_CASE()
83 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
88 cv::cuda::add(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
99 …cv::cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
102 cv::add(mat1, mat2, dst_gold, cv::noArray(), depth.second); in CUDA_TEST_P()
104 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
119 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
129 depth = GET_PARAM(2); in PARAM_TEST_CASE()
134 stype = CV_MAKE_TYPE(depth.first, 1); in PARAM_TEST_CASE()
135 dtype = CV_MAKE_TYPE(depth.second, 1); in PARAM_TEST_CASE()
145 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
150 cv::cuda::add(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
161 …:cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, loadMat(mask, useRoi), depth.second); in CUDA_TEST_P()
164 cv::add(mat1, mat2, dst_gold, mask, depth.second); in CUDA_TEST_P()
166 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
183 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
190 depth = GET_PARAM(2); in PARAM_TEST_CASE()
199 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
202 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
207 cv::cuda::add(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
216 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
218 cv::cuda::add(loadMat(mat, useRoi), val, dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
220 cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); in CUDA_TEST_P()
221 cv::add(mat, val, dst_gold, cv::noArray(), depth.second); in CUDA_TEST_P()
223 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); in CUDA_TEST_P()
229 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
233 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
238 cv::cuda::add(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
247 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
249 cv::cuda::add(loadMat(mat, useRoi), val, dst, loadMat(mask, useRoi), depth.second); in CUDA_TEST_P()
251 cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); in CUDA_TEST_P()
252 cv::add(mat, val, dst_gold, mask, depth.second); in CUDA_TEST_P()
254 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); in CUDA_TEST_P()
271 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
278 depth = GET_PARAM(2); in PARAM_TEST_CASE()
287 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
290 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
295 cv::cuda::add(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
304 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
306 cv::cuda::add(val, loadMat(mat, useRoi), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
308 cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); in CUDA_TEST_P()
309 cv::add(val, mat, dst_gold, cv::noArray(), depth.second); in CUDA_TEST_P()
311 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
317 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
321 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
326 cv::cuda::add(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
335 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
337 cv::cuda::add(val, loadMat(mat, useRoi), dst, loadMat(mask, useRoi), depth.second); in CUDA_TEST_P()
339 cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); in CUDA_TEST_P()
340 cv::add(val, mat, dst_gold, mask, depth.second); in CUDA_TEST_P()
342 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
359 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
370 depth = GET_PARAM(2); in PARAM_TEST_CASE()
376 stype = CV_MAKE_TYPE(depth.first, channels); in PARAM_TEST_CASE()
377 dtype = CV_MAKE_TYPE(depth.second, channels); in PARAM_TEST_CASE()
386 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
391 cv::cuda::subtract(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
402 …uda::subtract(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
405 cv::subtract(mat1, mat2, dst_gold, cv::noArray(), depth.second); in CUDA_TEST_P()
407 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
422 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
432 depth = GET_PARAM(2); in PARAM_TEST_CASE()
437 stype = CV_MAKE_TYPE(depth.first, 1); in PARAM_TEST_CASE()
438 dtype = CV_MAKE_TYPE(depth.second, 1); in PARAM_TEST_CASE()
448 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
453 cv::cuda::subtract(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
464 …::subtract(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, loadMat(mask, useRoi), depth.second); in CUDA_TEST_P()
467 cv::subtract(mat1, mat2, dst_gold, mask, depth.second); in CUDA_TEST_P()
469 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
486 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
493 depth = GET_PARAM(2); in PARAM_TEST_CASE()
502 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
505 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
510 cv::cuda::subtract(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
519 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
521 cv::cuda::subtract(loadMat(mat, useRoi), val, dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
523 cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); in CUDA_TEST_P()
524 cv::subtract(mat, val, dst_gold, cv::noArray(), depth.second); in CUDA_TEST_P()
526 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); in CUDA_TEST_P()
532 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
536 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
541 cv::cuda::subtract(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
550 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
552 cv::cuda::subtract(loadMat(mat, useRoi), val, dst, loadMat(mask, useRoi), depth.second); in CUDA_TEST_P()
554 cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); in CUDA_TEST_P()
555 cv::subtract(mat, val, dst_gold, mask, depth.second); in CUDA_TEST_P()
557 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); in CUDA_TEST_P()
574 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
581 depth = GET_PARAM(2); in PARAM_TEST_CASE()
590 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
593 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
598 cv::cuda::subtract(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
607 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
609 cv::cuda::subtract(val, loadMat(mat, useRoi), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
611 cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); in CUDA_TEST_P()
612 cv::subtract(val, mat, dst_gold, cv::noArray(), depth.second); in CUDA_TEST_P()
614 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
620 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
624 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
629 cv::cuda::subtract(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
638 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
640 cv::cuda::subtract(val, loadMat(mat, useRoi), dst, loadMat(mask, useRoi), depth.second); in CUDA_TEST_P()
642 cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); in CUDA_TEST_P()
643 cv::subtract(val, mat, dst_gold, mask, depth.second); in CUDA_TEST_P()
645 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
662 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
673 depth = GET_PARAM(2); in PARAM_TEST_CASE()
679 stype = CV_MAKE_TYPE(depth.first, channels); in PARAM_TEST_CASE()
680 dtype = CV_MAKE_TYPE(depth.second, channels); in PARAM_TEST_CASE()
689 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
694 cv::cuda::multiply(loadMat(mat1), loadMat(mat2), dst, 1, depth.second); in CUDA_TEST_P()
704 cv::cuda::multiply(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, 1, depth.second); in CUDA_TEST_P()
707 cv::multiply(mat1, mat2, dst_gold, 1, depth.second); in CUDA_TEST_P()
709 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-2 : 0.0); in CUDA_TEST_P()
719 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
724 cv::cuda::multiply(loadMat(mat1), loadMat(mat2), dst, scale, depth.second); in CUDA_TEST_P()
734 cv::cuda::multiply(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, scale, depth.second); in CUDA_TEST_P()
737 cv::multiply(mat1, mat2, dst_gold, scale, depth.second); in CUDA_TEST_P()
855 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
862 depth = GET_PARAM(2); in PARAM_TEST_CASE()
871 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
874 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
879 cv::cuda::multiply(loadMat(mat), val, dst, 1, depth.second); in CUDA_TEST_P()
888 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
889 cv::cuda::multiply(loadMat(mat, useRoi), val, dst, 1, depth.second); in CUDA_TEST_P()
892 cv::multiply(mat, val, dst_gold, 1, depth.second); in CUDA_TEST_P()
901 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
905 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
910 cv::cuda::multiply(loadMat(mat), val, dst, scale, depth.second); in CUDA_TEST_P()
919 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
920 cv::cuda::multiply(loadMat(mat, useRoi), val, dst, scale, depth.second); in CUDA_TEST_P()
923 cv::multiply(mat, val, dst_gold, scale, depth.second); in CUDA_TEST_P()
942 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
949 depth = GET_PARAM(2); in PARAM_TEST_CASE()
958 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
961 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
966 cv::cuda::multiply(val, loadMat(mat), dst, 1, depth.second); in CUDA_TEST_P()
975 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
976 cv::cuda::multiply(val, loadMat(mat, useRoi), dst, 1, depth.second); in CUDA_TEST_P()
979 cv::multiply(val, mat, dst_gold, 1, depth.second); in CUDA_TEST_P()
988 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
992 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
997 cv::cuda::multiply(val, loadMat(mat), dst, scale, depth.second); in CUDA_TEST_P()
1006 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
1007 cv::cuda::multiply(val, loadMat(mat, useRoi), dst, scale, depth.second); in CUDA_TEST_P()
1010 cv::multiply(val, mat, dst_gold, scale, depth.second); in CUDA_TEST_P()
1029 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
1040 depth = GET_PARAM(2); in PARAM_TEST_CASE()
1046 stype = CV_MAKE_TYPE(depth.first, channels); in PARAM_TEST_CASE()
1047 dtype = CV_MAKE_TYPE(depth.second, channels); in PARAM_TEST_CASE()
1056 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
1061 cv::cuda::divide(loadMat(mat1), loadMat(mat2), dst, 1, depth.second); in CUDA_TEST_P()
1071 cv::cuda::divide(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, 1, depth.second); in CUDA_TEST_P()
1074 cv::divide(mat1, mat2, dst_gold, 1, depth.second); in CUDA_TEST_P()
1076 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); in CUDA_TEST_P()
1086 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
1091 cv::cuda::divide(loadMat(mat1), loadMat(mat2), dst, scale, depth.second); in CUDA_TEST_P()
1101 cv::cuda::divide(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, scale, depth.second); in CUDA_TEST_P()
1104 cv::divide(mat1, mat2, dst_gold, scale, depth.second); in CUDA_TEST_P()
1106 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-2 : 1.0); in CUDA_TEST_P()
1222 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
1229 depth = GET_PARAM(2); in PARAM_TEST_CASE()
1238 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
1241 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
1246 cv::cuda::divide(loadMat(mat), val, dst, 1, depth.second); in CUDA_TEST_P()
1255 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
1256 cv::cuda::divide(loadMat(mat, useRoi), val, dst, 1, depth.second); in CUDA_TEST_P()
1259 cv::divide(mat, val, dst_gold, 1, depth.second); in CUDA_TEST_P()
1261 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); in CUDA_TEST_P()
1267 cv::Mat mat = randomMat(size, depth.first); in CUDA_TEST_P()
1271 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
1276 cv::cuda::divide(loadMat(mat), val, dst, scale, depth.second); in CUDA_TEST_P()
1285 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
1286 cv::cuda::divide(loadMat(mat, useRoi), val, dst, scale, depth.second); in CUDA_TEST_P()
1289 cv::divide(mat, val, dst_gold, scale, depth.second); in CUDA_TEST_P()
1291 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-2 : 1.0); in CUDA_TEST_P()
1308 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
1315 depth = GET_PARAM(2); in PARAM_TEST_CASE()
1325 cv::Mat mat = randomMat(size, depth.first, 1.0, 255.0); in CUDA_TEST_P()
1327 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
1332 cv::cuda::divide(scale, loadMat(mat), dst, 1.0, depth.second); in CUDA_TEST_P()
1341 cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); in CUDA_TEST_P()
1342 cv::cuda::divide(scale, loadMat(mat, useRoi), dst, 1.0, depth.second); in CUDA_TEST_P()
1345 cv::divide(scale, mat, dst_gold, depth.second); in CUDA_TEST_P()
1347 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); in CUDA_TEST_P()
1364 int depth; in PARAM_TEST_CASE() local
1371 depth = GET_PARAM(2); in PARAM_TEST_CASE()
1380 cv::Mat src1 = randomMat(size, depth); in CUDA_TEST_P()
1381 cv::Mat src2 = randomMat(size, depth); in CUDA_TEST_P()
1383 if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P()
1397 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
1409 cv::Mat src = randomMat(size, depth); in CUDA_TEST_P()
1412 if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P()
1426 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
1432 EXPECT_MAT_NEAR(dst_gold, dst, depth <= CV_32F ? 1.0 : 1e-5); in CUDA_TEST_P()
1438 cv::Mat src = randomMat(size, depth); in CUDA_TEST_P()
1441 if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P()
1455 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
1461 EXPECT_MAT_NEAR(dst_gold, dst, depth <= CV_32F ? 1.0 : 1e-5); in CUDA_TEST_P()
1478 int depth; in PARAM_TEST_CASE() local
1485 depth = GET_PARAM(2); in PARAM_TEST_CASE()
1494 cv::Mat src = randomMat(size, depth); in CUDA_TEST_P()
1496 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
1517 int depth; in PARAM_TEST_CASE() local
1524 depth = GET_PARAM(2); in PARAM_TEST_CASE()
1533 cv::Mat src = randomMat(size, depth, 0, depth == CV_8U ? 16 : 255); in CUDA_TEST_P()
1535 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
1579 funcs[src.depth()](src, dst); in sqrtGold()
1587 int depth; in PARAM_TEST_CASE() local
1594 depth = GET_PARAM(2); in PARAM_TEST_CASE()
1603 cv::Mat src = randomMat(size, depth); in CUDA_TEST_P()
1605 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
1611 EXPECT_MAT_NEAR(dst_gold, dst, depth < CV_32F ? 1.0 : 1e-5); in CUDA_TEST_P()
1649 funcs[src.depth()](src, dst); in logGold()
1657 int depth; in PARAM_TEST_CASE() local
1664 depth = GET_PARAM(2); in PARAM_TEST_CASE()
1673 cv::Mat src = randomMat(size, depth, 1.0, 255.0); in CUDA_TEST_P()
1675 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
1681 EXPECT_MAT_NEAR(dst_gold, dst, depth < CV_32F ? 1.0 : 1e-6); in CUDA_TEST_P()
1729 funcs[src.depth()](src, dst); in expGold()
1737 int depth; in PARAM_TEST_CASE() local
1744 depth = GET_PARAM(2); in PARAM_TEST_CASE()
1753 cv::Mat src = randomMat(size, depth, 0.0, 10.0); in CUDA_TEST_P()
1755 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
1761 EXPECT_MAT_NEAR(dst_gold, dst, depth < CV_32F ? 1.0 : 1e-2); in CUDA_TEST_P()
1780 int depth; in PARAM_TEST_CASE() local
1787 depth = GET_PARAM(2); in PARAM_TEST_CASE()
1796 cv::Mat src = randomMat(size, depth, 0.0, 10.0); in CUDA_TEST_P()
1799 if (src.depth() < CV_32F) in CUDA_TEST_P()
1802 if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P()
1816 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
1822 EXPECT_MAT_NEAR(dst_gold, dst, depth < CV_32F ? 0.0 : 1e-1); in CUDA_TEST_P()
1842 int depth; in CV_ENUM() local
1850 depth = GET_PARAM(2); in CV_ENUM()
1860 cv::Mat src1 = randomMat(size, depth); in CUDA_TEST_P()
1861 cv::Mat src2 = randomMat(size, depth); in CUDA_TEST_P()
1863 if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P()
1936 funcs[src.depth()][cmpop](src, sc, dst); in compareScalarGold()
1965 if (src.depth() < CV_32F) in CUDA_TEST_P()
1973 if (src.depth() == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P()
2082 int depth; in PARAM_TEST_CASE() local
2092 depth = GET_PARAM(2); in PARAM_TEST_CASE()
2097 src = randomMat(size, CV_MAKE_TYPE(depth, channels)); in PARAM_TEST_CASE()
2172 funcs[src.depth()](src, val, dst); in rhiftGold()
2180 int depth; in PARAM_TEST_CASE() local
2188 depth = GET_PARAM(2); in PARAM_TEST_CASE()
2198 int type = CV_MAKE_TYPE(depth, channels); in CUDA_TEST_P()
2252 funcs[src.depth()](src, val, dst); in lhiftGold()
2260 int depth; in PARAM_TEST_CASE() local
2268 depth = GET_PARAM(2); in PARAM_TEST_CASE()
2278 int type = CV_MAKE_TYPE(depth, channels); in CUDA_TEST_P()
2305 int depth; in PARAM_TEST_CASE() local
2312 depth = GET_PARAM(2); in PARAM_TEST_CASE()
2321 cv::Mat src1 = randomMat(size, depth); in CUDA_TEST_P()
2322 cv::Mat src2 = randomMat(size, depth); in CUDA_TEST_P()
2324 if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P()
2338 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
2349 cv::Mat src = randomMat(size, depth); in CUDA_TEST_P()
2352 if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P()
2366 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
2371 EXPECT_MAT_NEAR(dst_gold, dst, depth < CV_32F ? 1.0 : 1e-5); in CUDA_TEST_P()
2388 int depth; in PARAM_TEST_CASE() local
2395 depth = GET_PARAM(2); in PARAM_TEST_CASE()
2404 cv::Mat src1 = randomMat(size, depth); in CUDA_TEST_P()
2405 cv::Mat src2 = randomMat(size, depth); in CUDA_TEST_P()
2407 if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P()
2421 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
2432 cv::Mat src = randomMat(size, depth); in CUDA_TEST_P()
2435 if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P()
2449 cv::cuda::GpuMat dst = createMat(size, depth, useRoi); in CUDA_TEST_P()
2454 EXPECT_MAT_NEAR(dst_gold, dst, depth < CV_32F ? 1.0 : 1e-5); in CUDA_TEST_P()