/external/opencv3/samples/gpu/ |
D | cascadeclassifier_nvidia_api.cpp | 163 …ncvAssertPrintReturn(cv::cuda::getCudaEnabledDeviceCount() != 0, "No GPU found or the library is c… in main() 164 ncvAssertPrintReturn(argc == 3, "Invalid number of arguments", -1); in main() 194 ncvAssertPrintReturn(capture.open(camid) != 0, "Can't open source", -1); in main() 198 ncvAssertPrintReturn(!frame.empty(), "Empty video source", -1); in main() 210 …ncvAssertPrintReturn(classifierOpenCV.load(cascadeName) != 0, "Error (in OpenCV) opening classifie… in main() 227 …ncvAssertPrintReturn(gpuCascadeAllocator.isInitialized(), "Error creating cascade GPU allocator", … in main() 229 …ncvAssertPrintReturn(cpuCascadeAllocator.isInitialized(), "Error creating cascade CPU allocator", … in main() 233 …ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error reading classifier size (check the file)", -1); in main() 236 ncvAssertPrintReturn(h_haarStages.isMemAllocated(), "Error in cascade CPU allocator", -1); in main() 238 ncvAssertPrintReturn(h_haarNodes.isMemAllocated(), "Error in cascade CPU allocator", -1); in main() [all …]
|
D | opticalflow_nvidia_api.cpp | 409 …ncvAssertPrintReturn (g_pGPUMemAllocator->isInitialized (), "Device memory allocator isn't initial… in main() 412 …ncvAssertPrintReturn (g_pHostMemAllocator->isInitialized (), "Host memory allocator isn't initiali… in main()
|
/external/opencv3/modules/cudalegacy/test/ |
D | NCVTestSourceProvider.hpp | 61 ncvAssertPrintReturn(rangeLow < rangeHigh, "NCVTestSourceProvider ctor:: Invalid range", ); in NCVTestSourceProvider() 65 … ncvAssertPrintReturn(cudaSuccess == cudaGetDevice(&devId), "Error returned from cudaGetDevice", ); in NCVTestSourceProvider() 66 …ncvAssertPrintReturn(cudaSuccess == cudaGetDeviceProperties(&devProp, devId), "Error returned from… in NCVTestSourceProvider() 72 …ncvAssertPrintReturn(data.get()->isMemAllocated(), "NCVTestSourceProvider ctor:: Matrix not alloca… in NCVTestSourceProvider() 95 …ncvAssertPrintReturn(sizeof(T) == 1, "NCVTestSourceProvider ctor:: PGM constructor complies only w… in NCVTestSourceProvider() 98 ncvAssertPrintReturn(!image.empty(), "NCVTestSourceProvider ctor:: PGM file error", ); in NCVTestSourceProvider() 102 … ncvAssertPrintReturn(cudaSuccess == cudaGetDevice(&devId), "Error returned from cudaGetDevice", ); in NCVTestSourceProvider() 103 …ncvAssertPrintReturn(cudaSuccess == cudaGetDeviceProperties(&devProp, devId), "Error returned from… in NCVTestSourceProvider() 107 …ncvAssertPrintReturn(data.get()->isMemAllocated(), "NCVTestSourceProvider ctor:: Matrix not alloca… in NCVTestSourceProvider()
|
D | TestIntegralImage.cpp | 109 ncvAssertPrintReturn(false, "Incorrect integral image test instance", false); in process() 141 ncvAssertPrintReturn(false, "Incorrect integral image test instance", false); in process() 163 ncvAssertPrintReturn(false, "Incorrect integral image test instance", false); in process() 192 ncvAssertPrintReturn(false, "Incorrect integral image test instance", false); in process()
|
D | TestTranspose.cpp | 116 ncvAssertPrintReturn(false, "Incorrect transpose test instance", false); in process() 138 ncvAssertPrintReturn(false, "Incorrect downsample test instance", false); in process()
|
D | NCVTest.hpp | 87 … ncvAssertPrintReturn(cudaSuccess == cudaGetDevice(&devId), "Error returned from cudaGetDevice", ); in NCVTestProvider() 88 …ncvAssertPrintReturn(cudaSuccess == cudaGetDeviceProperties(&this->devProp, devId), "Error returne… in NCVTestProvider()
|
D | TestResize.cpp | 129 ncvAssertPrintReturn(false, "Incorrect downsample test instance", false); in process() 151 ncvAssertPrintReturn(false, "Incorrect downsample test instance", false); in process()
|
D | TestDrawRects.cpp | 133 ncvAssertPrintReturn(false, "Incorrect drawrects test instance", false); in process() 155 ncvAssertPrintReturn(false, "Incorrect drawrects test instance", false); in process()
|
/external/opencv3/modules/cudaobjdetect/src/ |
D | cascadeclassifier.cpp | 238 …ncvAssertPrintReturn(gpuCascadeAllocator->isInitialized(), "Error creating cascade GPU allocator",… in load() 239 …ncvAssertPrintReturn(cpuCascadeAllocator->isInitialized(), "Error creating cascade CPU allocator",… in load() 243 …ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error reading classifier size (check the file)", NCV… in load() 249 …ncvAssertPrintReturn(h_haarStages->isMemAllocated(), "Error in cascade CPU allocator", NCV_CUDA_ER… in load() 250 …ncvAssertPrintReturn(h_haarNodes->isMemAllocated(), "Error in cascade CPU allocator", NCV_CUDA_ERR… in load() 251 …ncvAssertPrintReturn(h_haarFeatures->isMemAllocated(), "Error in cascade CPU allocator", NCV_CUDA_… in load() 254 ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error loading classifier", NCV_FILE_ERROR); in load() 260 …ncvAssertPrintReturn(d_haarStages->isMemAllocated(), "Error in cascade GPU allocator", NCV_CUDA_ER… in load() 261 …ncvAssertPrintReturn(d_haarNodes->isMemAllocated(), "Error in cascade GPU allocator", NCV_CUDA_ERR… in load() 262 …ncvAssertPrintReturn(d_haarFeatures->isMemAllocated(), "Error in cascade GPU allocator", NCV_CUDA_… in load() [all …]
|
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/ |
D | NCV.hpp | 267 #define ncvAssertPrintReturn(pred, msg, err) \ macro 279 ncvAssertPrintReturn(pred, msg.c_str(), err); \ 288 ncvAssertPrintReturn(NCV_SUCCESS==_ncvStat, msg.c_str(), _ncvStat); \ 297 ncvAssertPrintReturn(cudaSuccess==res, msg.c_str(), errCode); \ 306 ncvAssertPrintReturn(cudaSuccess==res, msg.c_str(), errCode); \ 647 ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "NCVVectorAlloc ctor:: alloc failed", ); in NCVVectorAlloc() 713 ncvAssertPrintReturn(length_ * sizeof(T) <= memSegment.size, \ in NCVVectorReuse() 865 ncvAssertPrintReturn(pitch_ >= pitchBytes && in NCVMatrixAlloc() 874 ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "NCVMatrixAlloc ctor:: alloc failed", ); in NCVMatrixAlloc() 938 ncvAssertPrintReturn(pitch_ >= pitchBytes && in NCVMatrixReuse() [all …]
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
D | NCVPyramid.cu | 371 ncvAssertPrintReturn(img.memType() == alloc.memType(), "NCVImagePyramid::ctor error", ); 398 …ncvAssertPrintReturn(((NCVMatrixAlloc<T> *)(this->pyramid[i]))->isMemAllocated(), "NCVImagePyramid… 416 … ncvAssertPrintReturn(cudaSuccess == cudaGetLastError(), "NCVImagePyramid::ctor error", ); 420 …ncvAssertPrintReturn(h_prevLayer.isMemAllocated(), "Validation failure in NCVImagePyramid::ctor", … 422 …ncvAssertPrintReturn(h_curLayer.isMemAllocated(), "Validation failure in NCVImagePyramid::ctor", ); 423 …ncvAssertPrintReturn(NCV_SUCCESS == prevLayer->copy2D(h_prevLayer, prevLayer->size(), cuStream), "… 424 …ncvAssertPrintReturn(NCV_SUCCESS == curLayer->copy2D(h_curLayer, curLayer->size(), cuStream), "Val… 425 …ncvAssertPrintReturn(cudaSuccess == cudaStreamSynchronize(cuStream), "Validation failure in NCVIma… 436 …ncvAssertPrintReturn(0 == memcmp(&outGold, &outGPU, sizeof(T)), "Validation failure in NCVImagePyr… 565 …ncvAssertPrintReturn(0 == memcmp(&outGold, &h_outImg.at(j,i), sizeof(T)), "Validation failure in N…
|
D | NCVBroxOpticalFlow.cu | 720 …ncvAssertPrintReturn(desc.alpha > 0.0f , "Invalid alpha" , … in NCVBroxOpticalFlow() 721 …ncvAssertPrintReturn(desc.gamma >= 0.0f , "Invalid gamma" , … in NCVBroxOpticalFlow() 722 …ncvAssertPrintReturn(desc.number_of_inner_iterations > 0 , "Invalid number of inner iterations" , … in NCVBroxOpticalFlow() 723 …ncvAssertPrintReturn(desc.number_of_outer_iterations > 0 , "Invalid number of outer iterations" , … in NCVBroxOpticalFlow() 724 …ncvAssertPrintReturn(desc.number_of_solver_iterations > 0, "Invalid number of solver iterations", … in NCVBroxOpticalFlow() 729 …ncvAssertPrintReturn(frame1.width() == kSourceWidth && frame1.height() == kSourceHeight, "Frame di… in NCVBroxOpticalFlow()
|
/external/opencv3/modules/cudalegacy/src/ |
D | NCV.cpp | 506 …ncvAssertPrintReturn(memT != NCVMemoryTypeNone, "NCVMemNativeAllocator ctor:: counting not permitt… in NCVMemNativeAllocator()
|