/external/opencv3/modules/cudalegacy/test/ |
TestCompact.cpp | 78 ncvAssertReturn(h_vecSrc.isMemAllocated(), false); 80 ncvAssertReturn(d_vecSrc.isMemAllocated(), false); 83 ncvAssertReturn(h_vecDst.isMemAllocated(), false); 85 ncvAssertReturn(d_vecDst.isMemAllocated(), false); 87 ncvAssertReturn(h_vecDst_d.isMemAllocated(), false); 91 ncvAssertReturn(this->src.fill(h_vecSrc), false); 104 ncvAssertReturn(h_dstLen.isMemAllocated(), false); 107 ncvAssertReturn(NPPST_SUCCESS == ncvStat, false); 109 ncvAssertReturn(d_tmpBuf.isMemAllocated(), false); 115 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false) [all...] |
TestIntegralImageSquared.cpp | 80 ncvAssertReturn(d_img.isMemAllocated(), false); 82 ncvAssertReturn(h_img.isMemAllocated(), false); 84 ncvAssertReturn(d_imgSII.isMemAllocated(), false); 86 ncvAssertReturn(h_imgSII.isMemAllocated(), false); 88 ncvAssertReturn(h_imgSII_d.isMemAllocated(), false); 92 ncvAssertReturn(NPPST_SUCCESS == ncvStat, false); 94 ncvAssertReturn(d_tmpBuf.isMemAllocated(), false); 99 ncvAssertReturn(this->src.fill(h_img), false); 102 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 108 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false) [all...] |
TestHaarCascadeApplication.cpp | 119 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 122 ncvAssertReturn(h_HaarStages.isMemAllocated(), false); 124 ncvAssertReturn(h_HaarNodes.isMemAllocated(), false); 126 ncvAssertReturn(h_HaarFeatures.isMemAllocated(), false); 129 ncvAssertReturn(d_HaarStages.isMemAllocated(), false); 131 ncvAssertReturn(d_HaarNodes.isMemAllocated(), false); 133 ncvAssertReturn(d_HaarFeatures.isMemAllocated(), false); 147 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 149 ncvAssertReturn(NCV_SUCCESS == h_HaarStages.copySolid(d_HaarStages, 0), false); 150 ncvAssertReturn(NCV_SUCCESS == h_HaarNodes.copySolid(d_HaarNodes, 0), false) [all...] |
TestRectStdDev.cpp | 99 ncvAssertReturn(d_img.isMemAllocated(), false); 101 ncvAssertReturn(h_img.isMemAllocated(), false); 104 ncvAssertReturn(d_imgII.isMemAllocated(), false); 106 ncvAssertReturn(h_imgII.isMemAllocated(), false); 109 ncvAssertReturn(d_imgSII.isMemAllocated(), false); 111 ncvAssertReturn(h_imgSII.isMemAllocated(), false); 114 ncvAssertReturn(d_norm.isMemAllocated(), false); 116 ncvAssertReturn(h_norm.isMemAllocated(), false); 118 ncvAssertReturn(h_norm_d.isMemAllocated(), false); 122 ncvAssertReturn(NPPST_SUCCESS == ncvStat, false) [all...] |
TestHypothesesGrow.cpp | 88 ncvAssertReturn(h_vecSrc.isMemAllocated(), false); 90 ncvAssertReturn(d_vecSrc.isMemAllocated(), false); 93 ncvAssertReturn(h_vecDst.isMemAllocated(), false); 95 ncvAssertReturn(d_vecDst.isMemAllocated(), false); 97 ncvAssertReturn(h_vecDst_d.isMemAllocated(), false); 102 ncvAssertReturn(this->src.fill(h_vecSrc), false); 105 ncvAssertReturn(h_vecDst_as32u.isMemReused(), false); 106 ncvAssertReturn(this->src.fill(h_vecDst_as32u), false); 111 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 113 ncvAssertReturn(ncvStat == NCV_SUCCESS, false) [all...] |
TestHaarCascadeLoader.cpp | 76 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 79 ncvAssertReturn(h_HaarStages.isMemAllocated(), false); 81 ncvAssertReturn(h_HaarNodes.isMemAllocated(), false); 83 ncvAssertReturn(h_HaarFeatures.isMemAllocated(), false); 86 ncvAssertReturn(h_HaarStages_2.isMemAllocated(), false); 88 ncvAssertReturn(h_HaarNodes_2.isMemAllocated(), false); 90 ncvAssertReturn(h_HaarFeatures_2.isMemAllocated(), false); 100 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 103 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 106 ncvAssertReturn(ncvStat == NCV_SUCCESS, false) [all...] |
TestResize.cpp | 94 ncvAssertReturn(d_img.isMemAllocated(), false); 96 ncvAssertReturn(h_img.isMemAllocated(), false); 99 ncvAssertReturn(d_small.isMemAllocated(), false); 101 ncvAssertReturn(h_small.isMemAllocated(), false); 103 ncvAssertReturn(h_small_d.isMemAllocated(), false); 107 ncvAssertReturn(this->src.fill(h_img), false); 111 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 131 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 134 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 153 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false) [all...] |
TestTranspose.cpp | 83 ncvAssertReturn(d_img.isMemAllocated(), false); 85 ncvAssertReturn(h_img.isMemAllocated(), false); 88 ncvAssertReturn(d_dst.isMemAllocated(), false); 90 ncvAssertReturn(h_dst.isMemAllocated(), false); 92 ncvAssertReturn(h_dst_d.isMemAllocated(), false); 96 ncvAssertReturn(this->src.fill(h_img), false); 100 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 118 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 121 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 140 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false) [all...] |
TestIntegralImage.cpp | 86 ncvAssertReturn(d_img.isMemAllocated(), false); 88 ncvAssertReturn(h_img.isMemAllocated(), false); 90 ncvAssertReturn(d_imgII.isMemAllocated(), false); 92 ncvAssertReturn(h_imgII.isMemAllocated(), false); 94 ncvAssertReturn(h_imgII_d.isMemAllocated(), false); 100 ncvAssertReturn(NPPST_SUCCESS == ncvStat, false); 105 ncvAssertReturn(NPPST_SUCCESS == ncvStat, false); 113 ncvAssertReturn(d_tmpBuf.isMemAllocated(), false); 118 ncvAssertReturn(this->src.fill(h_img), false); 121 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false) [all...] |
TestDrawRects.cpp | 88 ncvAssertReturn(d_img.isMemAllocated(), false); 90 ncvAssertReturn(h_img.isMemAllocated(), false); 92 ncvAssertReturn(h_img_d.isMemAllocated(), false); 95 ncvAssertReturn(d_rects.isMemAllocated(), false); 97 ncvAssertReturn(h_rects.isMemAllocated(), false); 101 ncvAssertReturn(this->src.fill(h_img), false); 103 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 108 ncvAssertReturn(h_rects_as32u.isMemReused(), false); 109 ncvAssertReturn(this->src32u.fill(h_rects_as32u), false); 118 ncvAssertReturn(ncvStat == NCV_SUCCESS, false) [all...] |
TestHypothesesFilter.cpp | 97 ncvAssertReturn(h_random32u.isMemAllocated(), false); 102 ncvAssertReturn(h_vecSrc.isMemAllocated(), false); 104 ncvAssertReturn(h_vecDst_groundTruth.isMemAllocated(), false); 109 ncvAssertReturn(this->src.fill(h_random32u), false); 168 ncvAssertReturn(ncvStat == NCV_SUCCESS, false);
|
NCVTestSourceProvider.hpp | 120 ncvAssertReturn(this->isInit() && 151 ncvAssertReturn(this->isInit() &&
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
NCVHaarObjectDetection.cu | [all...] |
NPP_staging.cu | 372 ncvAssertReturn(sizeof(T_out) == sizeof(Ncv32u), NPPST_MEM_INTERNAL_ERROR); 373 ncvAssertReturn(gpuAllocator.memType() == NCVMemoryTypeDevice || 375 ncvAssertReturn(gpuAllocator.isInitialized(), NPPST_MEM_INTERNAL_ERROR); 376 ncvAssertReturn((d_src != NULL && d_dst != NULL) || gpuAllocator.isCounting(), NPPST_NULL_POINTER_ERROR); 377 ncvAssertReturn(roi.width > 0 && roi.height > 0, NPPST_INVALID_ROI); 378 ncvAssertReturn(srcStep >= roi.width * sizeof(T_in) && 391 ncvAssertReturn(gpuAllocator.isCounting() || Tmp32_1.isMemAllocated(), NPPST_MEM_INTERNAL_ERROR); 393 ncvAssertReturn(gpuAllocator.isCounting() || Tmp32_2.isMemAllocated(), NPPST_MEM_INTERNAL_ERROR); 394 ncvAssertReturn(Tmp32_1.pitch() * Tmp32_1.height() == Tmp32_2.pitch() * Tmp32_2.height(), NPPST_MEM_INTERNAL_ERROR); 429 ncvAssertReturn(gpuAllocator.isInitialized(), NPPST_MEM_INTERNAL_ERROR) [all...] |
NCV.cu | 131 ncvAssertReturn(d_dst != NULL && d_rects != NULL, NCV_NULL_PTR); 132 ncvAssertReturn(dstWidth > 0 && dstHeight > 0, NCV_DIMENSIONS_INVALID); 133 ncvAssertReturn(dstStride >= dstWidth, NCV_INVALID_STEP); 134 ncvAssertReturn(numRects <= dstWidth * dstHeight, NCV_DIMENSIONS_INVALID);
|
NCVColorConversion.hpp | 81 ncvAssertReturn(h_imgIn.size() == h_imgOut.size(), NCV_DIMENSIONS_INVALID); 82 ncvAssertReturn(h_imgIn.memType() == h_imgOut.memType() &&
|
NCVBroxOpticalFlow.cu | 730 ncvAssertReturn(uOut.width() == kSourceWidth && vOut.width() == kSourceWidth && 733 ncvAssertReturn(gpu_mem_allocator.isInitialized(), NCV_ALLOCATOR_NOT_INITIALIZED); 759 ncvAssertReturn(name.isMemAllocated(), NCV_ALLOCATOR_BAD_ALLOC); [all...] |
NCVPyramid.cu | 484 ncvAssertReturn(this->isInitialized(), NCV_UNKNOWN_ERROR); 485 ncvAssertReturn(outImg.memType() == this->layer0->memType(), NCV_MEM_RESIDENCE_ERROR); 486 ncvAssertReturn(outRoi.width <= this->layer0->width() && outRoi.height <= this->layer0->height() && 538 ncvAssertReturn(bUse2Refs == false, NCV_NOT_IMPLEMENTED);
|
/external/opencv3/modules/cudalegacy/src/ |
NCV.cpp | 424 ncvAssertReturn(isInitialized(), NCV_ALLOCATOR_BAD_ALLOC); 433 ncvAssertReturn(size <= availSize, NCV_ALLOCATOR_INSUFFICIENT_CAPACITY); 447 ncvAssertReturn(isInitialized(), NCV_ALLOCATOR_BAD_ALLOC); 448 ncvAssertReturn(seg.begin.memtype == this->_memType, NCV_ALLOCATOR_BAD_DEALLOC); 449 ncvAssertReturn(seg.begin.ptr != NULL || isCounting(), NCV_ALLOCATOR_BAD_DEALLOC); 450 ncvAssertReturn(seg.begin.ptr == begin - seg.size, NCV_ALLOCATOR_DEALLOC_ORDER); 457 ncvAssertReturn(allocBegin <= begin, NCV_ALLOCATOR_BAD_DEALLOC); 519 ncvAssertReturn(isInitialized(), NCV_ALLOCATOR_BAD_ALLOC); 547 ncvAssertReturn(isInitialized(), NCV_ALLOCATOR_BAD_ALLOC); 548 ncvAssertReturn(seg.begin.memtype == this->_memType, NCV_ALLOCATOR_BAD_DEALLOC) [all...] |
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/ |
NCV.hpp | 275 #define ncvAssertReturn(pred, err) \ 590 ncvAssertReturn(dst._length == this->_length, NCV_MEM_COPY_ERROR); 595 ncvAssertReturn(dst._length * sizeof(T) >= howMuch && 599 ncvAssertReturn((this->_ptr != NULL || this->_memtype == NCVMemoryTypeNone) && 770 ncvAssertReturn(dst._pitch == this->_pitch && 776 ncvAssertReturn(dst._pitch * dst._height >= howMuch && 780 ncvAssertReturn((this->_ptr != NULL || this->_memtype == NCVMemoryTypeNone) && 796 ncvAssertReturn(this->width() >= roi.width && this->height() >= roi.height && 798 ncvAssertReturn((this->_ptr != NULL || this->_memtype == NCVMemoryTypeNone) && 1028 ncvAssertReturn(name.isMemAllocated(), err) [all...] |
NCVHaarObjectDetection.hpp | 86 ncvAssertReturn(rectWidth <= HaarFeature64_CreateCheck_MaxRectField && rectHeight <= HaarFeature64_CreateCheck_MaxRectField, NCV_HAAR_TOO_LARGE_FEATURES);
|
/external/opencv3/samples/gpu/ |
cascadeclassifier_nvidia_api.cpp | 96 ncvAssertReturn(!((srcdst == NULL) ^ gpuAllocator.isCounting()), NCV_NULL_PTR); 103 ncvAssertReturn(d_src.isMemAllocated(), NCV_ALLOCATOR_BAD_ALLOC); 105 ncvAssertReturn(h_src.isMemAllocated(), NCV_ALLOCATOR_BAD_ALLOC); 107 ncvAssertReturn(d_rects.isMemAllocated(), NCV_ALLOCATOR_BAD_ALLOC);
|
opticalflow_nvidia_api.cpp | 89 ncvAssertReturn (dst->isMemAllocated (), NCV_ALLOCATOR_BAD_ALLOC); 192 ncvAssertReturn(host_u.isMemAllocated(), NCV_ALLOCATOR_BAD_ALLOC); 195 ncvAssertReturn (host_v.isMemAllocated (), NCV_ALLOCATOR_BAD_ALLOC); 430 ncvAssertReturn(src->isMemAllocated(), -1); 433 ncvAssertReturn (dst->isMemAllocated (), -1); 443 ncvAssertReturn(name.isMemAllocated(), -1);
|
/external/opencv3/modules/cudaobjdetect/src/ |
cascadeclassifier.cpp | 291 ncvAssertReturn(d_src.isMemAllocated(), NCV_ALLOCATOR_BAD_ALLOC); 292 ncvAssertReturn(h_src.isMemAllocated(), NCV_ALLOCATOR_BAD_ALLOC); 295 ncvAssertReturn(d_rects.isMemAllocated(), NCV_ALLOCATOR_BAD_ALLOC); 330 ncvAssertReturn(d_src.isMemReused(), NCV_ALLOCATOR_BAD_REUSE); 342 ncvAssertReturn(d_rects.isMemReused(), NCV_ALLOCATOR_BAD_REUSE);
|