Searched defs:reduceOp (Results 1 - 3 of 3) sorted by relevance

/external/opencv3/modules/core/perf/
H A Dperf_reduce.cpp25 int reduceOp = get<2>(GetParam()); local
28 if( CV_MAT_DEPTH(matType) < CV_32S && (reduceOp == CV_REDUCE_SUM || reduceOp == CV_REDUCE_AVG) )
38 TEST_CYCLE_MULTIRUN(runs) reduce(src, vec, 0, reduceOp, ddepth);
53 int reduceOp = get<2>(GetParam()); local
56 if( CV_MAT_DEPTH(matType)< CV_32S && (reduceOp == CV_REDUCE_SUM || reduceOp == CV_REDUCE_AVG) )
65 TEST_CYCLE() reduce(src, vec, 1, reduceOp, ddepth);
/external/opencv3/modules/cudaarithm/perf/
H A Dperf_reductions.cpp356 const int reduceOp = GET_PARAM(3); local
369 TEST_CYCLE() cv::cuda::reduce(d_src, dst, dim, reduceOp, CV_32F);
377 TEST_CYCLE() cv::reduce(src, dst, dim, reduceOp, CV_32F);
/external/opencv3/modules/cudaarithm/test/
H A Dtest_reductions.cpp831 int reduceOp; local
844 reduceOp = GET_PARAM(4);
851 if (reduceOp == cv::REDUCE_MAX || reduceOp == cv::REDUCE_MIN)
853 else if (reduceOp == cv::REDUCE_SUM)
868 cv::cuda::reduce(loadMat(src, useRoi), dst, 0, reduceOp, dst_depth);
871 cv::reduce(src, dst_gold, 0, reduceOp, dst_depth);
881 cv::cuda::reduce(loadMat(src, useRoi), dst, 1, reduceOp, dst_depth);
884 cv::reduce(src, dst_gold, 1, reduceOp, dst_depth);

Completed in 154 milliseconds