Home
last modified time | relevance | path

Searched refs:gpuCounter (Results 1 – 4 of 4) sorted by relevance

/external/opencv3/modules/cudaoptflow/src/
Dbrox.cpp115 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(textureAlignment)); in getBufSize() local
117 ncvSafeCall( NCVBroxOpticalFlow(desc, gpuCounter, frame0, frame1, u, v, 0) ); in getBufSize()
119 return gpuCounter.maxSize(); in getBufSize()
/external/opencv3/samples/gpu/
Dcascadeclassifier_nvidia_api.cpp267 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in main() local
268 ncvAssertPrintReturn(gpuCounter.isInitialized(), "Error creating GPU memory counter", -1); in main()
276 gpuCounter, cpuCounter, devProp); in main()
279 …NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, gpuCounter.maxSize(), static_cast<Ncv32u>(d… in main()
/external/opencv3/modules/cudaobjdetect/src/
Dcascadeclassifier.cpp282 NCVMemStackAllocator gpuCounter(static_cast<int>(devProp.textureAlignment)); in calculateMemReqsAndAllocate()
285 …ncvAssertPrintReturn(gpuCounter.isInitialized(), "Error creating GPU memory counter", NCV_CUDA_ERR… in calculateMemReqsAndAllocate()
288 NCVMatrixAlloc<Ncv8u> d_src(gpuCounter, frameSize.width, frameSize.height); in calculateMemReqsAndAllocate()
294 NCVVectorAlloc<NcvRect32u> d_rects(gpuCounter, 100); in calculateMemReqsAndAllocate()
302 …es, *d_haarNodes, *d_haarFeatures, haar.ClassifierSize, 4, 1.2f, 1, 0, gpuCounter, cpuCounter, dev… in calculateMemReqsAndAllocate()
307 …gpuAllocator = makePtr<NCVMemStackAllocator>(NCVMemoryTypeDevice, gpuCounter.maxSize(), static_cas… in calculateMemReqsAndAllocate()
/external/opencv3/modules/cudalegacy/src/cuda/
DNPP_staging.cu492 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in nppiStIntegralGetSize_8u32u() local
493 ncvAssertReturn(gpuCounter.isInitialized(), NPPST_MEM_INTERNAL_ERROR); in nppiStIntegralGetSize_8u32u()
497 roiSize, gpuCounter); in nppiStIntegralGetSize_8u32u()
500 *pBufsize = (Ncv32u)gpuCounter.maxSize(); in nppiStIntegralGetSize_8u32u()
510 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in nppiStIntegralGetSize_32f32f() local
511 ncvAssertReturn(gpuCounter.isInitialized(), NPPST_MEM_INTERNAL_ERROR); in nppiStIntegralGetSize_32f32f()
515 roiSize, gpuCounter); in nppiStIntegralGetSize_32f32f()
518 *pBufsize = (Ncv32u)gpuCounter.maxSize(); in nppiStIntegralGetSize_32f32f()
528 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in nppiStSqrIntegralGetSize_8u64u() local
529 ncvAssertReturn(gpuCounter.isInitialized(), NPPST_MEM_INTERNAL_ERROR); in nppiStSqrIntegralGetSize_8u64u()
[all …]