/external/opencv3/modules/cudalegacy/test/ |
H A D | TestTranspose.cpp | 77 NCVStatus ncvStat; local 99 ncvStat = h_img.copySolid(d_img, 0); local 100 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 104 ncvStat = nppiStTranspose_32u_C1R((Ncv32u *)d_img.ptr(), d_img.pitch(), 110 ncvStat = nppiStTranspose_64u_C1R((Ncv64u *)d_img.ptr(), d_img.pitch(), 118 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 120 ncvStat = d_dst.copySolid(h_dst_d, 0); local 121 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 126 ncvStat = nppiStTranspose_32u_C1R_host((Ncv32u *)h_img.ptr(), h_img.pitch(), 132 ncvStat [all...] |
H A D | TestCompact.cpp | 74 NCVStatus ncvStat; local 106 ncvStat = nppsStCompactGetSize_32u(this->length, &bufSize, this->devProp); 107 ncvAssertReturn(NPPST_SUCCESS == ncvStat, false); 114 ncvStat = h_vecSrc.copySolid(d_vecSrc, 0); local 115 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 116 ncvStat = nppsStCompact_32u(d_vecSrc.ptr(), this->length, 119 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 120 ncvStat = d_vecDst.copySolid(h_vecDst_d, 0); 121 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 123 ncvStat [all...] |
H A D | TestDrawRects.cpp | 84 NCVStatus ncvStat; local 102 ncvStat = h_img.copySolid(d_img, 0); 103 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 117 ncvStat = h_rects.copySolid(d_rects, 0); 118 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 123 ncvStat = ncvDrawRects_32u_device((Ncv32u *)d_img.ptr(), d_img.stride(), this->width, this->height, 128 ncvStat = ncvDrawRects_8u_device((Ncv8u *)d_img.ptr(), d_img.stride(), this->width, this->height, 135 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 138 ncvStat = d_img.copySolid(h_img_d, 0); local 139 ncvAssertReturn(ncvStat [all...] |
H A D | TestIntegralImage.cpp | 79 NCVStatus ncvStat; local 99 ncvStat = nppiStIntegralGetSize_8u32u(NcvSize32u(this->width, this->height), &bufSize, this->devProp); 100 ncvAssertReturn(NPPST_SUCCESS == ncvStat, false); 104 ncvStat = nppiStIntegralGetSize_32f32f(NcvSize32u(this->width, this->height), &bufSize, this->devProp); 105 ncvAssertReturn(NPPST_SUCCESS == ncvStat, false); 120 ncvStat = h_img.copySolid(d_img, 0); 121 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 125 ncvStat = nppiStIntegral_8u32u_C1R((Ncv8u *)d_img.ptr(), d_img.pitch(), 129 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 133 ncvStat [all...] |
H A D | TestIntegralImageSquared.cpp | 73 NCVStatus ncvStat; local 91 ncvStat = nppiStSqrIntegralGetSize_8u64u(NcvSize32u(this->width, this->height), &bufSize, this->devProp); 92 ncvAssertReturn(NPPST_SUCCESS == ncvStat, false); 101 ncvStat = h_img.copySolid(d_img, 0); 102 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 104 ncvStat = nppiStSqrIntegral_8u64u_C1R(d_img.ptr(), d_img.pitch(), 108 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 110 ncvStat = d_imgSII.copySolid(h_imgSII_d, 0); 111 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 113 ncvStat [all...] |
H A D | TestResize.cpp | 81 NCVStatus ncvStat; local 110 ncvStat = h_img.copySolid(d_img, 0); local 111 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 115 ncvStat = nppiStDecimate_32u_C1R((Ncv32u *)d_img.ptr(), d_img.pitch(), 122 ncvStat = nppiStDecimate_64u_C1R((Ncv64u *)d_img.ptr(), d_img.pitch(), 131 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 133 ncvStat = d_small.copySolid(h_small_d, 0); local 134 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 139 ncvStat = nppiStDecimate_32u_C1R_host((Ncv32u *)h_img.ptr(), h_img.pitch(), 145 ncvStat [all...] |
H A D | TestHaarCascadeLoader.cpp | 69 NCVStatus ncvStat; local 75 ncvStat = ncvHaarGetClassifierSize(this->cascadeName, numStages, numNodes, numFeatures); 76 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 99 ncvStat = ncvHaarLoadFromFile_host(this->cascadeName, haar, h_HaarStages, h_HaarNodes, h_HaarFeatures); 100 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 102 ncvStat = ncvHaarStoreNVBIN_host(testNvbinName, haar, h_HaarStages, h_HaarNodes, h_HaarFeatures); 103 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 105 ncvStat = ncvHaarGetClassifierSize(testNvbinName, numStages_2, numNodes_2, numFeatures_2); 106 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 108 ncvStat [all...] |
H A D | TestHypothesesGrow.cpp | 84 NCVStatus ncvStat; local 110 ncvStat = h_vecSrc.copySolid(d_vecSrc, 0); local 111 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 112 ncvStat = h_vecDst.copySolid(d_vecDst, 0); 113 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 120 ncvStat = ncvGrowDetectionsVector_device(d_vecSrc, this->lenSrc, 123 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 124 ncvStat = d_vecDst.copySolid(h_vecDst_d, 0); 125 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 129 ncvStat [all...] |
H A D | TestHaarCascadeApplication.cpp | 113 NCVStatus ncvStat; local 118 ncvStat = ncvHaarGetClassifierSize(this->cascadeName, numStages, numNodes, numFeatures); 119 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 146 ncvStat = ncvHaarLoadFromFile_host(this->cascadeName, haar, h_HaarStages, h_HaarNodes, h_HaarFeatures); local 147 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 215 ncvStat = h_img.copySolid(d_img, 0); 216 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 244 ncvStat = d_integralImage.copySolid(h_integralImage, 0); 245 ncvAssertReturn(ncvStat == NCV_SUCCESS, false); 246 ncvStat 302 ncvStat = d_pixelMask.copySolid(h_pixelMask_d, 0); local [all...] |
H A D | TestHypothesesFilter.cpp | 93 NCVStatus ncvStat; local 167 ncvStat = ncvGroupRectangles_host(h_vecSrc, numHypothesesSrc, this->minNeighbors, this->eps, NULL); local 168 ncvAssertReturn(ncvStat == NCV_SUCCESS, false);
|
H A D | TestRectStdDev.cpp | 80 NCVStatus ncvStat; local 121 ncvStat = nppiStIntegralGetSize_8u32u(NcvSize32u(this->width, this->height), &bufSizeII, this->devProp); 122 ncvAssertReturn(NPPST_SUCCESS == ncvStat, false); 123 ncvStat = nppiStSqrIntegralGetSize_8u64u(NcvSize32u(this->width, this->height), &bufSizeSII, this->devProp); 124 ncvAssertReturn(NPPST_SUCCESS == ncvStat, false); 133 ncvStat = h_img.copySolid(d_img, 0); 134 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 136 ncvStat = nppiStIntegral_8u32u_C1R(d_img.ptr(), d_img.pitch(), 140 ncvAssertReturn(ncvStat == NPPST_SUCCESS, false); 142 ncvStat [all...] |
/external/opencv3/modules/cudalegacy/src/ |
H A D | NCV.cpp | 185 NCVStatus ncvStat; local 195 ncvStat = NCV_SUCCESS; 206 ncvStat = NCV_SUCCESS; 209 ncvStat = NCV_MEM_RESIDENCE_ERROR; 225 ncvStat = NCV_SUCCESS; 236 ncvStat = NCV_SUCCESS; 239 ncvStat = NCV_MEM_RESIDENCE_ERROR; 243 ncvStat = NCV_MEM_RESIDENCE_ERROR; 246 return ncvStat; 254 NCVStatus ncvStat; local [all...] |
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/ |
H A D | NCV.hpp | 602 NCVStatus ncvStat = NCV_SUCCESS; local 605 ncvStat = memSegCopyHelper(dst._ptr, dst._memtype, 610 return ncvStat; 641 NCVStatus ncvStat; local 646 ncvStat = allocator.alloc(this->allocatedMem, length_ * sizeof(T)); 647 ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "NCVVectorAlloc ctor:: alloc failed", ); 656 NCVStatus ncvStat; local 658 ncvStat = allocator.dealloc(this->allocatedMem); 659 ncvAssertPrintCheck(ncvStat == NCV_SUCCESS, "NCVVectorAlloc dtor:: dealloc failed"); 783 NCVStatus ncvStat local 801 NCVStatus ncvStat = NCV_SUCCESS; local 855 NCVStatus ncvStat; local 885 NCVStatus ncvStat; local [all...] |