OpenCV: cudev/include/opencv2/cudev/util/vec_traits.hpp File Reference

| OpenCV 3.4.2 Open Source Computer Vision

Classes | Namespaces | Macros
vec_traits.hpp File Reference
`#include "../common.hpp"`

## Classes
struct | cv::cudev::MakeVec< T, CN >
struct | cv::cudev::MakeVec< bool, 1 >
struct | cv::cudev::MakeVec< bool, 2 >
struct | cv::cudev::MakeVec< bool, 3 >
struct | cv::cudev::MakeVec< bool, 4 >
struct | cv::cudev::MakeVec< double, 1 >
struct | cv::cudev::MakeVec< double, 2 >
struct | cv::cudev::MakeVec< double, 3 >
struct | cv::cudev::MakeVec< double, 4 >
struct | cv::cudev::MakeVec< float, 1 >
struct | cv::cudev::MakeVec< float, 2 >
struct | cv::cudev::MakeVec< float, 3 >
struct | cv::cudev::MakeVec< float, 4 >
struct | cv::cudev::MakeVec< schar, 1 >
struct | cv::cudev::MakeVec< schar, 2 >
struct | cv::cudev::MakeVec< schar, 3 >
struct | cv::cudev::MakeVec< schar, 4 >
struct | cv::cudev::MakeVec< short, 1 >
struct | cv::cudev::MakeVec< short, 2 >
struct | cv::cudev::MakeVec< short, 3 >
struct | cv::cudev::MakeVec< short, 4 >
struct | cv::cudev::MakeVec< uchar, 1 >
struct | cv::cudev::MakeVec< uchar, 2 >
struct | cv::cudev::MakeVec< uchar, 3 >
struct | cv::cudev::MakeVec< uchar, 4 >
struct | cv::cudev::MakeVec< uint, 1 >
struct | cv::cudev::MakeVec< uint, 2 >
struct | cv::cudev::MakeVec< uint, 3 >
struct | cv::cudev::MakeVec< uint, 4 >
struct | cv::cudev::MakeVec< ushort, 1 >
struct | cv::cudev::MakeVec< ushort, 2 >
struct | cv::cudev::MakeVec< ushort, 3 >
struct | cv::cudev::MakeVec< ushort, 4 >
struct | cv::cudev::VecTraits< T >
struct | cv::cudev::VecTraits< char1 >
struct | cv::cudev::VecTraits< char2 >
struct | cv::cudev::VecTraits< char3 >
struct | cv::cudev::VecTraits< char4 >
struct | cv::cudev::VecTraits< double >
struct | cv::cudev::VecTraits< double1 >
struct | cv::cudev::VecTraits< double2 >
struct | cv::cudev::VecTraits< double3 >
struct | cv::cudev::VecTraits< double4 >
struct | cv::cudev::VecTraits< float >
struct | cv::cudev::VecTraits< float1 >
struct | cv::cudev::VecTraits< float2 >
struct | cv::cudev::VecTraits< float3 >
struct | cv::cudev::VecTraits< float4 >
struct | cv::cudev::VecTraits< int1 >
struct | cv::cudev::VecTraits< int2 >
struct | cv::cudev::VecTraits< int3 >
struct | cv::cudev::VecTraits< int4 >
struct | cv::cudev::VecTraits< schar >
struct | cv::cudev::VecTraits< short >
struct | cv::cudev::VecTraits< short1 >
struct | cv::cudev::VecTraits< short2 >
struct | cv::cudev::VecTraits< short3 >
struct | cv::cudev::VecTraits< short4 >
struct | cv::cudev::VecTraits< uchar >
struct | cv::cudev::VecTraits< uchar1 >
struct | cv::cudev::VecTraits< uchar2 >
struct | cv::cudev::VecTraits< uchar3 >
struct | cv::cudev::VecTraits< uchar4 >
struct | cv::cudev::VecTraits< uint >
struct | cv::cudev::VecTraits< uint1 >
struct | cv::cudev::VecTraits< uint2 >
struct | cv::cudev::VecTraits< uint3 >
struct | cv::cudev::VecTraits< uint4 >
struct | cv::cudev::VecTraits< ushort >
struct | cv::cudev::VecTraits< ushort1 >
struct | cv::cudev::VecTraits< ushort2 >
struct | cv::cudev::VecTraits< ushort3 >
struct | cv::cudev::VecTraits< ushort4 >

## Namespaces
| cv
| cv::cudev

## Macros
#define | CV_CUDEV_DATA_TYPE_INST(_depth_type, _channel_num)
#define | CV_CUDEV_MAKE_VEC_INST(elem_type)
#define | CV_CUDEV_VEC_TRAITS_INST(type)
#define | OPENCV_CUDEV_UTIL_VEC_TRAITS_HPP

## Macro Definition Documentation

## ◆ CV_CUDEV_DATA_TYPE_INST

#define CV_CUDEV_DATA_TYPE_INST | ( |  | _depth_type,
|  |  | _channel_num
| ) |  |

Value:
template <> class DataType< _depth_type ## _channel_num > \
{ \
public: \
typedef _depth_type ## _channel_num value_type; \
typedef value_type work_type; \
typedef _depth_type channel_type; \
typedef value_type vec_type; \
enum { generic_type = 0, \
depth = DataType<channel_type>::depth, \
channels = _channel_num, \
fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), \
type = CV_MAKE_TYPE(depth, channels) \
}; \
};
CV_MAKE_TYPE
#define CV_MAKE_TYPE
Definition: interface.h:84

## ◆ OPENCV_CUDEV_UTIL_VEC_TRAITS_HPP

#define OPENCV_CUDEV_UTIL_VEC_TRAITS_HPP