HomeSort by relevance Sort by last modified time
    Searched refs:Ncv32u (Results 26 - 44 of 44) sorted by null

12

  /external/opencv3/modules/cudalegacy/test/
TestDrawRects.cpp 48 NCVTestSourceProvider<Ncv32u> &src32u_,
49 Ncv32u width_, Ncv32u height_, Ncv32u numRects_, T color_)
107 NCVVectorReuse<Ncv32u> h_rects_as32u(h_rects.getSegment());
110 for (Ncv32u i=0; i<this->numRects; i++)
112 h_rects.ptr()[i].x = (Ncv32u)(((1.0 * h_rects.ptr()[i].x) / RAND_MAX) * (this->width-2));
113 h_rects.ptr()[i].y = (Ncv32u)(((1.0 * h_rects.ptr()[i].y) / RAND_MAX) * (this->height-2));
114 h_rects.ptr()[i].width = (Ncv32u)(((1.0 * h_rects.ptr()[i].width) / RAND_MAX) * (this->width+10 - h_rects.ptr()[i].x));
115 h_rects.ptr()[i].height = (Ncv32u)(((1.0 * h_rects.ptr()[i].height) / RAND_MAX) * (this->height+10 - h_rects.ptr()[i].y))
    [all...]
TestRectStdDev.cpp 47 Ncv32u width_, Ncv32u height_, NcvRect32u rect_, Ncv32f scaleFactor_,
89 Ncv32u normWidth = (Ncv32u)_normWidth;
90 Ncv32u normHeight = (Ncv32u)_normHeight;
93 Ncv32u widthII = this->width + 1;
94 Ncv32u heightII = this->height + 1;
95 Ncv32u widthSII = this->width + 1;
96 Ncv32u heightSII = this->height + 1
    [all...]
TestIntegralImageSquared.cpp 47 Ncv32u width_, Ncv32u height_)
76 Ncv32u widthSII = this->width + 1;
77 Ncv32u heightSII = this->height + 1;
90 Ncv32u bufSize;
124 for (Ncv32u i=0; bLoopVirgin && i < h_img.height() + 1; i++)
126 for (Ncv32u j=0; bLoopVirgin && j < h_img.width() + 1; j++)
NCVTest.hpp 64 std::map<std::string, Ncv32u> statsNums;
163 this->allocatorGPU.reset(new NCVMemStackAllocator(static_cast<Ncv32u>(devProp.textureAlignment)));
164 this->allocatorCPU.reset(new NCVMemStackAllocator(static_cast<Ncv32u>(devProp.textureAlignment)));
179 Ncv32u maxGPUsize = (Ncv32u)this->allocatorGPU.get()->maxSize();
180 Ncv32u maxCPUsize = (Ncv32u)this->allocatorCPU.get()->maxSize();
185 this->allocatorGPU.reset(new NCVMemStackAllocator(NCVMemoryTypeDevice, maxGPUsize, static_cast<Ncv32u>(devProp.textureAlignment)));
187 this->allocatorCPU.reset(new NCVMemStackAllocator(NCVMemoryTypeHostPinned, maxCPUsize, static_cast<Ncv32u>(devProp.textureAlignment)));
221 for (std::map<std::string,Ncv32u>::iterator it=report.statsNums.begin()
    [all...]
TestIntegralImage.cpp 48 Ncv32u width_, Ncv32u height_)
82 Ncv32u widthII = this->width + 1;
83 Ncv32u heightII = this->height + 1;
96 Ncv32u bufSize;
126 (Ncv32u *)d_imgII.ptr(), d_imgII.pitch(),
150 (Ncv32u *)h_imgII.ptr(), h_imgII.pitch(),
172 for (Ncv32u i=0; bLoopVirgin && i < h_img.height() + 1; i++)
174 for (Ncv32u j=0; bLoopVirgin && j < h_img.width() + 1; j++)
214 template class TestIntegralImage<Ncv8u, Ncv32u>;
    [all...]
TestHaarCascadeApplication.cpp 86 std::string cascadeName_, Ncv32u width_, Ncv32u height_)
116 Ncv32u numStages, numNodes, numFeatures;
174 Ncv32u integralWidth = this->width + 1;
175 Ncv32u integralHeight = this->height + 1;
177 NCVMatrixAlloc<Ncv32u> d_integralImage(*this->allocatorGPU.get(), integralWidth, integralHeight);
181 NCVMatrixAlloc<Ncv32u> h_integralImage(*this->allocatorCPU.get(), integralWidth, integralHeight);
188 NCVMatrixAlloc<Ncv32u> d_pixelMask(*this->allocatorGPU.get(), this->width, this->height);
192 NCVMatrixAlloc<Ncv32u> h_pixelMask(*this->allocatorCPU.get(), this->width, this->height);
201 Ncv32u szTmpBufIntegral, szTmpBufSqIntegral
    [all...]
TestHaarCascadeLoader.cpp 72 Ncv32u numStages, numNodes, numFeatures;
73 Ncv32u numStages_2 = 0, numNodes_2 = 0, numFeatures_2 = 0;
  /external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
NCVPyramid.hpp 71 const Ncv32u nElem = this->_arr.size();
72 for (Ncv32u i=0; i<nElem; i++)
106 Ncv32u nLayers;
  /external/opencv3/modules/cudalegacy/src/
NCV.cpp 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
    [all...]
interpolate_frames.cpp 91 state.nStep = static_cast<Ncv32u>(step);
  /external/opencv3/samples/gpu/
