Lines Matching refs:pix
183 template <typename D> __device__ __forceinline__ D toDst(const uchar3& pix);
184 template <> __device__ __forceinline__ uchar toDst<uchar>(const uchar3& pix)
187 return f(pix);
189 template <> __device__ __forceinline__ uchar3 toDst<uchar3>(const uchar3& pix)
191 return pix;
193 template <> __device__ __forceinline__ uchar4 toDst<uchar4>(const uchar3& pix)
195 return make_uchar4(pix.x, pix.y, pix.z, 255);
305 template <typename D> __device__ __forceinline__ D toDst(const ushort3& pix);
306 template <> __device__ __forceinline__ ushort toDst<ushort>(const ushort3& pix)
309 return f(pix);
311 template <> __device__ __forceinline__ ushort3 toDst<ushort3>(const ushort3& pix)
313 return pix;
315 template <> __device__ __forceinline__ ushort4 toDst<ushort4>(const ushort3& pix)
317 return make_ushort4(pix.x, pix.y, pix.z, numeric_limits<ushort>::max());