Searched refs:CLAMP_0_255 (Results 1 – 2 of 2) sorted by relevance
107 …> inline __host__ __device__ void _TDemoteClampZ(Tin &a, Ncv8u &out) {out = (Ncv8u)CLAMP_0_255(a);} in _TDemoteClampZ()113 …ne __host__ __device__ void _TDemoteClampNN(Tin &a, Ncv8u &out) {out = (Ncv8u)CLAMP_0_255(a+0.5f);} in _TDemoteClampNN()
1016 #define CLAMP_0_255(x) CLAMP(x,0,255) macro