cascadeclassifier_nvidia_api.cpp 87 Ncv32u width, Ncv32u height,
111 for (Ncv32u i=0; i<(Ncv32u)srcdst->rows; i++)
126 Ncv32u numDetections;
145 for (Ncv32u i=0; i<(Ncv32u)srcdst->rows; i++)
226 NCVMemNativeAllocator gpuCascadeAllocator(NCVMemoryTypeDevice, static_cast<Ncv32u>(devProp.textureAlignment));
228 NCVMemNativeAllocator cpuCascadeAllocator(NCVMemoryTypeHostPinned, static_cast<Ncv32u>(devProp.textureAlignment));
231 Ncv32u haarNumStages, haarNumNodes, haarNumFeatures
    [all...]
opticalflow_nvidia_api.cpp 205 for (Ncv32u i = 0; i < u.height (); ++i)
207 for (Ncv32u j = 0; j < u.width (); ++j)
338 desc.number_of_inner_iterations = static_cast<Ncv32u>(atoi(argv[++iarg]));
345 desc.number_of_outer_iterations = static_cast<Ncv32u>(atoi(argv[++iarg]));
352 desc.number_of_solver_iterations = static_cast<Ncv32u>(atoi(argv[++iarg]));
408 g_pGPUMemAllocator = Ptr<INCVMemAllocator> (new NCVMemNativeAllocator (NCVMemoryTypeDevice, static_cast<Ncv32u>(devProp.textureAlignment)));
411 g_pHostMemAllocator = Ptr<INCVMemAllocator> (new NCVMemNativeAllocator (NCVMemoryTypeHostPageable, static_cast<Ncv32u>(devProp.textureAlignment)));
611 Ncv32u currentFrame;
  /external/opencv3/modules/cudaoptflow/src/
brox.cpp 115 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(textureAlignment));
172 NCVMatrixReuse<Ncv32f> frame0Mat(frame0MemSeg, static_cast<Ncv32u>(textureAlignment), frame0.cols, frame0.rows, static_cast<Ncv32u>(frame0.step));
173 NCVMatrixReuse<Ncv32f> frame1Mat(frame1MemSeg, static_cast<Ncv32u>(textureAlignment), frame1.cols, frame1.rows, static_cast<Ncv32u>(frame1.step));
174 NCVMatrixReuse<Ncv32f> uMat(uMemSeg, static_cast<Ncv32u>(textureAlignment), u.cols, u.rows, static_cast<Ncv32u>(u.step));
175 NCVMatrixReuse<Ncv32f> vMat(vMemSeg, static_cast<Ncv32u>(textureAlignment), v.cols, v.rows, static_cast<Ncv32u>(v.step));
180 NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, bufSize, static_cast<Ncv32u>(textureAlignment), buf.ptr())
    [all...]
  /external/opencv3/modules/cudalegacy/src/cuda/
NCVPixelOperations.hpp 53 template<> inline __host__ __device__ Ncv32u _pixMaxVal<Ncv32u>() {return UINT_MAX;}
63 template<> inline __host__ __device__ Ncv32u _pixMinVal<Ncv32u>() {return 0;}
77 template<> struct TConvVec2Base<uint1> {typedef Ncv32u TBase;};
78 template<> struct TConvVec2Base<uint3> {typedef Ncv32u TBase;};
79 template<> struct TConvVec2Base<uint4> {typedef Ncv32u TBase;};
89 template<typename TBase, Ncv32u NC> struct TConvBase2Vec;
96 template<> struct TConvBase2Vec<Ncv32u, 1> {typedef uint1 TVec;};
97 template<> struct TConvBase2Vec<Ncv32u, 3> {typedef uint3 TVec;}
    [all...]
NCVPyramid.cu 54 template<typename T, Ncv32u CN> struct __average4_CN {static __host__ __device__ T _average4_CN(const T &p00, const T &p01, const T &p10, const T &p11);};
149 template<typename Tin, typename Tout, Ncv32u CN> struct __lerp_CN {static __host__ __device__ Tout _lerp_CN(const Tin &a, const Tin &b, Ncv32f d);};
185 Ncv32u srcPitch,
187 Ncv32u dstPitch,
190 Ncv32u i = blockIdx.y * blockDim.y + threadIdx.y;
191 Ncv32u j = blockIdx.x * blockDim.x + threadIdx.x;
217 kernelDownsampleX2<<<gDim, bDim, 0, stream>>>((T*)src.data, static_cast<Ncv32u>(src.step),
218 (T*)dst.data, static_cast<Ncv32u>(dst.step), NcvSize32u(dst.cols, dst.rows));
253 Ncv32u srcTopPitch,
256 Ncv32u dstPitch
    [all...]
NCVColorConversion.hpp 87 for (Ncv32u i=0; i<h_imgIn.height(); i++)
89 for (Ncv32u j=0; j<h_imgIn.width(); j++)
NCVBroxOpticalFlow.cu 680 std::vector<Ncv32u> w;
681 std::vector<Ncv32u> h;
726 const Ncv32u kSourceWidth = frame0.width();
727 const Ncv32u kSourceHeight = frame0.height();
743 Ncv32u alignmentValue = gpu_mem_allocator.alignment ();
745 const Ncv32u kStrideAlignmentFloat = alignmentValue / sizeof(float);
746 const Ncv32u kSourcePitch = alignUp(kSourceWidth, kStrideAlignmentFloat) * sizeof(float);
752 const Ncv32u kSizeInPixelsAligned = alignUp(kSourceWidth, kStrideAlignmentFloat)*kSourceHeight;
    [all...]
NCVAlg.hpp 110 template<typename Tdata, class Tfunc, Ncv32u nThreads>
  /external/opencv3/modules/cudaobjdetect/src/
cascadeclassifier.cpp 241 Ncv32u haarNumStages, haarNumNodes, haarNumFeatures;
300 Ncv32u numDetections;
350 Ncv32u flags = 0;
794 Ncv32u bufSize;

Completed in 882 milliseconds

12