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

1 2

  /external/opencv3/modules/cudalegacy/test/
TestHypothesesGrow.h 54 TestHypothesesGrow(std::string testName, NCVTestSourceProvider<Ncv32u> &src,
55 Ncv32u rectWidth, Ncv32u rectHeight, Ncv32f rectScale,
56 Ncv32u maxLenSrc, Ncv32u lenSrc, Ncv32u maxLenDst, Ncv32u lenDst);
68 NCVTestSourceProvider<Ncv32u> &src;
69 Ncv32u rectWidth;
70 Ncv32u rectHeight
    [all...]
TestCompact.h 54 TestCompact(std::string testName, NCVTestSourceProvider<Ncv32u> &src,
55 Ncv32u length, Ncv32u badElem, Ncv32u badElemPercentage);
67 NCVTestSourceProvider<Ncv32u> &src;
68 Ncv32u length;
69 Ncv32u badElem;
70 Ncv32u badElemPercentage;
TestHypothesesFilter.h 54 TestHypothesesFilter(std::string testName, NCVTestSourceProvider<Ncv32u> &src,
55 Ncv32u numDstRects, Ncv32u minNeighbors, Ncv32f eps);
67 NCVTestSourceProvider<Ncv32u> &src;
68 Ncv32u numDstRects;
69 Ncv32u minNeighbors;
72 Ncv32u canvasWidth;
73 Ncv32u canvasHeight;
TestDrawRects.h 55 TestDrawRects(std::string testName, NCVTestSourceProvider<T> &src, NCVTestSourceProvider<Ncv32u> &src32u,
56 Ncv32u width, Ncv32u height, Ncv32u numRects, T color);
69 NCVTestSourceProvider<Ncv32u> &src32u;
70 Ncv32u width;
71 Ncv32u height;
72 Ncv32u numRects;
TestResize.h 55 Ncv32u width, Ncv32u height, Ncv32u scaleFactor, NcvBool bTextureCache);
67 Ncv32u width;
68 Ncv32u height;
69 Ncv32u scaleFactor;
TestHaarCascadeApplication.h 55 std::string cascadeName, Ncv32u width, Ncv32u height);
69 Ncv32u width;
70 Ncv32u height;
TestIntegralImage.h 56 Ncv32u width, Ncv32u height);
68 Ncv32u width;
69 Ncv32u height;
TestIntegralImageSquared.h 55 Ncv32u width, Ncv32u height);
67 Ncv32u width;
68 Ncv32u height;
TestTranspose.h 56 Ncv32u width, Ncv32u height);
69 Ncv32u width;
70 Ncv32u height;
TestRectStdDev.h 55 Ncv32u width, Ncv32u height, NcvRect32u rect, Ncv32f scaleFactor,
68 Ncv32u width;
69 Ncv32u height;
TestCompact.cpp 45 TestCompact::TestCompact(std::string testName_, NCVTestSourceProvider<Ncv32u> &src_,
46 Ncv32u length_, Ncv32u badElem_, Ncv32u badElemPercentage_)
77 NCVVectorAlloc<Ncv32u> h_vecSrc(*this->allocatorCPU.get(), this->length);
79 NCVVectorAlloc<Ncv32u> d_vecSrc(*this->allocatorGPU.get(), this->length);
82 NCVVectorAlloc<Ncv32u> h_vecDst(*this->allocatorCPU.get(), this->length);
84 NCVVectorAlloc<Ncv32u> d_vecDst(*this->allocatorGPU.get(), this->length);
86 NCVVectorAlloc<Ncv32u> h_vecDst_d(*this->allocatorCPU.get(), this->length);
92 for (Ncv32u i=0; i<this->length; i++
    [all...]
NCVTestSourceProvider.hpp 57 NCVTestSourceProvider(Ncv32u seed, T rangeLow, T rangeHigh, Ncv32u maxWidth, Ncv32u maxHeight)
68 //Ncv32u maxWpitch = alignUp(maxWidth * sizeof(T), devProp.textureAlignment);
70 allocatorCPU.reset(new NCVMemNativeAllocator(NCVMemoryTypeHostPinned, static_cast<Ncv32u>(devProp.textureAlignment)));
79 for (Ncv32u i=0; i<maxHeight; i++)
81 for (Ncv32u j=0; j<data.get()->stride(); j++)
105 allocatorCPU.reset(new NCVMemNativeAllocator(NCVMemoryTypeHostPinned, static_cast<Ncv32u>(devProp.textureAlignment)));
128 for (Ncv32u i=0; i<dst.height(); i++)
130 Ncv32u srcLine = i % this->dataHeight
    [all...]
main_nvidia.cpp 56 Ncv32u maxWidth, Ncv32u maxHeight)
60 Ncv32u i = (Ncv32u)_i;
67 Ncv32u i = (Ncv32u)_i;
77 Ncv32u maxWidth, Ncv32u maxHeight)
81 Ncv32u i = (Ncv32u)_i
    [all...]
