template struct cv::cudev::VecTraits<short2>

#include <vec_traits.hpp>

template <>
struct VecTraits<short2>
{
    // typedefs

    typedef short elem_type;

    // enums

    enum
    {
        cn =2,
    };

    // methods

    static
    __host__ __device__ static __forceinline__ short2
    all(short v);

    static
    __host__ __device__ static __forceinline__ short2
    make(const short* v);

    static
    __host__ __device__ static __forceinline__ short2
    make(
        short x,
        short y
        );
};