Searched refs:h_dst (Results 1 - 11 of 11) sorted by relevance

/external/opencv3/modules/cudalegacy/test/
H A DTestTranspose.cpp89 NCVMatrixAlloc<T> h_dst(*this->allocatorCPU.get(), this->height, this->width);
90 ncvAssertReturn(h_dst.isMemAllocated(), false);
127 (Ncv32u *)h_dst.ptr(), h_dst.pitch(),
133 (Ncv64u *)h_dst.ptr(), h_dst.pitch(),
152 if (h_dst.ptr()[h_dst.stride()*i+j] != h_dst_d.ptr()[h_dst_d.stride()*i+j])
H A Dtest_calib3d.cpp78 cv::Mat h_dst(dst);
83 for (int i = 0; i < h_dst.cols; ++i)
85 cv::Point3f res = h_dst.at<cv::Point3f>(0, i);
136 cv::Mat h_dst(dst);
140 cv::Point2f res = h_dst.at<cv::Point2f>(0, (int)i);
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
H A DNPP_staging.hpp415 * \param h_dst [OUT] Destination image pointer (Host or pinned memory)
424 Ncv32u *h_dst, Ncv32u dstStep,
434 Ncv32s *h_dst, Ncv32u dstStep,
444 Ncv32f *h_dst, Ncv32u dstStep,
454 Ncv64u *h_dst, Ncv32u dstStep,
464 Ncv64s *h_dst, Ncv32u dstStep,
474 Ncv64f *h_dst, Ncv32u dstStep,
600 * \param h_dst [OUT] Destination image pointer (Host or pinned memory)
608 Ncv32u *h_dst, Ncv32u dstStride, NcvSize32u srcRoi);
617 Ncv32s *h_dst, Ncv32
[all...]
H A DNCV.hpp997 CV_EXPORTS NCVStatus ncvDrawRects_8u_host(Ncv8u *h_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight,
1001 CV_EXPORTS NCVStatus ncvDrawRects_32u_host(Ncv32u *h_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight,
/external/opencv3/modules/cudaarithm/test/
H A Dtest_stream.cpp136 cv::Mat h_dst; local
137 h_dst.allocator = cv::cuda::HostMem::getAllocator();
141 d_dst.download(h_dst, stream);
148 ASSERT_MAT_NEAR(dst_gold, h_dst, 0);
H A Dtest_element_operations.cpp777 cv::Mat h_dst(dst);
779 for (int y = 0; y < h_dst.rows; ++y)
783 const cv::Vec4b* dst_row = h_dst.ptr<cv::Vec4b>(y);
785 for (int x = 0; x < h_dst.cols; ++x)
814 cv::Mat h_dst(dst);
816 for (int y = 0; y < h_dst.rows; ++y)
820 const cv::Vec4s* dst_row = h_dst.ptr<cv::Vec4s>(y);
822 for (int x = 0; x < h_dst.cols; ++x)
1144 cv::Mat h_dst(dst);
1146 for (int y = 0; y < h_dst
[all...]
/external/opencv3/samples/gpu/
H A Dmorphology.cpp144 Mat h_dst(dst);
145 imshow("Open/Close", h_dst);
166 Mat h_dst(dst);
167 imshow("Erode/Dilate", h_dst);
/external/opencv3/modules/cudaimgproc/test/
H A Dtest_match_template.cpp93 cv::Mat h_dst(dst);
94 ASSERT_EQ(dst_gold.size(), h_dst.size());
95 ASSERT_EQ(dst_gold.type(), h_dst.type());
96 for (int y = 0; y < h_dst.rows; ++y)
98 for (int x = 0; x < h_dst.cols; ++x)
152 cv::Mat h_dst(dst);
153 ASSERT_EQ(dst_gold.size(), h_dst.size());
154 ASSERT_EQ(dst_gold.type(), h_dst.type());
155 for (int y = 0; y < h_dst.rows; ++y)
157 for (int x = 0; x < h_dst
[all...]
H A Dtest_color.cpp611 cv::Mat h_dst(dst);
614 cv::split(h_dst, channels);
615 cv::merge(channels, 3, h_dst);
617 EXPECT_MAT_NEAR(dst_gold, h_dst, 1e-5);
633 cv::Mat h_dst(dst);
636 cv::split(h_dst, channels);
637 cv::merge(channels, 3, h_dst);
639 EXPECT_MAT_NEAR(dst_gold, h_dst, 1e-5);
746 cv::Mat h_dst(dst);
749 cv::split(h_dst, channel
[all...]
/external/opencv3/modules/cudalegacy/src/cuda/
H A DNPP_staging.cu587 Ncv32u *h_dst, Ncv32u dstStep,
590 ncvAssertReturn(h_src != NULL && h_dst != NULL, NPPST_NULL_POINTER_ERROR);
600 memset(h_dst, 0, WidthII * sizeof(Ncv32u));
603 h_dst[i * dstStep] = 0;
606 Ncv32u top = h_dst[(i-1) * dstStep + j];
607 Ncv32u left = h_dst[i * dstStep + (j - 1)];
608 Ncv32u topleft = h_dst[(i - 1) * dstStep + (j - 1)];
610 h_dst[i * dstStep + j] = elem + left - topleft + top;
619 Ncv32f *h_dst, Ncv32u dstStep,
622 ncvAssertReturn(h_src != NULL && h_dst !
[all...]
/external/opencv3/modules/cudalegacy/src/
H A DNCV.cpp815 static NCVStatus drawRectsWrapperHost(T *h_dst, argument
823 ncvAssertReturn(h_dst != NULL && h_rects != NULL, NCV_NULL_PTR);
837 h_dst[each*dstStride+rect.x] = color;
844 h_dst[each*dstStride+rect.x+rect.width-1] = color;
851 h_dst[rect.y*dstStride+j] = color;
858 h_dst[(rect.y+rect.height-1)*dstStride+j] = color;
867 NCVStatus ncvDrawRects_8u_host(Ncv8u *h_dst, argument
875 return drawRectsWrapperHost(h_dst, dstStride, dstWidth, dstHeight, h_rects, numRects, color);
879 NCVStatus ncvDrawRects_32u_host(Ncv32u *h_dst, argument
887 return drawRectsWrapperHost(h_dst, dstStrid
[all...]

Completed in 236 milliseconds