Home
last modified time | relevance | path

Searched refs:normalizedToFloat (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/image_util/
Dimageformats.cpp19 const float lum = gl::normalizedToFloat(src->L); in readColor()
46 dst->red = gl::normalizedToFloat(src->R); in readColor()
72 dst->alpha = gl::normalizedToFloat(src->A); in readColor()
87 const float lum = gl::normalizedToFloat(src->L); in readColor()
91 dst->alpha = gl::normalizedToFloat(src->A); in readColor()
108 const float lum = gl::normalizedToFloat(src->L); in readColor()
112 dst->alpha = gl::normalizedToFloat(src->A); in readColor()
137 dst->red = gl::normalizedToFloat(src->R); in readColor()
138 dst->green = gl::normalizedToFloat(src->G); in readColor()
171 dst->red = gl::normalizedToFloat(src->R); in readColor()
[all …]
/external/angle/src/libANGLE/renderer/metal/shaders/
Dcopy_buffer.metal220 color.r = normalizedToFloat<5>(getShiftedData<5, 11>(src));
221 color.g = normalizedToFloat<6>(getShiftedData<6, 5>(src));
222 color.b = normalizedToFloat<5>(getShiftedData<5, 0>(src));
241 color.r = normalizedToFloat<4>(getShiftedData<4, 12>(src));
242 color.g = normalizedToFloat<4>(getShiftedData<4, 8>(src));
243 color.b = normalizedToFloat<4>(getShiftedData<4, 4>(src));
244 color.a = normalizedToFloat<4>(getShiftedData<4, 0>(src));
264 color.r = normalizedToFloat<5>(getShiftedData<5, 11>(src));
265 color.g = normalizedToFloat<5>(getShiftedData<5, 6>(src));
266 color.b = normalizedToFloat<5>(getShiftedData<5, 1>(src));
[all …]
Dcommon.h208 static inline float normalizedToFloat(T input) in normalizedToFloat() function
219 static inline float normalizedToFloat(T input) in normalizedToFloat() function
221 return normalizedToFloat<sizeof(T) * 8, T>(input); in normalizedToFloat()
225 inline float normalizedToFloat(short input) in normalizedToFloat() function
232 inline float normalizedToFloat(int input) in normalizedToFloat() function
239 inline float normalizedToFloat(uint input) in normalizedToFloat() function
Dmtl_default_shaders_src_autogen.inc240 static inline float normalizedToFloat(T input)
251 static inline float normalizedToFloat(T input)
253 return normalizedToFloat<sizeof(T) * 8, T>(input);
257 inline float normalizedToFloat(short input)
264 inline float normalizedToFloat(int input)
271 inline float normalizedToFloat(uint input)
1821 color.r = normalizedToFloat<5>(getShiftedData<5, 11>(src));
1822 color.g = normalizedToFloat<6>(getShiftedData<6, 5>(src));
1823 color.b = normalizedToFloat<5>(getShiftedData<5, 0>(src));
1842 color.r = normalizedToFloat<4>(getShiftedData<4, 12>(src));
[all …]
/external/angle/src/libANGLE/
DContext_gles_1_0.cpp91 {normalizedToFloat<uint8_t>(red), normalizedToFloat<uint8_t>(green), in color4ub()
92 normalizedToFloat<uint8_t>(blue), normalizedToFloat<uint8_t>(alpha)}); in color4ub()
Dqueryutils.cpp63 return ColorGeneric(ColorF(normalizedToFloat(params[0]), normalizedToFloat(params[1]), in ConvertToColor()
64 normalizedToFloat(params[2]), normalizedToFloat(params[3]))); in ConvertToColor()
/external/angle/src/common/
Dmathutil.h497 inline float normalizedToFloat(T input) in normalizedToFloat() function
515 inline float normalizedToFloat(T input) in normalizedToFloat() function
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DBlit11.cpp260 float floatDepth = gl::normalizedToFloat<24>(normDepth); in Depth24Stencil8ToDepth32F()