Home | History | Annotate | Download | only in Common

Lines Matching refs:half

20 	class half
23 half() = default;
24 explicit half(float f);
28 half &operator=(half h);
29 half &operator=(float f);
35 inline half shortAsHalf(short s)
39 half h;
56 void toRGB16F(half rgb[3]) const
61 rgb[0] = half(R * factor);
62 rgb[1] = half(G * factor);
63 rgb[2] = half(B * factor);
73 static inline half float11ToFloat16(unsigned short fp11)
78 static inline half float10ToFloat16(unsigned short fp10)
84 void toRGB16F(half rgb[3]) const