template struct cv::cudev::VecTraits<uchar2>
#include <vec_traits.hpp> template <> struct VecTraits<uchar2> { // typedefs typedef uchar elem_type; // enums enum { cn =2, }; // methods static __host__ __device__ static __forceinline__ uchar2 all(uchar v); static __host__ __device__ static __forceinline__ uchar2 make(const uchar* v); static __host__ __device__ static __forceinline__ uchar2 make( uchar x, uchar y ); };