OpenCV  4.1.0
Open Source Computer Vision
Macros
modules/core/include/opencv2/core/cuda/vec_traits.hpp File Reference
#include "common.hpp"

Macros

#define OPENCV_CUDA_IMPLEMENT_TYPE_VEC(type)
 
#define OPENCV_CUDA_IMPLEMENT_VEC_TRAITS(type)
 

Detailed Description

Deprecated:
Use Device layer instead.

Macro Definition Documentation

#define OPENCV_CUDA_IMPLEMENT_TYPE_VEC (   type)
Value:
template<> struct TypeVec<type, 1> { typedef type vec_type; }; \
template<> struct TypeVec<type ## 1, 1> { typedef type ## 1 vec_type; }; \
template<> struct TypeVec<type, 2> { typedef type ## 2 vec_type; }; \
template<> struct TypeVec<type ## 2, 2> { typedef type ## 2 vec_type; }; \
template<> struct TypeVec<type, 3> { typedef type ## 3 vec_type; }; \
template<> struct TypeVec<type ## 3, 3> { typedef type ## 3 vec_type; }; \
template<> struct TypeVec<type, 4> { typedef type ## 4 vec_type; }; \
template<> struct TypeVec<type ## 4, 4> { typedef type ## 4 vec_type; }; \
template<> struct TypeVec<type, 8> { typedef type ## 8 vec_type; }; \
template<> struct TypeVec<type ## 8, 8> { typedef type ## 8 vec_type; };
#define OPENCV_CUDA_IMPLEMENT_VEC_TRAITS (   type)