Home
last modified time | relevance | path

Searched refs:NcvRect32u (Results 1 – 17 of 17) sorted by relevance

/external/opencv3/modules/cudalegacy/test/
DTestHypothesesGrow.cpp92 NCVVectorAlloc<NcvRect32u> h_vecDst(*this->allocatorCPU.get(), this->maxLenDst); in process()
94 NCVVectorAlloc<NcvRect32u> d_vecDst(*this->allocatorGPU.get(), this->maxLenDst); in process()
96 NCVVectorAlloc<NcvRect32u> h_vecDst_d(*this->allocatorCPU.get(), this->maxLenDst); in process()
103 memset(h_vecDst.ptr(), 0, h_vecDst.length() * sizeof(NcvRect32u)); in process()
104 …NCVVectorReuse<Ncv32u> h_vecDst_as32u(h_vecDst.getSegment(), lenDst * sizeof(NcvRect32u) / sizeof(… in process()
107 memcpy(h_vecDst_d.ptr(), h_vecDst.ptr(), h_vecDst.length() * sizeof(NcvRect32u)); in process()
145 if (memcmp(h_vecDst.ptr(), h_vecDst_d.ptr(), this->maxLenDst * sizeof(NcvRect32u))) in process()
DTestHypothesesFilter.cpp75 bool compareRects(const NcvRect32u &r1, const NcvRect32u &r2, Ncv32f eps) in compareRects()
85 inline bool operator < (const NcvRect32u &a, const NcvRect32u &b) in operator <()
96 …32u> h_random32u(*this->allocatorCPU.get(), this->numDstRects * sizeof(NcvRect32u) / sizeof(Ncv32u… in process()
101 NCVVectorAlloc<NcvRect32u> h_vecSrc(*this->allocatorCPU.get(), this->numDstRects*srcSlotSize); in process()
103 NCVVectorAlloc<NcvRect32u> h_vecDst_groundTruth(*this->allocatorCPU.get(), this->numDstRects); in process()
159 NcvRect32u tmp = h_vecSrc.ptr()[i + secondSwap]; in process()
181 std::vector<NcvRect32u> tmpRects(numHypothesesSrc); in process()
182 memcpy(&tmpRects[0], h_vecSrc.ptr(), numHypothesesSrc * sizeof(NcvRect32u)); in process()
DTestDrawRects.cpp94 NCVVectorAlloc<NcvRect32u> d_rects(*this->allocatorGPU.get(), this->numRects); in process()
96 NCVVectorAlloc<NcvRect32u> h_rects(*this->allocatorCPU.get(), this->numRects); in process()
124 … (NcvRect32u *)d_rects.ptr(), this->numRects, this->color, 0); in process()
129 … (NcvRect32u *)d_rects.ptr(), this->numRects, (Ncv8u)this->color, 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()
DTestRectStdDev.h55 Ncv32u width, Ncv32u height, NcvRect32u rect, Ncv32f scaleFactor,
70 NcvRect32u rect;
DTestHaarCascadeApplication.cpp195 NCVVectorAlloc<NcvRect32u> d_hypotheses(*this->allocatorGPU.get(), this->width * this->height); in process()
197 NCVVectorAlloc<NcvRect32u> h_hypotheses(*this->allocatorCPU.get(), this->width * this->height); in process()
231 const NcvRect32u rect( in process()
DTestRectStdDev.cpp47 Ncv32u width_, Ncv32u height_, NcvRect32u rect_, Ncv32f scaleFactor_, in TestRectStdDev()
Dmain_nvidia.cpp100 NcvRect32u rect(1,1,18,18); in generateRectStdDevTests()
/external/opencv3/modules/cudalegacy/src/cuda/
DNCV.cu64 NcvRect32u *d_rects, in drawRects()
74 NcvRect32u curRect = d_rects[blockId >> 2]; in drawRects()
125 NcvRect32u *d_rects, in drawRectsWrapperDevice()
161 NcvRect32u *d_rects, in ncvDrawRects_8u_device()
174 NcvRect32u *d_rects, in ncvDrawRects_32u_device()
DNCVHaarObjectDetection.cu1458 __device__ __host__ NcvRect32u pixelToRect(Ncv32u pixel, Ncv32u width, Ncv32u height, Ncv32f scale) in pixelToRect()
1460 NcvRect32u res; in pixelToRect()
1470 NcvRect32u *hypotheses, in growDetectionsKernel()
1485 NCVVector<NcvRect32u> &hypotheses, in ncvGrowDetectionsVector_device()
1546 NCVVector<NcvRect32u> &d_dstRects, in ncvDetectObjectsMultiScale_device()
1623 …NCVVectorAlloc<NcvRect32u> d_hypothesesIntermediate(gpuAllocator, d_srcImg.width() * d_srcImg.heig… in ncvDetectObjectsMultiScale_device()
1625 …NCVVectorAlloc<NcvRect32u> h_hypothesesIntermediate(cpuAllocator, d_srcImg.width() * d_srcImg.heig… in ncvDetectObjectsMultiScale_device()
1738 const NcvRect32u rect( in ncvDetectObjectsMultiScale_device()
1788 dstNumRects * sizeof(NcvRect32u)); in ncvDetectObjectsMultiScale_device()
1804 NcvRect32u maxRect = h_hypothesesIntermediate.ptr()[0]; in ncvDetectObjectsMultiScale_device()
[all …]
DNPP_staging.cu921 NcvSize32u roi, NcvRect32u rect, Ncv32f invRectArea) in rectStdDev_32f_C1R()
984 NcvSize32u roi, NcvRect32u rect, in nppiStRectStdDev_32f_C1R()
1041 NcvSize32u roi, NcvRect32u rect, in nppiStRectStdDev_32f_C1R_host()
1692 NcvRect32u roi, in FilterRowBorderMirror_32f_C1R()
1727 NcvRect32u roi, in FilterColumnBorderMirror_32f_C1R()
1761 NcvRect32u oROI, in nppiStFilterRowBorder_32f_C1R()
1833 NcvRect32u oROI, in nppiStFilterColumnBorder_32f_C1R()
2395 NcvRect32u srcROI, in resizeSuperSample_32f()
2399 NcvRect32u dstROI, in resizeSuperSample_32f()
2482 NcvRect32u srcROI, in resizeBicubic()
[all …]
DNCVBroxOpticalFlow.cu877 NcvRect32u srcROI (0, 0, prev_level_width, prev_level_height); in NCVBroxOpticalFlow()
878 NcvRect32u dstROI (0, 0, level_width, level_height); in NCVBroxOpticalFlow()
964 NcvRect32u oROI(0, 0, kLevelWidth, kLevelHeight); in NCVBroxOpticalFlow()
1128 NcvRect32u srcROI (0, 0, kLevelWidth, kLevelHeight); in NCVBroxOpticalFlow()
1129 NcvRect32u dstROI (0, 0, nw, nh); in NCVBroxOpticalFlow()
/external/opencv3/modules/cudalegacy/src/
DNCV.cpp726 …cv::Rect operator()(const NcvRect32u& nr) const { return cv::Rect(nr.x, nr.y, nr.width, nr.height)… in operator ()()
727 NcvRect32u operator()(const cv::Rect& nr) const in operator ()()
729 NcvRect32u rect; in operator ()()
738 static void groupRectangles(std::vector<NcvRect32u> &hypotheses, int groupThreshold, double eps, st… in groupRectangles()
767 NCVStatus ncvGroupRectangles_host(NCVVector<NcvRect32u> &hypotheses, in ncvGroupRectangles_host()
786 std::vector<NcvRect32u> rects(numHypotheses); in ncvGroupRectangles_host()
787 memcpy(&rects[0], hypotheses.ptr(), numHypotheses * sizeof(NcvRect32u)); in ncvGroupRectangles_host()
802 memcpy(hypotheses.ptr(), &rects[0], numHypotheses * sizeof(NcvRect32u)); in ncvGroupRectangles_host()
819 NcvRect32u *h_rects, in drawRectsWrapperHost()
831 NcvRect32u rect = h_rects[i]; in drawRectsWrapperHost()
[all …]
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
DNCV.hpp160 struct NcvRect32u struct
166 __host__ __device__ NcvRect32u() : x(0), y(0), width(0), height(0) {}; in NcvRect32u() argument
167 __host__ __device__ NcvRect32u(Ncv32u x_, Ncv32u y_, Ncv32u width_, Ncv32u height_) in NcvRect32u() argument
223 NCV_CT_ASSERT(sizeof(NcvRect32u) == 4 * sizeof(Ncv32u));
961 NCVMatrixReuse(const NCVMatrix<T> &mat, NcvRect32u roi) in NCVMatrixReuse()
993 CV_EXPORTS NCVStatus ncvGroupRectangles_host(NCVVector<NcvRect32u> &hypotheses, Ncv32u &numHypothes…
998 NcvRect32u *h_rects, Ncv32u numRects, Ncv8u color);
1002 NcvRect32u *h_rects, Ncv32u numRects, Ncv32u color);
1006NcvRect32u *d_rects, Ncv32u numRects, Ncv8u color, cudaStream_t cuStream);
1010NcvRect32u *d_rects, Ncv32u numRects, Ncv32u color, cudaStream_t cuStream);
DNPP_staging.hpp183 NcvRect32u oROI,
217 NcvRect32u oROI,
325 NcvRect32u srcROI,
329 NcvRect32u dstROI,
498 NcvSize32u roi, NcvRect32u rect,
521 NcvSize32u roi, NcvRect32u rect,
DNCVHaarObjectDetection.hpp362 NCVVector<NcvRect32u> &d_dstRects,
425 NCVVector<NcvRect32u> &hypotheses,
436 NCVVector<NcvRect32u> &hypotheses,
/external/opencv3/modules/cudaobjdetect/src/
Dcascadeclassifier.cpp294 NCVVectorAlloc<NcvRect32u> d_rects(gpuCounter, 100); in calculateMemReqsAndAllocate()
335 objects_beg.ptr = (void*)objects.ptr<NcvRect32u>(); in process()
341 NCVVectorReuse<NcvRect32u> d_rects(objects_seg, objects.cols); in process()
/external/opencv3/samples/gpu/
Dcascadeclassifier_nvidia_api.cpp106 NCVVectorAlloc<NcvRect32u> d_rects(gpuAllocator, 100); in process()