TestHypothesesGrow.cpp 46 TestHypothesesGrow::TestHypothesesGrow(std::string testName_, NCVTestSourceProvider<Ncv32u> &src_,
47 Ncv32u rectWidth_, Ncv32u rectHeight_, Ncv32f rectScale_,
48 Ncv32u maxLenSrc_, Ncv32u lenSrc_, Ncv32u maxLenDst_, Ncv32u lenDst_)
87 NCVVectorAlloc<Ncv32u> h_vecSrc(*this->allocatorCPU.get(), this->maxLenSrc);
89 NCVVectorAlloc<Ncv32u> d_vecSrc(*this->allocatorGPU.get(), this->maxLenSrc);
104 NCVVectorReuse<Ncv32u> h_vecDst_as32u(h_vecDst.getSegment(), lenDst * sizeof(NcvRect32u) / sizeof(Ncv32u))
    [all...]
NCVAutoTestLister.hpp 70 Ncv32u nPassed = 0;
71 Ncv32u nFailed = 0;
72 Ncv32u nFailedMem = 0;
81 for (Ncv32u i=0; i<this->tests.size(); i++)
152 for (Ncv32u i=0; i<this->tests.size(); i++)
TestResize.cpp 48 Ncv32u width_, Ncv32u height_, Ncv32u scaleFactor_, NcvBool bTextureCache_)
113 if (sizeof(T) == sizeof(Ncv32u))
115 ncvStat = nppiStDecimate_32u_C1R((Ncv32u *)d_img.ptr(), d_img.pitch(),
116 (Ncv32u *)d_small.ptr(), d_small.pitch(),
137 if (sizeof(T) == sizeof(Ncv32u))
139 ncvStat = nppiStDecimate_32u_C1R_host((Ncv32u *)h_img.ptr(), h_img.pitch(),
140 (Ncv32u *)h_small.ptr(), h_small.pitch(),
161 for (Ncv32u i=0; bLoopVirgin && i < h_small.height(); i++
    [all...]
TestHypothesesFilter.cpp 46 TestHypothesesFilter::TestHypothesesFilter(std::string testName_, NCVTestSourceProvider<Ncv32u> &src_,
47 Ncv32u numDstRects_, Ncv32u minNeighbors_, Ncv32f eps_)
96 NCVVectorAlloc<Ncv32u> h_random32u(*this->allocatorCPU.get(), this->numDstRects * sizeof(NcvRect32u) / sizeof(Ncv32u));
99 Ncv32u srcSlotSize = 2 * this->minNeighbors + 1;
110 Ncv32u randCnt = 0;
113 for (Ncv32u i=0; i<this->numDstRects; i++)
120 Ncv32u numNeighbors = this->minNeighbors + 1 + (Ncv32u)(((1.0 * h_random32u.ptr()[i]) * (this->minNeighbors + 1)) / 0xFFFFFFFF)
    [all...]
TestTranspose.cpp 48 Ncv32u width_, Ncv32u height_)
102 if (sizeof(T) == sizeof(Ncv32u))
104 ncvStat = nppiStTranspose_32u_C1R((Ncv32u *)d_img.ptr(), d_img.pitch(),
105 (Ncv32u *)d_dst.ptr(), d_dst.pitch(),
124 if (sizeof(T) == sizeof(Ncv32u))
126 ncvStat = nppiStTranspose_32u_C1R_host((Ncv32u *)h_img.ptr(), h_img.pitch(),
127 (Ncv32u *)h_dst.ptr(), h_dst.pitch(),
148 for (Ncv32u i=0; bLoopVirgin && i < this->width; i++)
150 for (Ncv32u j=0; bLoopVirgin && j < this->height; j++
    [all...]
  /external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
NPP_staging.hpp 117 Ncv32u nStep; ///< pitch
142 Ncv32u nStep,
143 Ncv32u *hpSize);
179 Ncv32u nSrcStep,
182 Ncv32u nDstStep,
213 Ncv32u nSrcStep,
216 Ncv32u nDstStep,
235 Ncv32u nSrcStep,
236 Ncv32u *hpSize);
262 Ncv32u nSrcStep
    [all...]
NCVHaarObjectDetection.hpp 84 __host__ NCVStatus setRect(Ncv32u rectX, Ncv32u rectY, Ncv32u rectWidth, Ncv32u rectHeight, Ncv32u /*clsWidth*/, Ncv32u /*clsHeight*/)
100 __device__ __host__ void getRect(Ncv32u *rectX, Ncv32u *rectY, Ncv32u *rectWidth, Ncv32u *rectHeight
    [all...]
NCVBroxOpticalFlow.hpp 78 Ncv32u number_of_inner_iterations;
80 Ncv32u number_of_outer_iterations;
82 Ncv32u number_of_solver_iterations;
NCV.hpp 128 typedef unsigned int Ncv32u;
162 Ncv32u x; ///< x-coordinate of upper left corner.
163 Ncv32u y; ///< y-coordinate of upper left corner.
164 Ncv32u width; ///< Rectangle width.
165 Ncv32u height; ///< Rectangle height.
167 __host__ __device__ NcvRect32u(Ncv32u x_, Ncv32u y_, Ncv32u width_, Ncv32u height_)
183 Ncv32u width; ///< Rectangle width
    [all...]
  /external/opencv3/modules/cudalegacy/src/cuda/
NCV.cu 55 const Ncv32u NUMTHREADS_DRAWRECTS = 32;
56 const Ncv32u NUMTHREADS_DRAWRECTS_LOG2 = 5;
61 Ncv32u dstStride,
62 Ncv32u dstWidth,
63 Ncv32u dstHeight,
65 Ncv32u numRects,
68 Ncv32u blockId = blockIdx.y * 65535 + blockIdx.x;
78 Ncv32u pt0x, pt0y;
81 Ncv32u numChunks = (curRect.height + NUMTHREADS_DRAWRECTS - 1) >> NUMTHREADS_DRAWRECTS_LOG2;
88 for (Ncv32u chunkId = 0; chunkId < numChunks; chunkId++
    [all...]
NCVHaarObjectDetection.cu 92 __device__ Ncv32u warpScanInclusive(Ncv32u idata, volatile Ncv32u *s_Data)
101 const Ncv32u n = cv::cuda::device::shfl_up(idata, i);
108 Ncv32u pos = 2 * threadIdx.x - (threadIdx.x & (K_WARP_SIZE - 1));
123 __device__ __forceinline__ Ncv32u warpScanExclusive(Ncv32u idata, volatile Ncv32u *s_Data)
128 template <Ncv32u tiNumScanThreads>
129 __device__ Ncv32u scan1Inclusive(Ncv32u idata, volatile Ncv32u *s_Data
    [all...]
NPP_staging.cu 55 texture<Ncv32u, 1, cudaReadModeElementType> tex32u;
113 Ncv32u pos = 2 * threadIdx.x - (threadIdx.x & (K_WARP_SIZE - 1));
129 Ncv32u pos = 2 * threadIdx.x - (threadIdx.x & (K_WARP_SIZE - 1));
151 template <class T, Ncv32u tiNumScanThreads>
196 const Ncv32u NUM_SCAN_THREADS = 256;
197 const Ncv32u LOG2_NUM_SCAN_THREADS = 8;
226 inline __device__ T readElem(T *d_src, Ncv32u texOffs, Ncv32u srcStride, Ncv32u curElemOffs);
230 inline __device__ Ncv8u readElem<Ncv8u>(Ncv8u *d_src, Ncv32u texOffs, Ncv32u srcStride, Ncv32u curElemOffs
    [all...]

Completed in 190 milliseconds

1 2