Home
last modified time | relevance | path

Searched refs:work_type (Results 1 – 24 of 24) sorted by relevance

/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
Dreduce_to_column.hpp57 …template <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor, int cn> str…
59 …mplate <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor> struct Reduce…
61 … __device__ __forceinline__ static void call(work_elem_type smem[1][BLOCK_SIZE], work_type& myVal) in call()
68 …mplate <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor> struct Reduce…
70 … __device__ __forceinline__ static void call(work_elem_type smem[2][BLOCK_SIZE], work_type& myVal) in call()
77 …mplate <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor> struct Reduce…
79 … __device__ __forceinline__ static void call(work_elem_type smem[3][BLOCK_SIZE], work_type& myVal) in call()
86 …mplate <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor> struct Reduce…
88 … __device__ __forceinline__ static void call(work_elem_type smem[4][BLOCK_SIZE], work_type& myVal) in call()
98 typedef typename Reductor::work_type work_type; in reduceToColumn() typedef
[all …]
Dreduce.hpp259 template <typename src_type, typename work_type> struct SumReductor
261 typedef typename VecTraits<work_type>::elem_type work_elem_type;
264 work_type sum;
268 sum = VecTraits<work_type>::all(0); in SumReductor()
273 sum = sum + saturate_cast<work_type>(srcVal); in reduceVal()
320 template <class Op, typename src_type, typename work_type> struct MinMaxReductor
322 work_type myval;
337 __device__ void reduceGrid(work_type* result, int tid) in reduceGrid()
339 __shared__ work_type smem[BLOCK_SIZE]; in reduceGrid()
350 … template <typename src_type, typename work_type> struct MinMaxReductor<both, src_type, work_type>
[all …]
Dpyr_up.hpp66 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; in pyrUp() typedef
71 __shared__ work_type s_srcPatch[10][10]; in pyrUp()
72 __shared__ work_type s_dstPatch[20][16]; in pyrUp()
85 s_srcPatch[threadIdx.y][threadIdx.x] = saturate_cast<work_type>(src(srcy, srcx)); in pyrUp()
90 work_type sum = VecTraits<work_type>::all(0); in pyrUp()
110 sum = VecTraits<work_type>::all(0); in pyrUp()
126 sum = VecTraits<work_type>::all(0); in pyrUp()
142 sum = VecTraits<work_type>::all(0); in pyrUp()
Dreduce_to_row.hpp60 typedef typename Reductor::work_type work_type; in reduceToRow() typedef
62 __shared__ work_type smem[BLOCK_SIZE_X * BLOCK_SIZE_Y]; in reduceToRow()
66 work_type myVal = Reductor::initialValue(); in reduceToRow()
76 myVal = op(myVal, saturate_cast<work_type>(src(y, x))); in reduceToRow()
85 volatile work_type* srow = smem + threadIdx.y * BLOCK_SIZE_X; in reduceToRow()
Dpyr_down.hpp66 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; in pyrDown() typedef
68 __shared__ work_type smem[256 + 4]; in pyrDown()
78 work_type sum; in pyrDown()
93 work_type sum; in pyrDown()
108 work_type sum; in pyrDown()
122 work_type sum; in pyrDown()
137 work_type sum; in pyrDown()
152 work_type sum; in pyrDown()
170 work_type sum; in pyrDown()
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/
Dinterpolation.hpp109 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; in operator ()() typedef
111 work_type out = VecTraits<work_type>::all(0); in operator ()()
184 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; in operator ()() typedef
192 work_type sum = VecTraits<work_type>::all(0); in operator ()()
207work_type res = (wsum > numeric_limits<float>::epsilon()) ? VecTraits<work_type>::all(0) : sum / s… in operator ()()
247 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; in operator ()() typedef
255 work_type out = VecTraits<work_type>::all(0); in operator ()()
261 out = out + saturate_cast<work_type>(src(dy, dx)); in operator ()()
307 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; in operator ()() typedef
321 work_type out = VecTraits<work_type>::all(0); in operator ()()
[all …]
/external/opencv3/modules/core/include/opencv2/core/
Dtraits.hpp110 typedef value_type work_type; typedef in cv::DataType
125 typedef int work_type; typedef in cv::DataType
140 typedef int work_type; typedef in cv::DataType
155 typedef int work_type; typedef in cv::DataType
170 typedef int work_type; typedef in cv::DataType
185 typedef int work_type; typedef in cv::DataType
200 typedef int work_type; typedef in cv::DataType
215 typedef value_type work_type; typedef in cv::DataType
230 typedef value_type work_type; typedef in cv::DataType
245 typedef value_type work_type; typedef in cv::DataType
Dtypes.hpp96 typedef value_type work_type; typedef in cv::DataType
187 typedef Point_<typename DataType<_Tp>::work_type> work_type; typedef in cv::DataType
254 typedef Point3_<typename DataType<_Tp>::work_type> work_type; typedef in cv::DataType
314 typedef Size_<typename DataType<_Tp>::work_type> work_type; typedef in cv::DataType
415 typedef Rect_<typename DataType<_Tp>::work_type> work_type; typedef in cv::DataType
491 typedef value_type work_type; typedef in cv::DataType
547 typedef value_type work_type; typedef in cv::DataType
603 typedef Scalar_<typename DataType<_Tp>::work_type> work_type; typedef in cv::DataType
706 typedef float work_type; typedef in cv::DataType
749 typedef int work_type; typedef in cv::DataType
[all …]
Dmatx.hpp235 typedef Matx<typename DataType<_Tp>::work_type, m, n> work_type; typedef in cv::DataType
393 typedef Vec<typename DataType<_Tp>::work_type, cn> work_type; typedef in cv::DataType
841 …return normType == NORM_INF ? (double)normInf<_Tp, typename DataType<_Tp>::work_type>(M.val, m*n) : in norm()
842 normType == NORM_L1 ? (double)normL1<_Tp, typename DataType<_Tp>::work_type>(M.val, m*n) : in norm()
843 std::sqrt((double)normL2Sqr<_Tp, typename DataType<_Tp>::work_type>(M.val, m*n)); in norm()
Dcvstd.inl.hpp62 typedef value_type work_type; typedef in cv::DataType
Daffine.hpp152 typedef Affine3<typename DataType<_Tp>::work_type> work_type; typedef in cv::DataType
/external/opencv3/modules/core/include/opencv2/core/cuda/
Dfilters.hpp92 typedef typename TypeVec<float, VecTraits<elem_type>::cn>::vec_type work_type; in operator ()() typedef
94 work_type out = VecTraits<work_type>::all(0); in operator ()()
123 typedef typename TypeVec<float, VecTraits<elem_type>::cn>::vec_type work_type; typedef
157 work_type sum = VecTraits<work_type>::all(0); in operator ()()
170 work_type res = (!wsum)? VecTraits<work_type>::all(0) : sum / wsum; in operator ()()
200 typedef typename TypeVec<float, VecTraits<elem_type>::cn>::vec_type work_type; in operator ()() typedef
201 work_type out = VecTraits<work_type>::all(0.f); in operator ()()
240 typedef typename TypeVec<float, VecTraits<elem_type>::cn>::vec_type work_type; in operator ()() typedef
241 work_type out = VecTraits<work_type>::all(0.f); in operator ()()
/external/opencv3/modules/cudawarping/src/cuda/
Dremap.cu74 typedef typename TypeVec<float, VecTraits<T>::cn>::vec_type work_type; in call() typedef
79 B<work_type> brd(src.rows, src.cols, VecTraits<work_type>::make(borderValue)); in call()
80 BorderReader< PtrStep<T>, B<work_type> > brdSrc(src, brd); in call()
81 Filter< BorderReader< PtrStep<T>, B<work_type> > > filter_src(brdSrc); in call()
95 typedef typename TypeVec<float, VecTraits<T>::cn>::vec_type work_type; in call() typedef
100 B<work_type> brd(src.rows, src.cols, VecTraits<work_type>::make(borderValue)); in call()
101 BorderReader< PtrStep<T>, B<work_type> > brdSrc(src, brd); in call()
102 Filter< BorderReader< PtrStep<T>, B<work_type> > > filter_src(brdSrc); in call()
129 typedef typename TypeVec<float, VecTraits< type >::cn>::vec_type work_type; \
134 B<work_type> brd(src.rows, src.cols, VecTraits<work_type>::make(borderValue)); \
[all …]
Dwarp.cu145 typedef typename TypeVec<float, VecTraits<T>::cn>::vec_type work_type; in call() typedef
150 B<work_type> brd(src.rows, src.cols, VecTraits<work_type>::make(borderValue)); in call()
151 BorderReader< PtrStep<T>, B<work_type> > brdSrc(src, brd); in call()
152 Filter< BorderReader< PtrStep<T>, B<work_type> > > filter_src(brdSrc); in call()
167 typedef typename TypeVec<float, VecTraits<T>::cn>::vec_type work_type; in call() typedef
172 B<work_type> brd(src.rows, src.cols, VecTraits<work_type>::make(borderValue)); in call()
173 BorderReader< PtrStep<T>, B<work_type> > brdSrc(src, brd); in call()
174 Filter< BorderReader< PtrStep<T>, B<work_type> > > filter_src(brdSrc); in call()
200 typedef typename TypeVec<float, VecTraits< type >::cn>::vec_type work_type; \
205 B<work_type> brd(src.rows, src.cols, VecTraits<work_type>::make(borderValue)); \
[all …]
Dresize.cu73 typedef typename TypeVec<float, VecTraits<T>::cn>::vec_type work_type; in resize_linear() typedef
83 work_type out = VecTraits<work_type>::all(0); in resize_linear()
/external/opencv3/modules/cudaoptflow/src/cuda/
Dpyrlk.cu156 typedef typename TypeVec<float, cn>::vec_type work_type; in sparseKernel() typedef
158 work_type I_patch [PATCH_Y][PATCH_X]; in sparseKernel()
159 work_type dIdx_patch[PATCH_Y][PATCH_X]; in sparseKernel()
160 work_type dIdy_patch[PATCH_Y][PATCH_X]; in sparseKernel()
173work_type dIdx = 3.0f * Tex_I<cn>::read(x+1, y-1) + 10.0f * Tex_I<cn>::read(x+1, y) + 3.0f * Tex_I… in sparseKernel()
176work_type dIdy = 3.0f * Tex_I<cn>::read(x-1, y+1) + 10.0f * Tex_I<cn>::read(x, y+1) + 3.0f * Tex_I… in sparseKernel()
245 work_type I_val = I_patch[i][j]; in sparseKernel()
246 work_type J_val = Tex_J<cn>::read(nextPt.x + x + 0.5f, nextPt.y + y + 0.5f); in sparseKernel()
248 work_type diff = (J_val - I_val) * 32.0f; in sparseKernel()
288 work_type I_val = I_patch[i][j]; in sparseKernel()
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/
Dreduce_to_vec.hpp67 typedef T work_type; typedef
87 typedef T work_type; typedef
107 typedef T work_type; typedef
127 typedef T work_type; typedef
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
Dvec_traits.hpp195 typedef value_type work_type; typedef in cv::DataType
211 typedef value_type work_type; \
263 typedef value_type work_type; typedef in cv::DataType
279 typedef value_type work_type; typedef in cv::DataType
295 typedef value_type work_type; typedef in cv::DataType
311 typedef value_type work_type; typedef in cv::DataType
/external/opencv3/modules/cudafilters/src/cuda/
Dfilter2d.cu98 typedef typename TypeVec<float, VecTraits< type >::cn>::vec_type work_type; \
103 Brd<work_type> brd(dst.rows, dst.cols, VecTraits<work_type>::make(borderValue)); \
104 … BorderReader< tex_filter2D_ ## type ##_reader, Brd<work_type> > brdSrc(texSrc, brd); \
/external/opencv3/modules/superres/src/
Doptical_flow.cpp59 explicit CpuOpticalFlow(int work_type);
83 CpuOpticalFlow::CpuOpticalFlow(int work_type) : in CpuOpticalFlow() argument
84 work_type_(work_type) in CpuOpticalFlow()
417 explicit GpuOpticalFlow(int work_type);
431 GpuOpticalFlow::GpuOpticalFlow(int work_type) : work_type_(work_type) in GpuOpticalFlow() argument
/external/opencv/cv/include/
Dcv.hpp111 int get_work_type() const { return work_type; } in get_work_type()
136 int min_depth, src_type, dst_type, work_type; member in CvBaseImageFilter
/external/opencv/cv/src/
Dcvderiv.cpp387 work_type = CV_MAKETYPE( work_depth, CV_MAT_CN(dst_type)*2 ); in get_work_params()
389 row_sz = cvAlign( width*CV_ELEM_SIZE(work_type), ALIGN ); in get_work_params()
Dcvfilter.cpp107 work_type = CV_MAKETYPE( max_depth, max_cn ); in get_work_params()
112 work_type = src_type; in get_work_params()
115 row_sz = cvAlign( width*CV_ELEM_SIZE(work_type), ALIGN ); in get_work_params()
202 int pix_sz = CV_ELEM_SIZE(src_type), work_pix_sz = CV_ELEM_SIZE(work_type); in start_process()
Dcvsmooth.cpp176 int i, psz = CV_ELEM_SIZE(work_type); in start_process()