OpenCV  4.0.0-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cv::cudev::VecTraits< short2 > Struct Template Reference

#include "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: