| OpenCV 3.4.8 Open Source Computer Vision

Public Types | Static Public Member Functions | List of all members
cv::cudev::VecTraits< uchar2 > Struct Template Reference
CUDA-accelerated Computer Vision » Device layer

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

## Public Types
enum | { cn =2 }
typedef uchar | elem_type

## Static Public Member Functions
__host__ __device__ static __forceinline__ uchar2 | all (uchar v)
__host__ __device__ static __forceinline__ uchar2 | make (const uchar *v)
__host__ __device__ static __forceinline__ uchar2 | make (uchar x, uchar y)

## Member Typedef Documentation

## § elem_type

typedef uchar cv::cudev::VecTraits< uchar2 >::elem_type

## Member Enumeration Documentation

## § anonymous enum

anonymous enum

Enumerator
cn |

## Member Function Documentation

## § all()

__host__ __device__ static __forceinline__ uchar2 cv::cudev::VecTraits< uchar2 >::all | ( | uchar | v | ) |
| inline static

## § make() [1/2]

__host__ __device__ static __forceinline__ uchar2 cv::cudev::VecTraits< uchar2 >::make | ( | const uchar * | v | ) |
| inline static

## § make() [2/2]

__host__ __device__ static __forceinline__ uchar2 cv::cudev::VecTraits< uchar2 >::make | ( | uchar | x,
|  | uchar | y
| ) |  |
| inline static

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

- opencv2/cudev/util/vec_traits.hpp