Loading...
Searching...
No Matches
vec_traits.hpp File Reference
#include "../common.hpp"
Namespaces | |
namespace | cv |
"black box" representation of the file storage associated with a file on disk. | |
namespace | 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) \
}; \
};
◆ OPENCV_CUDEV_UTIL_VEC_TRAITS_HPP
#define OPENCV_CUDEV_UTIL_VEC_TRAITS_HPP |