Searched defs:saturate_cast (Results 1 – 5 of 5) sorted by relevance
56 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(uchar v) { return _Tp(v); } in saturate_cast() function57 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(schar v) { return _Tp(v); } in saturate_cast() function58 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(ushort v) { return _Tp(v); } in saturate_cast() function59 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(short v) { return _Tp(v); } in saturate_cast() function60 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(uint v) { return _Tp(v); } in saturate_cast() function61 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(int v) { return _Tp(v); } in saturate_cast() function62 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(float v) { return _Tp(v); } in saturate_cast() function63 template<typename _Tp> __device__ __forceinline__ _Tp saturate_cast(double v) { return _Tp(v); } in saturate_cast() function65 template<> __device__ __forceinline__ uchar saturate_cast<uchar>(schar v) in saturate_cast() function72 template<> __device__ __forceinline__ uchar saturate_cast<uchar>(short v) in saturate_cast() function[all …]
102 template<typename T> static __device__ __forceinline__ T saturate_cast(const uchar1& v) {return vec… in saturate_cast() function103 template<typename T> static __device__ __forceinline__ T saturate_cast(const char1& v) {return vec_… in saturate_cast() function104 template<typename T> static __device__ __forceinline__ T saturate_cast(const ushort1& v) {return ve… in saturate_cast() function105 template<typename T> static __device__ __forceinline__ T saturate_cast(const short1& v) {return vec… in saturate_cast() function106 template<typename T> static __device__ __forceinline__ T saturate_cast(const uint1& v) {return vec_… in saturate_cast() function107 template<typename T> static __device__ __forceinline__ T saturate_cast(const int1& v) {return vec_m… in saturate_cast() function108 template<typename T> static __device__ __forceinline__ T saturate_cast(const float1& v) {return vec… in saturate_cast() function109 template<typename T> static __device__ __forceinline__ T saturate_cast(const double1& v) {return ve… in saturate_cast() function111 template<typename T> static __device__ __forceinline__ T saturate_cast(const uchar2& v) {return vec… in saturate_cast() function112 template<typename T> static __device__ __forceinline__ T saturate_cast(const char2& v) {return vec_… in saturate_cast() function[all …]
56 template <typename T> __device__ __forceinline__ T saturate_cast(uchar v) { return T(v); } in saturate_cast() function57 template <typename T> __device__ __forceinline__ T saturate_cast(schar v) { return T(v); } in saturate_cast() function58 template <typename T> __device__ __forceinline__ T saturate_cast(ushort v) { return T(v); } in saturate_cast() function59 template <typename T> __device__ __forceinline__ T saturate_cast(short v) { return T(v); } in saturate_cast() function60 template <typename T> __device__ __forceinline__ T saturate_cast(uint v) { return T(v); } in saturate_cast() function61 template <typename T> __device__ __forceinline__ T saturate_cast(int v) { return T(v); } in saturate_cast() function62 template <typename T> __device__ __forceinline__ T saturate_cast(float v) { return T(v); } in saturate_cast() function63 template <typename T> __device__ __forceinline__ T saturate_cast(double v) { return T(v); } in saturate_cast() function65 template <> __device__ __forceinline__ uchar saturate_cast<uchar>(schar v) in saturate_cast() function72 template <> __device__ __forceinline__ uchar saturate_cast<uchar>(short v) in saturate_cast() function[all …]
100 template<typename T> __device__ __forceinline__ T saturate_cast(const uchar1& v) { return vec_math_… in saturate_cast() function101 template<typename T> __device__ __forceinline__ T saturate_cast(const char1& v) { return vec_math_d… in saturate_cast() function102 template<typename T> __device__ __forceinline__ T saturate_cast(const ushort1& v) { return vec_math… in saturate_cast() function103 template<typename T> __device__ __forceinline__ T saturate_cast(const short1& v) { return vec_math_… in saturate_cast() function104 template<typename T> __device__ __forceinline__ T saturate_cast(const uint1& v) { return vec_math_d… in saturate_cast() function105 template<typename T> __device__ __forceinline__ T saturate_cast(const int1& v) { return vec_math_de… in saturate_cast() function106 template<typename T> __device__ __forceinline__ T saturate_cast(const float1& v) { return vec_math_… in saturate_cast() function107 template<typename T> __device__ __forceinline__ T saturate_cast(const double1& v) { return vec_math… in saturate_cast() function109 template<typename T> __device__ __forceinline__ T saturate_cast(const uchar2& v) { return vec_math_… in saturate_cast() function110 template<typename T> __device__ __forceinline__ T saturate_cast(const char2& v) { return vec_math_d… in saturate_cast() function[all …]
601 template<typename _Tp> static inline _Tp saturate_cast(uchar v) { return _Tp(v); } in saturate_cast() function603 template<typename _Tp> static inline _Tp saturate_cast(schar v) { return _Tp(v); } in saturate_cast() function605 template<typename _Tp> static inline _Tp saturate_cast(ushort v) { return _Tp(v); } in saturate_cast() function607 template<typename _Tp> static inline _Tp saturate_cast(short v) { return _Tp(v); } in saturate_cast() function609 template<typename _Tp> static inline _Tp saturate_cast(unsigned v) { return _Tp(v); } in saturate_cast() function611 template<typename _Tp> static inline _Tp saturate_cast(int v) { return _Tp(v); } in saturate_cast() function613 template<typename _Tp> static inline _Tp saturate_cast(float v) { return _Tp(v); } in saturate_cast() function615 template<typename _Tp> static inline _Tp saturate_cast(double v) { return _Tp(v); } in saturate_cast() function617 template<typename _Tp> static inline _Tp saturate_cast(int64 v) { return _Tp(v); } in saturate_cast() function619 template<typename _Tp> static inline _Tp saturate_cast(uint64 v) { return _Tp(v); } in saturate_cast() function