OpenCV  4.0.1
Open Source Computer Vision
Namespaces | Macros | Functions
saturate_cast.hpp File Reference
#include "../common.hpp"

Namespaces

 cv
 "black box" representation of the file storage associated with a file on disk.
 
 cv::cudev
 

Macros

#define OPENCV_CUDEV_UTIL_SATURATE_CAST_HPP
 

Functions

template<typename T , typename D >
__device__ __forceinline__ D cv::cudev::cast_fp16 (T v)
 
template<>
__device__ __forceinline__ short cv::cudev::cast_fp16< float, short > (float v)
 
template<>
__device__ __forceinline__ float cv::cudev::cast_fp16< short, float > (short v)
 
template<typename T >
__device__ __forceinline__ T cv::cudev::saturate_cast (uchar v)
 
template<typename T >
__device__ __forceinline__ T cv::cudev::saturate_cast (schar v)
 
template<typename T >
__device__ __forceinline__ T cv::cudev::saturate_cast (ushort v)
 
template<typename T >
__device__ __forceinline__ T cv::cudev::saturate_cast (short v)
 
template<typename T >
__device__ __forceinline__ T cv::cudev::saturate_cast (uint v)
 
template<typename T >
__device__ __forceinline__ T cv::cudev::saturate_cast (int v)
 
template<typename T >
__device__ __forceinline__ T cv::cudev::saturate_cast (float v)
 
template<typename T >
__device__ __forceinline__ T cv::cudev::saturate_cast (double v)
 
template<>
__device__ __forceinline__ schar cv::cudev::saturate_cast< schar > (uchar v)
 
template<>
__device__ __forceinline__ schar cv::cudev::saturate_cast< schar > (short v)
 
template<>
__device__ __forceinline__ schar cv::cudev::saturate_cast< schar > (ushort v)
 
template<>
__device__ __forceinline__ schar cv::cudev::saturate_cast< schar > (int v)
 
template<>
__device__ __forceinline__ schar cv::cudev::saturate_cast< schar > (uint v)
 
template<>
__device__ __forceinline__ schar cv::cudev::saturate_cast< schar > (float v)
 
template<>
__device__ __forceinline__ schar cv::cudev::saturate_cast< schar > (double v)
 
template<>
__device__ __forceinline__ short cv::cudev::saturate_cast< short > (ushort v)
 
template<>
__device__ __forceinline__ short cv::cudev::saturate_cast< short > (int v)
 
template<>
__device__ __forceinline__ short cv::cudev::saturate_cast< short > (uint v)
 
template<>
__device__ __forceinline__ short cv::cudev::saturate_cast< short > (float v)
 
template<>
__device__ __forceinline__ short cv::cudev::saturate_cast< short > (double v)
 
template<>
__device__ __forceinline__ uchar cv::cudev::saturate_cast< uchar > (schar v)
 
template<>
__device__ __forceinline__ uchar cv::cudev::saturate_cast< uchar > (short v)
 
template<>
__device__ __forceinline__ uchar cv::cudev::saturate_cast< uchar > (ushort v)
 
template<>
__device__ __forceinline__ uchar cv::cudev::saturate_cast< uchar > (int v)
 
template<>
__device__ __forceinline__ uchar cv::cudev::saturate_cast< uchar > (uint v)
 
template<>
__device__ __forceinline__ uchar cv::cudev::saturate_cast< uchar > (float v)
 
template<>
__device__ __forceinline__ uchar cv::cudev::saturate_cast< uchar > (double v)
 
template<>
__device__ __forceinline__ uint cv::cudev::saturate_cast< uint > (schar v)
 
template<>
__device__ __forceinline__ uint cv::cudev::saturate_cast< uint > (short v)
 
template<>
__device__ __forceinline__ uint cv::cudev::saturate_cast< uint > (int v)
 
template<>
__device__ __forceinline__ uint cv::cudev::saturate_cast< uint > (float v)
 
template<>
__device__ __forceinline__ uint cv::cudev::saturate_cast< uint > (double v)
 
template<>
__device__ __forceinline__ ushort cv::cudev::saturate_cast< ushort > (schar v)
 
template<>
__device__ __forceinline__ ushort cv::cudev::saturate_cast< ushort > (short v)
 
template<>
__device__ __forceinline__ ushort cv::cudev::saturate_cast< ushort > (int v)
 
template<>
__device__ __forceinline__ ushort cv::cudev::saturate_cast< ushort > (uint v)
 
template<>
__device__ __forceinline__ ushort cv::cudev::saturate_cast< ushort > (float v)
 
template<>
__device__ __forceinline__ ushort cv::cudev::saturate_cast< ushort > (double v)
 

Macro Definition Documentation

§ OPENCV_CUDEV_UTIL_SATURATE_CAST_HPP

#define OPENCV_CUDEV_UTIL_SATURATE_CAST_HPP