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

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

Public Types

enum  { cn =2 }
 
typedef int elem_type
 

Static Public Member Functions

__host__ __device__ static __forceinline__ int2 all (int v)
 
__host__ __device__ static __forceinline__ int2 make (const int *v)
 
__host__ __device__ static __forceinline__ int2 make (int x, int y)
 

Member Typedef Documentation

◆ elem_type

typedef int cv::cudev::VecTraits< int2 >::elem_type

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
cn 

Member Function Documentation

◆ all()

__host__ __device__ static __forceinline__ int2 cv::cudev::VecTraits< int2 >::all ( int  v)
inlinestatic

◆ make() [1/2]

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

◆ make() [2/2]

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

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