_TDemoteClampNN 113 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp template<typename Tin> inline __host__ __device__ void _TDemoteClampNN(Tin &a, Ncv8u &out) {out = (Ncv8u)CLAMP_0_255(a+0.5f);} _TDemoteClampNN 114 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp template<typename Tin> inline __host__ __device__ void _TDemoteClampNN(Tin &a, Ncv16u &out) {out = (Ncv16u)CLAMP(a+0.5f, 0, USHRT_MAX);} _TDemoteClampNN 115 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp template<typename Tin> inline __host__ __device__ void _TDemoteClampNN(Tin &a, Ncv32u &out) {out = (Ncv32u)CLAMP(a+0.5f, 0, UINT_MAX);} _TDemoteClampNN 116 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp template<typename Tin> inline __host__ __device__ void _TDemoteClampNN(Tin &a, Ncv32f &out) {out = (Ncv32f)a;}