Home
last modified time | relevance | path

Searched defs:saturate_cast (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/modules/core/include/opencv2/core/cuda/
Dsaturate_cast.hpp56 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(uchar v) { return _Tp(v); } in saturate_cast() function
57 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(schar v) { return _Tp(v); } in saturate_cast() function
58 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(ushort v) { return _Tp(v); } in saturate_cast() function
59 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(short v) { return _Tp(v); } in saturate_cast() function
60 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(uint v) { return _Tp(v); } in saturate_cast() function
61 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(int v) { return _Tp(v); } in saturate_cast() function
62 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(float v) { return _Tp(v); } in saturate_cast() function
63 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(double v) { return _Tp(v); } in saturate_cast() function
65 template<> __device__ __forceinline__ uchar saturate_cast<uchar>(schar v) in saturate_cast() function
72 template<> __device__ __forceinline__ uchar saturate_cast<uchar>(short v) in saturate_cast() function
[all …]
Dvec_math.hpp102 template<typename T> static __device__ __forceinline__ T saturate_cast(const uchar1& v) {return vec… in saturate_cast() function
103 template<typename T> static __device__ __forceinline__ T saturate_cast(const char1& v) {return vec_… in saturate_cast() function
104 template<typename T> static __device__ __forceinline__ T saturate_cast(const ushort1& v) {return ve… in saturate_cast() function
105 template<typename T> static __device__ __forceinline__ T saturate_cast(const short1& v) {return vec… in saturate_cast() function
106 template<typename T> static __device__ __forceinline__ T saturate_cast(const uint1& v) {return vec_… in saturate_cast() function
107 template<typename T> static __device__ __forceinline__ T saturate_cast(const int1& v) {return vec_m… in saturate_cast() function
108 template<typename T> static __device__ __forceinline__ T saturate_cast(const float1& v) {return vec… in saturate_cast() function
109 template<typename T> static __device__ __forceinline__ T saturate_cast(const double1& v) {return ve… in saturate_cast() function
111 template<typename T> static __device__ __forceinline__ T saturate_cast(const uchar2& v) {return vec… in saturate_cast() function
112 template<typename T> static __device__ __forceinline__ T saturate_cast(const char2& v) {return vec_… in saturate_cast() function
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
Dsaturate_cast.hpp56 template <typename T> __device__ __forceinline__ T saturate_cast(uchar v) { return T(v); } in saturate_cast() function
57 template <typename T> __device__ __forceinline__ T saturate_cast(schar v) { return T(v); } in saturate_cast() function
58 template <typename T> __device__ __forceinline__ T saturate_cast(ushort v) { return T(v); } in saturate_cast() function
59 template <typename T> __device__ __forceinline__ T saturate_cast(short v) { return T(v); } in saturate_cast() function
60 template <typename T> __device__ __forceinline__ T saturate_cast(uint v) { return T(v); } in saturate_cast() function
61 template <typename T> __device__ __forceinline__ T saturate_cast(int v) { return T(v); } in saturate_cast() function
62 template <typename T> __device__ __forceinline__ T saturate_cast(float v) { return T(v); } in saturate_cast() function
63 template <typename T> __device__ __forceinline__ T saturate_cast(double v) { return T(v); } in saturate_cast() function
65 template <> __device__ __forceinline__ uchar saturate_cast<uchar>(schar v) in saturate_cast() function
72 template <> __device__ __forceinline__ uchar saturate_cast<uchar>(short v) in saturate_cast() function
[all …]
Dvec_math.hpp100 template<typename T> __device__ __forceinline__ T saturate_cast(const uchar1& v) { return vec_math_… in saturate_cast() function
101 template<typename T> __device__ __forceinline__ T saturate_cast(const char1& v) { return vec_math_d… in saturate_cast() function
102 template<typename T> __device__ __forceinline__ T saturate_cast(const ushort1& v) { return vec_math… in saturate_cast() function
103 template<typename T> __device__ __forceinline__ T saturate_cast(const short1& v) { return vec_math_… in saturate_cast() function
104 template<typename T> __device__ __forceinline__ T saturate_cast(const uint1& v) { return vec_math_d… in saturate_cast() function
105 template<typename T> __device__ __forceinline__ T saturate_cast(const int1& v) { return vec_math_de… in saturate_cast() function
106 template<typename T> __device__ __forceinline__ T saturate_cast(const float1& v) { return vec_math_… in saturate_cast() function
107 template<typename T> __device__ __forceinline__ T saturate_cast(const double1& v) { return vec_math… in saturate_cast() function
109 template<typename T> __device__ __forceinline__ T saturate_cast(const uchar2& v) { return vec_math_… in saturate_cast() function
110 template<typename T> __device__ __forceinline__ T saturate_cast(const char2& v) { return vec_math_d… in saturate_cast() function
[all …]
/external/opencv3/modules/hal/include/opencv2/hal/
Ddefs.h601 template<typename _Tp> static inline _Tp saturate_cast(uchar v) { return _Tp(v); } in saturate_cast() function
603 template<typename _Tp> static inline _Tp saturate_cast(schar v) { return _Tp(v); } in saturate_cast() function
605 template<typename _Tp> static inline _Tp saturate_cast(ushort v) { return _Tp(v); } in saturate_cast() function
607 template<typename _Tp> static inline _Tp saturate_cast(short v) { return _Tp(v); } in saturate_cast() function
609 template<typename _Tp> static inline _Tp saturate_cast(unsigned v) { return _Tp(v); } in saturate_cast() function
611 template<typename _Tp> static inline _Tp saturate_cast(int v) { return _Tp(v); } in saturate_cast() function
613 template<typename _Tp> static inline _Tp saturate_cast(float v) { return _Tp(v); } in saturate_cast() function
615 template<typename _Tp> static inline _Tp saturate_cast(double v) { return _Tp(v); } in saturate_cast() function
617 template<typename _Tp> static inline _Tp saturate_cast(int64 v) { return _Tp(v); } in saturate_cast() function
619 template<typename _Tp> static inline _Tp saturate_cast(uint64 v) { return _Tp(v); } in saturate_cast() function