Home | History | Annotate | Download | only in src

Lines Matching refs:Ncv32u

160 Ncv32u alignUp(Ncv32u what, Ncv32u alignment)
162 Ncv32u alignMask = alignment-1;
163 Ncv32u inverseAlignMask = ~alignMask;
164 Ncv32u res = (what + alignMask) & inverseAlignMask;
250 NCVStatus memSegCopyHelper2D(void *dst, Ncv32u dstPitch, NCVMemoryType dstType,
251 const void *src, Ncv32u srcPitch, NCVMemoryType srcType,
252 Ncv32u widthbytes, Ncv32u height, cudaStream_t cuStream)
263 for (Ncv32u i=0; i<height; i++)
329 NCVMemStackAllocator::NCVMemStackAllocator(Ncv32u alignment_) :
344 NCVMemStackAllocator::NCVMemStackAllocator(NCVMemoryType memT, size_t capacity, Ncv32u alignment_, void *reusePtr) :
426 size = alignUp(static_cast<Ncv32u>(size), this->_alignment);
481 Ncv32u NCVMemStackAllocator::alignment(void) const
500 NCVMemNativeAllocator::NCVMemNativeAllocator(NCVMemoryType memT, Ncv32u alignment_) :
535 this->currentSize += alignUp(static_cast<Ncv32u>(size), this->_alignment);
551 ncvAssertReturn(currentSize >= alignUp(static_cast<Ncv32u>(seg.size), this->_alignment), NCV_ALLOCATOR_BAD_DEALLOC);
552 currentSize -= alignUp(static_cast<Ncv32u>(seg.size), this->_alignment);
592 Ncv32u NCVMemNativeAllocator::alignment(void) const
738 static void groupRectangles(std::vector<NcvRect32u> &hypotheses, int groupThreshold, double eps, std::vector<Ncv32u> *weights)
768 Ncv32u &numHypotheses,
769 Ncv32u minNeighbors,
771 NCVVector<Ncv32u> *hypothesesWeights)
789 std::vector<Ncv32u> weights;
799 numHypotheses = (Ncv32u)rects.size();
807 memcpy(hypothesesWeights->ptr(), &weights[0], numHypotheses * sizeof(Ncv32u));
816 Ncv32u dstStride,
817 Ncv32u dstWidth,
818 Ncv32u dstHeight,
820 Ncv32u numRects,
829 for (Ncv32u i=0; i<numRects; i++)
835 for (Ncv32u each=rect.y; each<rect.y+rect.height && each<dstHeight; each++)
842 for (Ncv32u each=rect.y; each<rect.y+rect.height && each<dstHeight; each++)
849 for (Ncv32u j=rect.x; j<rect.x+rect.width && j<dstWidth; j++)
856 for (Ncv32u j=rect.x; j<rect.x+rect.width && j<dstWidth; j++)
868 Ncv32u dstStride,
869 Ncv32u dstWidth,
870 Ncv32u dstHeight,
872 Ncv32u numRects,
879 NCVStatus ncvDrawRects_32u_host(Ncv32u *h_dst,
880 Ncv32u dstStride,
881 Ncv32u dstWidth,
882 Ncv32u dstHeight,
884 Ncv32u numRects,
885 Ncv32u color)