OpenCV  4.1.0
Open Source Computer Vision
Public Types | Static Public Member Functions | List of all members
cv::cudev::VecTraits< short2 > Struct Template Reference

#include <opencv2/cudev/util/vec_traits.hpp>

Public Types

enum  { cn =2 }
 
typedef short elem_type
 

Static Public Member Functions

__host__ __device__ static __forceinline__ short2 all (short v)
 
__host__ __device__ static __forceinline__ short2 make (const short *v)
 
__host__ __device__ static __forceinline__ short2 make (short x, short y)
 

Member Typedef Documentation

§ elem_type

typedef short cv::cudev::VecTraits< short2 >::elem_type

Member Enumeration Documentation

§ anonymous enum

anonymous enum
Enumerator
cn 

Member Function Documentation

§ all()

__host__ __device__ static __forceinline__ short2 cv::cudev::VecTraits< short2 >::all ( short  v)
inlinestatic

§ make() [1/2]

__host__ __device__ static __forceinline__ short2 cv::cudev::VecTraits< short2 >::make ( const short *  v)
inlinestatic

§ make() [2/2]

__host__ __device__ static __forceinline__ short2 cv::cudev::VecTraits< short2 >::make ( short  x,
short  y 
)
inlinestatic

The documentation for this struct was generated from the following file: