/external/opencv3/samples/gpu/ |
D | cascadeclassifier_nvidia_api.cpp | 94 cudaDeviceProp &devProp) in process() argument 135 gpuAllocator, cpuAllocator, devProp, 0); in process() 214 cudaDeviceProp devProp; in main() local 215 ncvAssertCUDAReturn(cudaGetDeviceProperties(&devProp, devId), -1); in main() 216 cout << "Using GPU: " << devId << "(" << devProp.name << in main() 217 "), arch=" << devProp.major << "." << devProp.minor << endl; in main() 226 …NCVMemNativeAllocator gpuCascadeAllocator(NCVMemoryTypeDevice, static_cast<Ncv32u>(devProp.texture… in main() 228 …NCVMemNativeAllocator cpuCascadeAllocator(NCVMemoryTypeHostPinned, static_cast<Ncv32u>(devProp.tex… in main() 267 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in main() 269 NCVMemStackAllocator cpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in main() [all …]
|
D | opticalflow_nvidia_api.cpp | 403 cudaDeviceProp devProp; in main() local 404 ncvAssertCUDAReturn(cudaGetDeviceProperties(&devProp, devId), -1); in main() 405 std::cout << "Using GPU: " << devId << "(" << devProp.name << in main() 406 "), arch=" << devProp.major << "." << devProp.minor << std::endl; in main() 408 …or> (new NCVMemNativeAllocator (NCVMemoryTypeDevice, static_cast<Ncv32u>(devProp.textureAlignment)… in main() 411 …ew NCVMemNativeAllocator (NCVMemoryTypeHostPageable, static_cast<Ncv32u>(devProp.textureAlignment)… in main()
|
/external/opencv3/modules/cudalegacy/test/ |
D | NCVTest.hpp | 88 …ncvAssertPrintReturn(cudaSuccess == cudaGetDeviceProperties(&this->devProp, devId), "Error returne… in NCVTestProvider() 153 cudaDeviceProp devProp; member in NCVTestProvider 163 … this->allocatorGPU.reset(new NCVMemStackAllocator(static_cast<Ncv32u>(devProp.textureAlignment))); in initMemory() 164 … this->allocatorCPU.reset(new NCVMemStackAllocator(static_cast<Ncv32u>(devProp.textureAlignment))); in initMemory() 185 …CVMemStackAllocator(NCVMemoryTypeDevice, maxGPUsize, static_cast<Ncv32u>(devProp.textureAlignment)… in initMemory() 187 …mStackAllocator(NCVMemoryTypeHostPinned, maxCPUsize, static_cast<Ncv32u>(devProp.textureAlignment)… in initMemory()
|
D | NCVTestSourceProvider.hpp | 64 cudaDeviceProp devProp; in NCVTestSourceProvider() local 66 …ncvAssertPrintReturn(cudaSuccess == cudaGetDeviceProperties(&devProp, devId), "Error returned from… in NCVTestSourceProvider() 70 …t(new NCVMemNativeAllocator(NCVMemoryTypeHostPinned, static_cast<Ncv32u>(devProp.textureAlignment)… in NCVTestSourceProvider() 101 cudaDeviceProp devProp; in NCVTestSourceProvider() local 103 …ncvAssertPrintReturn(cudaSuccess == cudaGetDeviceProperties(&devProp, devId), "Error returned from… in NCVTestSourceProvider() 105 …t(new NCVMemNativeAllocator(NCVMemoryTypeHostPinned, static_cast<Ncv32u>(devProp.textureAlignment)… in NCVTestSourceProvider()
|
D | TestIntegralImage.cpp | 99 …Stat = nppiStIntegralGetSize_8u32u(NcvSize32u(this->width, this->height), &bufSize, this->devProp); in process() 104 …tat = nppiStIntegralGetSize_32f32f(NcvSize32u(this->width, this->height), &bufSize, this->devProp); in process() 128 d_tmpBuf.ptr(), bufSize, this->devProp); in process() 136 d_tmpBuf.ptr(), bufSize, this->devProp); in process()
|
D | TestRectStdDev.cpp | 121 …at = nppiStIntegralGetSize_8u32u(NcvSize32u(this->width, this->height), &bufSizeII, this->devProp); in process() 123 … nppiStSqrIntegralGetSize_8u64u(NcvSize32u(this->width, this->height), &bufSizeSII, this->devProp); in process() 139 d_tmpBuf.ptr(), bufSize, this->devProp); in process() 145 d_tmpBuf.ptr(), bufSize, this->devProp); in process()
|
D | TestIntegralImageSquared.cpp | 91 …t = nppiStSqrIntegralGetSize_8u64u(NcvSize32u(this->width, this->height), &bufSize, this->devProp); in process() 107 d_tmpBuf.ptr(), bufSize, this->devProp); in process()
|
D | TestHaarCascadeApplication.cpp | 202 …piStIntegralGetSize_8u32u(NcvSize32u(this->width, this->height), &szTmpBufIntegral, this->devProp); in process() 204 …qrIntegralGetSize_8u64u(NcvSize32u(this->width, this->height), &szTmpBufSqIntegral, this->devProp); in process() 222 d_tmpIIbuf.ptr(), szTmpBufIntegral, this->devProp); in process() 228 d_tmpIIbuf.ptr(), szTmpBufSqIntegral, this->devProp); in process()
|
D | TestCompact.cpp | 106 ncvStat = nppsStCompactGetSize_32u(this->length, &bufSize, this->devProp); in process() 118 d_tmpBuf.ptr(), bufSize, this->devProp); in process()
|
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/ |
D | NPP_staging.hpp | 675 NCVStatus nppiStIntegralGetSize_8u32u(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp… 683 …Status nppiStIntegralGetSize_32f32f(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp); 703 Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp); 713 Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp); 751 …atus nppiStSqrIntegralGetSize_8u64u(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp); 771 Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp); 808 NCVStatus nppsStCompactGetSize_32u(Ncv32u srcLen, Ncv32u *pBufsize, cudaDeviceProp &devProp); 815 NCVStatus nppsStCompactGetSize_32s(Ncv32u srcLen, Ncv32u *pBufsize, cudaDeviceProp &devProp); 822 NCVStatus nppsStCompactGetSize_32f(Ncv32u srcLen, Ncv32u *pBufsize, cudaDeviceProp &devProp); 843 Ncv32u bufSize, cudaDeviceProp &devProp); [all …]
|
D | NCVHaarObjectDetection.hpp | 379 cudaDeviceProp &devProp, 402 cudaDeviceProp &devProp,
|
/external/opencv3/modules/cudaobjdetect/src/ |
D | cascadeclassifier.cpp | 137 cudaDeviceProp devProp; member in __anon3438be970211::HaarCascade_Impl 232 ncvAssertCUDAReturn(cudaGetDeviceProperties(&devProp, devId), NCV_CUDA_ERROR); in load() 235 …r = makePtr<NCVMemNativeAllocator>(NCVMemoryTypeDevice, static_cast<int>(devProp.textureAlignment)… in load() 236 …makePtr<NCVMemNativeAllocator>(NCVMemoryTypeHostPinned, static_cast<int>(devProp.textureAlignment)… in load() 282 NCVMemStackAllocator gpuCounter(static_cast<int>(devProp.textureAlignment)); in calculateMemReqsAndAllocate() 283 NCVMemStackAllocator cpuCounter(static_cast<int>(devProp.textureAlignment)); in calculateMemReqsAndAllocate() 302 …aarNodes, *d_haarFeatures, haar.ClassifierSize, 4, 1.2f, 1, 0, gpuCounter, cpuCounter, devProp, 0); in calculateMemReqsAndAllocate() 307 …ckAllocator>(NCVMemoryTypeDevice, gpuCounter.maxSize(), static_cast<int>(devProp.textureAlignment)… in calculateMemReqsAndAllocate() 308 …locator>(NCVMemoryTypeHostPinned, cpuCounter.maxSize(), static_cast<int>(devProp.textureAlignment)… in calculateMemReqsAndAllocate() 329 …NCVMatrixReuse<Ncv8u> d_src(src_seg, static_cast<int>(devProp.textureAlignment), src.cols, src.row… in process() [all …]
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
D | NPP_staging.cu | 487 NCVStatus nppiStIntegralGetSize_8u32u(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp) in nppiStIntegralGetSize_8u32u() argument 492 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in nppiStIntegralGetSize_8u32u() 505 …VStatus nppiStIntegralGetSize_32f32f(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp) in nppiStIntegralGetSize_32f32f() argument 510 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in nppiStIntegralGetSize_32f32f() 523 …tatus nppiStSqrIntegralGetSize_8u64u(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp) in nppiStSqrIntegralGetSize_8u64u() argument 528 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in nppiStSqrIntegralGetSize_8u64u() 544 Ncv32u bufSize, cudaDeviceProp &devProp) in nppiStIntegral_8u32u_C1R() argument 546 …NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, bufSize, static_cast<Ncv32u>(devProp.textur… in nppiStIntegral_8u32u_C1R() 559 Ncv32u bufSize, cudaDeviceProp &devProp) in nppiStIntegral_32f32f_C1R() argument 561 …NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, bufSize, static_cast<Ncv32u>(devProp.textur… in nppiStIntegral_32f32f_C1R() [all …]
|
D | NCVHaarObjectDetection.cu | 972 cudaDeviceProp &devProp, in ncvApplyHaarClassifierCascade_device() argument 1087 NcvBool bTexCacheCascade = devProp.major < 2; in ncvApplyHaarClassifierCascade_device() 1089 NcvBool bDoAtomicCompaction = devProp.major >= 2 || (devProp.major == 1 && devProp.minor >= 3); in ncvApplyHaarClassifierCascade_device() 1095 …psStCompactGetSize_32u(static_cast<Ncv32u>(d_vecPixelMask.length()), &szNppCompactTmpBuf, devProp); in ncvApplyHaarClassifierCascade_device() 1198 d_tmpBufCompact.ptr(), szNppCompactTmpBuf, devProp); in ncvApplyHaarClassifierCascade_device() 1253 d_tmpBufCompact.ptr(), szNppCompactTmpBuf, devProp); in ncvApplyHaarClassifierCascade_device() 1323 d_tmpBufCompact.ptr(), szNppCompactTmpBuf, devProp); in ncvApplyHaarClassifierCascade_device() 1384 d_tmpBufCompact.ptr(), szNppCompactTmpBuf, devProp); in ncvApplyHaarClassifierCascade_device() 1563 cudaDeviceProp &devProp, in ncvDetectObjectsMultiScale_device() argument 1630 …IntegralGetSize_8u32u(NcvSize32u(d_srcImg.width(), d_srcImg.height()), &szTmpBufIntegral, devProp); in ncvDetectObjectsMultiScale_device() [all …]
|