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

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

Public Types

enum  { cn =2 }
 
typedef float elem_type
 

Static Public Member Functions

__host__ __device__ static __forceinline__ float2 all (float v)
 
__host__ __device__ static __forceinline__ float2 make (const float *v)
 
__host__ __device__ static __forceinline__ float2 make (float x, float y)
 

Member Typedef Documentation

◆ elem_type

typedef float cv::cudev::VecTraits< float2 >::elem_type

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
cn 

Member Function Documentation

◆ all()

__host__ __device__ static __forceinline__ float2 cv::cudev::VecTraits< float2 >::all ( float  v)
inlinestatic

◆ make() [1/2]

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

◆ make() [2/2]

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

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