Home
last modified time | relevance | path

Searched refs:gpuAllocator (Results 1 – 6 of 6) sorted by relevance

/external/opencv3/samples/gpu/
Dcascadeclassifier_nvidia_api.cpp92 INCVMemAllocator &gpuAllocator, in process() argument
96 ncvAssertReturn(!((srcdst == NULL) ^ gpuAllocator.isCounting()), NCV_NULL_PTR); in process()
100 NCV_SET_SKIP_COND(gpuAllocator.isCounting()); in process()
102 NCVMatrixAlloc<Ncv8u> d_src(gpuAllocator, width, height); in process()
106 NCVVectorAlloc<NcvRect32u> d_rects(gpuAllocator, 100); in process()
135 gpuAllocator, cpuAllocator, devProp, 0); in process()
279 …NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, gpuCounter.maxSize(), static_cast<Ncv32u>(d… in main() local
280 ncvAssertPrintReturn(gpuAllocator.isInitialized(), "Error creating GPU memory allocator", -1); in main()
324 gpuAllocator, cpuAllocator, devProp); in main()
/external/opencv3/modules/cudalegacy/src/cuda/
DNPP_staging.cu370 INCVMemAllocator &gpuAllocator) in ncvIntegralImage_device() argument
373 ncvAssertReturn(gpuAllocator.memType() == NCVMemoryTypeDevice || in ncvIntegralImage_device()
374 gpuAllocator.memType() == NCVMemoryTypeNone, NPPST_MEM_RESIDENCE_ERROR); in ncvIntegralImage_device()
375 ncvAssertReturn(gpuAllocator.isInitialized(), NPPST_MEM_INTERNAL_ERROR); in ncvIntegralImage_device()
376 …ncvAssertReturn((d_src != NULL && d_dst != NULL) || gpuAllocator.isCounting(), NPPST_NULL_POINTER_… in ncvIntegralImage_device()
387 Ncv32u PaddedWidthII32 = getPaddedDimension(WidthII, sizeof(Ncv32u), gpuAllocator.alignment()); in ncvIntegralImage_device()
388 … Ncv32u PaddedHeightII32 = getPaddedDimension(HeightII, sizeof(Ncv32u), gpuAllocator.alignment()); in ncvIntegralImage_device()
390 NCVMatrixAlloc<T_out> Tmp32_1(gpuAllocator, PaddedWidthII32, PaddedHeightII32); in ncvIntegralImage_device()
391 … ncvAssertReturn(gpuAllocator.isCounting() || Tmp32_1.isMemAllocated(), NPPST_MEM_INTERNAL_ERROR); in ncvIntegralImage_device()
392 NCVMatrixAlloc<T_out> Tmp32_2(gpuAllocator, PaddedHeightII32, PaddedWidthII32); in ncvIntegralImage_device()
[all …]
DNCVHaarObjectDetection.cu970 INCVMemAllocator &gpuAllocator, in ncvApplyHaarClassifierCascade_device() argument
977 integral.memType() == gpuAllocator.memType() && in ncvApplyHaarClassifierCascade_device()
988 …ncvAssertReturn(gpuAllocator.isInitialized() && cpuAllocator.isInitialized(), NCV_ALLOCATOR_NOT_IN… in ncvApplyHaarClassifierCascade_device()
992 d_HaarFeatures.ptr() != NULL) || gpuAllocator.isCounting(), NCV_NULL_PTR); in ncvApplyHaarClassifierCascade_device()
1008 …ncvAssertReturn(haar.bNeedsTiltedII == false || gpuAllocator.isCounting(), NCV_NOIMPL_HAAR_TILTED_… in ncvApplyHaarClassifierCascade_device()
1012 NCV_SET_SKIP_COND(gpuAllocator.isCounting()); in ncvApplyHaarClassifierCascade_device()
1071 …NCVVectorAlloc<Ncv32u> d_vecPixelMaskTmp(gpuAllocator, static_cast<Ncv32u>(d_vecPixelMask.length()… in ncvApplyHaarClassifierCascade_device()
1100 NCVVectorAlloc<Ncv8u> d_tmpBufCompact(gpuAllocator, szNppCompactTmpBuf); in ncvApplyHaarClassifierCascade_device()
1561 INCVMemAllocator &gpuAllocator, in ncvDetectObjectsMultiScale_device() argument
1567 d_srcImg.memType() == gpuAllocator.memType() && in ncvDetectObjectsMultiScale_device()
[all …]
/external/opencv3/modules/cudaoptflow/src/
Dbrox.cpp180 …NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, bufSize, static_cast<Ncv32u>(textureAlignme… in calc() local
182 …ncvSafeCall( NCVBroxOpticalFlow(desc, gpuAllocator, frame0Mat, frame1Mat, uMat, vMat, StreamAccess… in calc()
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
DNCVHaarObjectDetection.hpp377 INCVMemAllocator &gpuAllocator,
400 INCVMemAllocator &gpuAllocator,
/external/opencv3/modules/cudaobjdetect/src/
Dcascadeclassifier.cpp134 Ptr<NCVMemStackAllocator> gpuAllocator; member in __anon05f261dc0211::HaarCascade_Impl
307gpuAllocator = makePtr<NCVMemStackAllocator>(NCVMemoryTypeDevice, gpuCounter.maxSize(), static_cas… in calculateMemReqsAndAllocate()
310 …ncvAssertPrintReturn(gpuAllocator->isInitialized(), "Error creating GPU memory allocator", NCV_CUD… in calculateMemReqsAndAllocate()
360 *gpuAllocator, *cpuAllocator, devProp, 0); in process()