Home
last modified time | relevance | path

Searched refs:h_rects (Results 1 – 3 of 3) sorted by relevance

/external/opencv3/modules/cudalegacy/test/
DTestDrawRects.cpp96 NCVVectorAlloc<NcvRect32u> h_rects(*this->allocatorCPU.get(), this->numRects); in process() local
97 ncvAssertReturn(h_rects.isMemAllocated(), false); in process()
107 NCVVectorReuse<Ncv32u> h_rects_as32u(h_rects.getSegment()); in process()
112 h_rects.ptr()[i].x = (Ncv32u)(((1.0 * h_rects.ptr()[i].x) / RAND_MAX) * (this->width-2)); in process()
113 h_rects.ptr()[i].y = (Ncv32u)(((1.0 * h_rects.ptr()[i].y) / RAND_MAX) * (this->height-2)); in process()
114h_rects.ptr()[i].width = (Ncv32u)(((1.0 * h_rects.ptr()[i].width) / RAND_MAX) * (this->width+10 - in process()
115h_rects.ptr()[i].height = (Ncv32u)(((1.0 * h_rects.ptr()[i].height) / RAND_MAX) * (this->height+10… in process()
117 ncvStat = h_rects.copySolid(d_rects, 0); in process()
146 (NcvRect32u *)h_rects.ptr(), this->numRects, this->color); in process()
151 … (NcvRect32u *)h_rects.ptr(), this->numRects, (Ncv8u)this->color); in process()
/external/opencv3/modules/cudalegacy/src/
DNCV.cpp819 NcvRect32u *h_rects, in drawRectsWrapperHost() argument
823 ncvAssertReturn(h_dst != NULL && h_rects != NULL, NCV_NULL_PTR); in drawRectsWrapperHost()
831 NcvRect32u rect = h_rects[i]; in drawRectsWrapperHost()
871 NcvRect32u *h_rects, in ncvDrawRects_8u_host() argument
875 return drawRectsWrapperHost(h_dst, dstStride, dstWidth, dstHeight, h_rects, numRects, color); in ncvDrawRects_8u_host()
883 NcvRect32u *h_rects, in ncvDrawRects_32u_host() argument
887 return drawRectsWrapperHost(h_dst, dstStride, dstWidth, dstHeight, h_rects, numRects, color); in ncvDrawRects_32u_host()
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
DNCV.hpp998 NcvRect32u *h_rects, Ncv32u numRects, Ncv8u color);
1002 NcvRect32u *h_rects, Ncv32u numRects, Ncv32u color);