Home
last modified time | relevance | path

Searched refs:MakeVec (Results 1 – 20 of 20) sorted by relevance

/external/opencv3/modules/cudev/include/opencv2/cudev/functional/detail/
Dcolor_cvt.hpp75 …template <typename T> __device__ __forceinline__ void setAlpha(typename MakeVec<T, 3>::type& vec, … in setAlpha()
79 …template <typename T> __device__ __forceinline__ void setAlpha(typename MakeVec<T, 4>::type& vec, … in setAlpha()
84 …template <typename T> __device__ __forceinline__ T getAlpha(const typename MakeVec<T, 3>::type& ve… in getAlpha()
89 …template <typename T> __device__ __forceinline__ T getAlpha(const typename MakeVec<T, 4>::type& ve… in getAlpha()
107 : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type>
109 …__device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) c… in operator ()()
111 typename MakeVec<T, dcn>::type dst; in operator ()()
127 : unary_function<typename MakeVec<uchar, scn>::type, ushort>
129 __device__ ushort operator ()(const typename MakeVec<uchar, scn>::type& src) const in operator ()()
244 : unary_function<T, typename MakeVec<T, dcn>::type>
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
Dvec_traits.hpp58 template<typename T, int CN> struct MakeVec;
61 template<> struct MakeVec<elem_type, 1> { typedef elem_type type; }; \
62 template<> struct MakeVec<elem_type, 2> { typedef elem_type ## 2 type; }; \
63 template<> struct MakeVec<elem_type, 3> { typedef elem_type ## 3 type; }; \
64 template<> struct MakeVec<elem_type, 4> { typedef elem_type ## 4 type; };
76 template<> struct MakeVec<schar, 1> { typedef schar type; }; argument
77 template<> struct MakeVec<schar, 2> { typedef char2 type; }; argument
78 template<> struct MakeVec<schar, 3> { typedef char3 type; }; argument
79 template<> struct MakeVec<schar, 4> { typedef char4 type; }; argument
81 template<> struct MakeVec<bool, 1> { typedef uchar type; }; argument
[all …]
Dtype_traits.hpp160 typename MakeVec<
/external/opencv3/modules/cudaarithm/src/cuda/
Dreduce.cu120 …reduceToColumnImpl_<typename MakeVec<T, 2>::type, typename MakeVec<S, 2>::type, typename MakeVec<D… in reduceToColumnImpl()
121 …reduceToColumnImpl_<typename MakeVec<T, 3>::type, typename MakeVec<S, 3>::type, typename MakeVec<D… in reduceToColumnImpl()
122 …reduceToColumnImpl_<typename MakeVec<T, 4>::type, typename MakeVec<S, 4>::type, typename MakeVec<D… in reduceToColumnImpl()
Dsplit_merge.cu71 globPtr<typename MakeVec<T, 2>::type>(dst), in call()
81 globPtr<typename MakeVec<T, 3>::type>(dst), in call()
91 globPtr<typename MakeVec<T, 4>::type>(dst), in call()
168 gridSplit(globPtr<typename MakeVec<T, 2>::type>(src), dstarr, stream); in call()
181 gridSplit(globPtr<typename MakeVec<T, 3>::type>(src), dstarr, stream); in call()
194 gridSplit(globPtr<typename MakeVec<T, 4>::type>(src), dstarr, stream); in call()
Dsum.cu64 typedef typename MakeVec<T, cn>::type src_type; in sumImpl()
65 typedef typename MakeVec<R, cn>::type res_type; in sumImpl()
79 typedef typename MakeVec<T, cn>::type src_type; in sumAbsImpl()
80 typedef typename MakeVec<R, cn>::type res_type; in sumAbsImpl()
94 typedef typename MakeVec<T, cn>::type src_type; in sumSqrImpl()
95 typedef typename MakeVec<R, cn>::type res_type; in sumSqrImpl()
Dcmp_scalar.cu68 #define MAKE_VEC(_type, _cn) typename MakeVec<_type, _cn>::type
135 typedef typename MakeVec<T, cn>::type src_type; in cmpScalarImpl()
136 typedef typename MakeVec<uchar, cn>::type dst_type; in cmpScalarImpl()
Dcopy_make_border.cu94 typedef typename MakeVec<T, cn>::type src_type; in copyMakeBorderImpl()
Dmul_scalar.cu82 typedef typename MakeVec<ScalarDepth, VecTraits<SrcType>::cn>::type ScalarType; in mulScalarImpl()
Dadd_scalar.cu82 typedef typename MakeVec<ScalarDepth, VecTraits<SrcType>::cn>::type ScalarType; in addScalarImpl()
Dsub_scalar.cu92 typedef typename MakeVec<ScalarDepth, VecTraits<SrcType>::cn>::type ScalarType; in subScalarImpl()
Ddiv_scalar.cu140 typedef typename MakeVec<ScalarDepth, VecTraits<SrcType>::cn>::type ScalarType; in divScalarImpl()
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/
Dfunctional.hpp132 template <typename T> struct equal_to : binary_function<T, T, typename MakeVec<uchar, VecTraits<T>:…
134 __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
142 template <typename T> struct not_equal_to : binary_function<T, T, typename MakeVec<uchar, VecTraits…
144 __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
152 template <typename T> struct greater : binary_function<T, T, typename MakeVec<uchar, VecTraits<T>::…
154 __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
162 template <typename T> struct less : binary_function<T, T, typename MakeVec<uchar, VecTraits<T>::cn>…
164 __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
172 template <typename T> struct greater_equal : binary_function<T, T, typename MakeVec<uchar, VecTrait…
174 __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
[all …]
/external/opencv3/modules/cudev/test/
Dtest_split_merge.cu72 GpuMat_<typename MakeVec<T, 2>::type> dst; in test_c2()
96 GpuMat_<typename MakeVec<T, 3>::type> dst; in test_c3()
134 GpuMat_<typename MakeVec<T, 3>::type> d_src(src); in test_c3()
155 GpuMat_<typename MakeVec<T, 4>::type> d_src(src); in test_c4()
/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 ()()
184 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; in operator ()()
247 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; in operator ()()
307 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; in operator ()()
Dgpumat.hpp149 __host__ GpuMat_<typename MakeVec<typename VecTraits<T>::elem_type, cn>::type>
152 … GpuMat_<typename MakeVec<typename VecTraits<T>::elem_type, cn>::type> dst(mat.reshape(cn, rows)); in reshape_()
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
Dtransform.hpp187 typedef typename MakeVec<SrcType, SHIFT>::type read_type; in transformSmart()
188 typedef typename MakeVec<DstType, SHIFT>::type write_type; in transformSmart()
222 typedef typename MakeVec<SrcType1, SHIFT>::type read_type1; in transformSmart()
223 typedef typename MakeVec<SrcType2, SHIFT>::type read_type2; in transformSmart()
224 typedef typename MakeVec<DstType, SHIFT>::type write_type; in transformSmart()
Dreduce.hpp181 typedef typename MakeVec<R, 2>::type val_type;
204 typedef typename MakeVec<R, 3>::type val_type;
230 typedef typename MakeVec<R, 4>::type val_type;
Dpyr_up.hpp66 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; in pyrUp()
Dpyr_down.hpp66 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; in pyrDown()