Home
last modified time | relevance | path

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

/external/opencv3/modules/cudalegacy/test/
DTestHaarCascadeApplication.cpp192 NCVMatrixAlloc<Ncv32u> h_pixelMask(*this->allocatorCPU.get(), this->width, this->height); in process() local
193 ncvAssertReturn(h_pixelMask.isMemAllocated(), false); in process()
251 for (Ncv32u j=0; j<h_pixelMask.stride(); j++) in process()
255 h_pixelMask.ptr()[i*h_pixelMask.stride()+j] = (i << 16) | j; in process()
259 h_pixelMask.ptr()[i*h_pixelMask.stride()+j] = OBJDET_MASK_ELEMENT_INVALID_32U; in process()
271 h_integralImage, h_rectStdDev, h_pixelMask, in process()
314 if (h_pixelMask.ptr()[i] != h_pixelMask_d.ptr()[i]) in process()
/external/opencv3/modules/cudalegacy/src/cuda/
DNCVHaarObjectDetection.cu1022 …NCVMatrixAlloc<Ncv32u> h_pixelMask(cpuAllocator, d_pixelMask.width, d_pixelMask.height, d_pixelMas… in ncvApplyHaarClassifierCascade_device() local
1023 ncvAssertReturn(h_pixelMask.isMemAllocated(), NCV_ALLOCATOR_BAD_ALLOC); in ncvApplyHaarClassifierCascade_device()
1034 ncvStat = d_pixelMask.copySolid(h_pixelMask, 0); in ncvApplyHaarClassifierCascade_device()
1052 …if (!bMaskElements || h_pixelMask.ptr[i*d_pixelMask.stride()+j] != OBJDET_MASK_ELEMENT_INVALID_32U) in ncvApplyHaarClassifierCascade_device()
1054 h_pixelMask.ptr[i*d_pixelMask.stride()+j] = (i << 16) | j; in ncvApplyHaarClassifierCascade_device()
1059 h_pixelMask.ptr[i*d_pixelMask.stride()+j] = OBJDET_MASK_ELEMENT_INVALID_32U; in ncvApplyHaarClassifierCascade_device()
1414 …ncvStat = ncvApplyHaarClassifierCascade_host(h_integralImage, h_weights, h_pixelMask, numDetGold, … in ncvApplyHaarClassifierCascade_device()
1431 if (h_pixelMask.ptr[i] != h_pixelMask_d.ptr[i]) in ncvApplyHaarClassifierCascade_device()
1433 …plyHaarClassifierCascade self test failed: i=%d, cpu=%d, gpu=%d\n", i, h_pixelMask.ptr[i], h_pixel… in ncvApplyHaarClassifierCascade_device()
1906 NCVMatrixAlloc<Ncv32u> &h_pixelMask, in ncvApplyHaarClassifierCascade_host() argument
[all …]
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
DNCVHaarObjectDetection.hpp408 NCVMatrixAlloc<Ncv32u> &h_pixelMask,