Home
last modified time | relevance | path

Searched refs:ubyte_to_float (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_format_s3tc.c75 dst[0] = ubyte_to_float(tmp[0]); in util_format_dxt1_rgb_fetch_rgba_float()
76 dst[1] = ubyte_to_float(tmp[1]); in util_format_dxt1_rgb_fetch_rgba_float()
77 dst[2] = ubyte_to_float(tmp[2]); in util_format_dxt1_rgb_fetch_rgba_float()
86 dst[0] = ubyte_to_float(tmp[0]); in util_format_dxt1_rgba_fetch_rgba_float()
87 dst[1] = ubyte_to_float(tmp[1]); in util_format_dxt1_rgba_fetch_rgba_float()
88 dst[2] = ubyte_to_float(tmp[2]); in util_format_dxt1_rgba_fetch_rgba_float()
89 dst[3] = ubyte_to_float(tmp[3]); in util_format_dxt1_rgba_fetch_rgba_float()
97 dst[0] = ubyte_to_float(tmp[0]); in util_format_dxt3_rgba_fetch_rgba_float()
98 dst[1] = ubyte_to_float(tmp[1]); in util_format_dxt3_rgba_fetch_rgba_float()
99 dst[2] = ubyte_to_float(tmp[2]); in util_format_dxt3_rgba_fetch_rgba_float()
[all …]
Du_format_etc.c46 dst[0] = ubyte_to_float(tmp[0]); in util_format_etc1_rgb8_unpack_rgba_float()
47 dst[1] = ubyte_to_float(tmp[1]); in util_format_etc1_rgb8_unpack_rgba_float()
48 dst[2] = ubyte_to_float(tmp[2]); in util_format_etc1_rgb8_unpack_rgba_float()
80 dst[0] = ubyte_to_float(tmp[0]); in util_format_etc1_rgb8_fetch_rgba_float()
81 dst[1] = ubyte_to_float(tmp[1]); in util_format_etc1_rgb8_fetch_rgba_float()
82 dst[2] = ubyte_to_float(tmp[2]); in util_format_etc1_rgb8_fetch_rgba_float()
Du_format_yuv.c57 r = ubyte_to_float((value >> 0) & 0xff); in util_format_r8g8_b8g8_unorm_unpack_rgba_float()
58 g0 = ubyte_to_float((value >> 8) & 0xff); in util_format_r8g8_b8g8_unorm_unpack_rgba_float()
59 b = ubyte_to_float((value >> 16) & 0xff); in util_format_r8g8_b8g8_unorm_unpack_rgba_float()
60 g1 = ubyte_to_float((value >> 24) & 0xff); in util_format_r8g8_b8g8_unorm_unpack_rgba_float()
78 r = ubyte_to_float((value >> 0) & 0xff); in util_format_r8g8_b8g8_unorm_unpack_rgba_float()
79 g0 = ubyte_to_float((value >> 8) & 0xff); in util_format_r8g8_b8g8_unorm_unpack_rgba_float()
80 b = ubyte_to_float((value >> 16) & 0xff); in util_format_r8g8_b8g8_unorm_unpack_rgba_float()
81 g1 = ubyte_to_float((value >> 24) & 0xff); in util_format_r8g8_b8g8_unorm_unpack_rgba_float()
254 dst[0] = ubyte_to_float(src[0]); /* r */ in util_format_r8g8_b8g8_unorm_fetch_rgba_float()
255 dst[1] = ubyte_to_float(src[1 + 2*i]); /* g */ in util_format_r8g8_b8g8_unorm_fetch_rgba_float()
[all …]
Du_format_latc.c74 dst[2] = ubyte_to_float(tmp_r); in util_format_latc1_unorm_unpack_rgba_float()
98 dst[2] = ubyte_to_float(tmp_r); in util_format_latc1_unorm_fetch_rgba_float()
214 dst[2] = ubyte_to_float(tmp_r); in util_format_latc2_unorm_unpack_rgba_float()
215 dst[3] = ubyte_to_float(tmp_g); in util_format_latc2_unorm_unpack_rgba_float()
233 dst[2] = ubyte_to_float(tmp_r); in util_format_latc2_unorm_fetch_rgba_float()
234 dst[3] = ubyte_to_float(tmp_g); in util_format_latc2_unorm_fetch_rgba_float()
Du_format_other.c124 p[0] = ubyte_to_float(src[0]); in util_format_r9g9b9e5_float_pack_rgba_8unorm()
125 p[1] = ubyte_to_float(src[1]); in util_format_r9g9b9e5_float_pack_rgba_8unorm()
126 p[2] = ubyte_to_float(src[2]); in util_format_r9g9b9e5_float_pack_rgba_8unorm()
227 p[0] = ubyte_to_float(src[0]); in util_format_r11g11b10_float_pack_rgba_8unorm()
228 p[1] = ubyte_to_float(src[1]); in util_format_r11g11b10_float_pack_rgba_8unorm()
229 p[2] = ubyte_to_float(src[2]); in util_format_r11g11b10_float_pack_rgba_8unorm()
Du_format_rgtc.c101 dst[0] = ubyte_to_float(tmp_r); in util_format_rgtc1_unorm_unpack_rgba_float()
140 dst[0] = ubyte_to_float(tmp_r); in util_format_rgtc1_unorm_fetch_rgba_float()
332 dst[0] = ubyte_to_float(tmp_r); in util_format_rgtc2_unorm_unpack_rgba_float()
333 dst[1] = ubyte_to_float(tmp_g); in util_format_rgtc2_unorm_unpack_rgba_float()
350 dst[0] = ubyte_to_float(tmp_r); in util_format_rgtc2_unorm_fetch_rgba_float()
351 dst[1] = ubyte_to_float(tmp_g); in util_format_rgtc2_unorm_fetch_rgba_float()
Du_math.h374 ubyte_to_float(ubyte ub) in ubyte_to_float() function
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_blend.c245 quadColor[j][0] = ubyte_to_float(res[j][0]); in logicop_quad()
246 quadColor[j][1] = ubyte_to_float(res[j][1]); in logicop_quad()
247 quadColor[j][2] = ubyte_to_float(res[j][2]); in logicop_quad()
248 quadColor[j][3] = ubyte_to_float(res[j][3]); in logicop_quad()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_math.h630 ubyte_to_float(ubyte ub) in ubyte_to_float() function