ncvAssertPrintReturn 279 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(pred, msg.c_str(), err); \ ncvAssertPrintReturn 288 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(NCV_SUCCESS==_ncvStat, msg.c_str(), _ncvStat); \ ncvAssertPrintReturn 297 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(cudaSuccess==res, msg.c_str(), errCode); \ ncvAssertPrintReturn 306 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(cudaSuccess==res, msg.c_str(), errCode); \ ncvAssertPrintReturn 647 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "NCVVectorAlloc ctor:: alloc failed", ); ncvAssertPrintReturn 713 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(length_ * sizeof(T) <= memSegment.size, \ ncvAssertPrintReturn 865 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(pitch_ >= pitchBytes && ncvAssertPrintReturn 874 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "NCVMatrixAlloc ctor:: alloc failed", ); ncvAssertPrintReturn 938 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(pitch_ >= pitchBytes && ncvAssertPrintReturn 944 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(pitch_ >= widthBytes, "NCVMatrixReuse ctor:: incorrect pitch passed", ); ncvAssertPrintReturn 949 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(pitchBytes * height_ <= memSegment.size, \ ncvAssertPrintReturn 966 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(roi.x < mat.width() && roi.y < mat.height() && \ ncvAssertPrintReturn 506 modules/cudalegacy/src/NCV.cpp ncvAssertPrintReturn(memT != NCVMemoryTypeNone, "NCVMemNativeAllocator ctor:: counting not permitted for this allocator type", ); ncvAssertPrintReturn 87 modules/cudalegacy/test/NCVTest.hpp ncvAssertPrintReturn(cudaSuccess == cudaGetDevice(&devId), "Error returned from cudaGetDevice", ); ncvAssertPrintReturn 88 modules/cudalegacy/test/NCVTest.hpp ncvAssertPrintReturn(cudaSuccess == cudaGetDeviceProperties(&this->devProp, devId), "Error returned from cudaGetDeviceProperties", ); ncvAssertPrintReturn 61 modules/cudalegacy/test/NCVTestSourceProvider.hpp ncvAssertPrintReturn(rangeLow < rangeHigh, "NCVTestSourceProvider ctor:: Invalid range", ); ncvAssertPrintReturn 65 modules/cudalegacy/test/NCVTestSourceProvider.hpp ncvAssertPrintReturn(cudaSuccess == cudaGetDevice(&devId), "Error returned from cudaGetDevice", ); ncvAssertPrintReturn 66 modules/cudalegacy/test/NCVTestSourceProvider.hpp ncvAssertPrintReturn(cudaSuccess == cudaGetDeviceProperties(&devProp, devId), "Error returned from cudaGetDeviceProperties", ); ncvAssertPrintReturn 72 modules/cudalegacy/test/NCVTestSourceProvider.hpp ncvAssertPrintReturn(data.get()->isMemAllocated(), "NCVTestSourceProvider ctor:: Matrix not allocated", ); ncvAssertPrintReturn 95 modules/cudalegacy/test/NCVTestSourceProvider.hpp ncvAssertPrintReturn(sizeof(T) == 1, "NCVTestSourceProvider ctor:: PGM constructor complies only with 8bit types", ); ncvAssertPrintReturn 98 modules/cudalegacy/test/NCVTestSourceProvider.hpp ncvAssertPrintReturn(!image.empty(), "NCVTestSourceProvider ctor:: PGM file error", ); ncvAssertPrintReturn 102 modules/cudalegacy/test/NCVTestSourceProvider.hpp ncvAssertPrintReturn(cudaSuccess == cudaGetDevice(&devId), "Error returned from cudaGetDevice", ); ncvAssertPrintReturn 103 modules/cudalegacy/test/NCVTestSourceProvider.hpp ncvAssertPrintReturn(cudaSuccess == cudaGetDeviceProperties(&devProp, devId), "Error returned from cudaGetDeviceProperties", ); ncvAssertPrintReturn 107 modules/cudalegacy/test/NCVTestSourceProvider.hpp ncvAssertPrintReturn(data.get()->isMemAllocated(), "NCVTestSourceProvider ctor:: Matrix not allocated", ); ncvAssertPrintReturn 133 modules/cudalegacy/test/TestDrawRects.cpp ncvAssertPrintReturn(false, "Incorrect drawrects test instance", false); ncvAssertPrintReturn 155 modules/cudalegacy/test/TestDrawRects.cpp ncvAssertPrintReturn(false, "Incorrect drawrects test instance", false); ncvAssertPrintReturn 109 modules/cudalegacy/test/TestIntegralImage.cpp ncvAssertPrintReturn(false, "Incorrect integral image test instance", false); ncvAssertPrintReturn 141 modules/cudalegacy/test/TestIntegralImage.cpp ncvAssertPrintReturn(false, "Incorrect integral image test instance", false); ncvAssertPrintReturn 163 modules/cudalegacy/test/TestIntegralImage.cpp ncvAssertPrintReturn(false, "Incorrect integral image test instance", false); ncvAssertPrintReturn 192 modules/cudalegacy/test/TestIntegralImage.cpp ncvAssertPrintReturn(false, "Incorrect integral image test instance", false); ncvAssertPrintReturn 129 modules/cudalegacy/test/TestResize.cpp ncvAssertPrintReturn(false, "Incorrect downsample test instance", false); ncvAssertPrintReturn 151 modules/cudalegacy/test/TestResize.cpp ncvAssertPrintReturn(false, "Incorrect downsample test instance", false); ncvAssertPrintReturn 116 modules/cudalegacy/test/TestTranspose.cpp ncvAssertPrintReturn(false, "Incorrect transpose test instance", false); ncvAssertPrintReturn 138 modules/cudalegacy/test/TestTranspose.cpp ncvAssertPrintReturn(false, "Incorrect downsample test instance", false); ncvAssertPrintReturn 238 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(gpuCascadeAllocator->isInitialized(), "Error creating cascade GPU allocator", NCV_CUDA_ERROR); ncvAssertPrintReturn 239 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(cpuCascadeAllocator->isInitialized(), "Error creating cascade CPU allocator", NCV_CUDA_ERROR); ncvAssertPrintReturn 243 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error reading classifier size (check the file)", NCV_FILE_ERROR); ncvAssertPrintReturn 249 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(h_haarStages->isMemAllocated(), "Error in cascade CPU allocator", NCV_CUDA_ERROR); ncvAssertPrintReturn 250 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(h_haarNodes->isMemAllocated(), "Error in cascade CPU allocator", NCV_CUDA_ERROR); ncvAssertPrintReturn 251 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(h_haarFeatures->isMemAllocated(), "Error in cascade CPU allocator", NCV_CUDA_ERROR); ncvAssertPrintReturn 254 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error loading classifier", NCV_FILE_ERROR); ncvAssertPrintReturn 260 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(d_haarStages->isMemAllocated(), "Error in cascade GPU allocator", NCV_CUDA_ERROR); ncvAssertPrintReturn 261 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(d_haarNodes->isMemAllocated(), "Error in cascade GPU allocator", NCV_CUDA_ERROR); ncvAssertPrintReturn 262 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(d_haarFeatures->isMemAllocated(), "Error in cascade GPU allocator", NCV_CUDA_ERROR); ncvAssertPrintReturn 265 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error copying cascade to GPU", NCV_CUDA_ERROR); ncvAssertPrintReturn 267 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error copying cascade to GPU", NCV_CUDA_ERROR); ncvAssertPrintReturn 269 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error copying cascade to GPU", NCV_CUDA_ERROR); ncvAssertPrintReturn 285 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(gpuCounter.isInitialized(), "Error creating GPU memory counter", NCV_CUDA_ERROR); ncvAssertPrintReturn 286 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(cpuCounter.isInitialized(), "Error creating CPU memory counter", NCV_CUDA_ERROR); ncvAssertPrintReturn 310 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(gpuAllocator->isInitialized(), "Error creating GPU memory allocator", NCV_CUDA_ERROR); ncvAssertPrintReturn 311 modules/cudaobjdetect/src/cascadeclassifier.cpp ncvAssertPrintReturn(cpuAllocator->isInitialized(), "Error creating CPU memory allocator", NCV_CUDA_ERROR); ncvAssertPrintReturn 163 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(cv::cuda::getCudaEnabledDeviceCount() != 0, "No GPU found or the library is compiled without CUDA support", -1); ncvAssertPrintReturn 164 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(argc == 3, "Invalid number of arguments", -1); ncvAssertPrintReturn 194 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(capture.open(camid) != 0, "Can't open source", -1); ncvAssertPrintReturn 198 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(!frame.empty(), "Empty video source", -1); ncvAssertPrintReturn 210 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(classifierOpenCV.load(cascadeName) != 0, "Error (in OpenCV) opening classifier", -1); ncvAssertPrintReturn 227 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(gpuCascadeAllocator.isInitialized(), "Error creating cascade GPU allocator", -1); ncvAssertPrintReturn 229 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(cpuCascadeAllocator.isInitialized(), "Error creating cascade CPU allocator", -1); ncvAssertPrintReturn 233 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error reading classifier size (check the file)", -1); ncvAssertPrintReturn 236 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(h_haarStages.isMemAllocated(), "Error in cascade CPU allocator", -1); ncvAssertPrintReturn 238 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(h_haarNodes.isMemAllocated(), "Error in cascade CPU allocator", -1); ncvAssertPrintReturn 241 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(h_haarFeatures.isMemAllocated(), "Error in cascade CPU allocator", -1); ncvAssertPrintReturn 245 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error loading classifier", -1); ncvAssertPrintReturn 248 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(d_haarStages.isMemAllocated(), "Error in cascade GPU allocator", -1); ncvAssertPrintReturn 250 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(d_haarNodes.isMemAllocated(), "Error in cascade GPU allocator", -1); ncvAssertPrintReturn 252 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(d_haarFeatures.isMemAllocated(), "Error in cascade GPU allocator", -1); ncvAssertPrintReturn 255 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error copying cascade to GPU", -1); ncvAssertPrintReturn 257 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error copying cascade to GPU", -1); ncvAssertPrintReturn 259 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error copying cascade to GPU", -1); ncvAssertPrintReturn 268 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(gpuCounter.isInitialized(), "Error creating GPU memory counter", -1); ncvAssertPrintReturn 270 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(cpuCounter.isInitialized(), "Error creating CPU memory counter", -1); ncvAssertPrintReturn 277 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error in memory counting pass", -1); ncvAssertPrintReturn 280 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(gpuAllocator.isInitialized(), "Error creating GPU memory allocator", -1); ncvAssertPrintReturn 282 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(cpuAllocator.isInitialized(), "Error creating CPU memory allocator", -1); ncvAssertPrintReturn 325 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(ncvStat == NCV_SUCCESS, "Error in memory counting pass", -1); ncvAssertPrintReturn 409 samples/gpu/opticalflow_nvidia_api.cpp ncvAssertPrintReturn (g_pGPUMemAllocator->isInitialized (), "Device memory allocator isn't initialized", -1); ncvAssertPrintReturn 412 samples/gpu/opticalflow_nvidia_api.cpp ncvAssertPrintReturn (g_pHostMemAllocator->isInitialized (), "Host memory allocator isn't initialized", -1);