Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/format/
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()
81 dst[0] = ubyte_to_float(tmp[0]); in util_format_etc1_rgb8_fetch_rgba()
82 dst[1] = ubyte_to_float(tmp[1]); in util_format_etc1_rgb8_fetch_rgba()
83 dst[2] = ubyte_to_float(tmp[2]); in util_format_etc1_rgb8_fetch_rgba()
Du_format_s3tc.c75 dst[0] = ubyte_to_float(tmp[0]); in util_format_dxt1_rgb_fetch_rgba()
76 dst[1] = ubyte_to_float(tmp[1]); in util_format_dxt1_rgb_fetch_rgba()
77 dst[2] = ubyte_to_float(tmp[2]); in util_format_dxt1_rgb_fetch_rgba()
87 dst[0] = ubyte_to_float(tmp[0]); in util_format_dxt1_rgba_fetch_rgba()
88 dst[1] = ubyte_to_float(tmp[1]); in util_format_dxt1_rgba_fetch_rgba()
89 dst[2] = ubyte_to_float(tmp[2]); in util_format_dxt1_rgba_fetch_rgba()
90 dst[3] = ubyte_to_float(tmp[3]); in util_format_dxt1_rgba_fetch_rgba()
99 dst[0] = ubyte_to_float(tmp[0]); in util_format_dxt3_rgba_fetch_rgba()
100 dst[1] = ubyte_to_float(tmp[1]); in util_format_dxt3_rgba_fetch_rgba()
101 dst[2] = ubyte_to_float(tmp[2]); in util_format_dxt3_rgba_fetch_rgba()
[all …]
Du_format_other.c117 p[0] = ubyte_to_float(src[0]); in util_format_r9g9b9e5_float_pack_rgba_8unorm()
118 p[1] = ubyte_to_float(src[1]); in util_format_r9g9b9e5_float_pack_rgba_8unorm()
119 p[2] = ubyte_to_float(src[2]); in util_format_r9g9b9e5_float_pack_rgba_8unorm()
213 p[0] = ubyte_to_float(src[0]); in util_format_r11g11b10_float_pack_rgba_8unorm()
214 p[1] = ubyte_to_float(src[1]); in util_format_r11g11b10_float_pack_rgba_8unorm()
215 p[2] = ubyte_to_float(src[2]); in util_format_r11g11b10_float_pack_rgba_8unorm()
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()
256 dst[0] = ubyte_to_float(src[0]); /* r */ in util_format_r8g8_b8g8_unorm_fetch_rgba()
257 dst[1] = ubyte_to_float(src[1 + 2*i]); /* g */ in util_format_r8g8_b8g8_unorm_fetch_rgba()
[all …]
Du_format_latc.c74 dst[2] = ubyte_to_float(tmp_r); in util_format_latc1_unorm_unpack_rgba_float()
99 dst[2] = ubyte_to_float(tmp_r); in util_format_latc1_unorm_fetch_rgba()
216 dst[2] = ubyte_to_float(tmp_r); in util_format_latc2_unorm_unpack_rgba_float()
217 dst[3] = ubyte_to_float(tmp_g); in util_format_latc2_unorm_unpack_rgba_float()
236 dst[2] = ubyte_to_float(tmp_r); in util_format_latc2_unorm_fetch_rgba()
237 dst[3] = ubyte_to_float(tmp_g); in util_format_latc2_unorm_fetch_rgba()
Du_format_rgtc.c129 dst[0] = ubyte_to_float(tmp_r); in util_format_rgtc1_unorm_unpack_rgba_float()
169 dst[0] = ubyte_to_float(tmp_r); in util_format_rgtc1_unorm_fetch_rgba()
419 dst[0] = ubyte_to_float(tmp_r); in util_format_rgtc2_unorm_unpack_rgba_float()
420 dst[1] = ubyte_to_float(tmp_g); in util_format_rgtc2_unorm_unpack_rgba_float()
438 dst[0] = ubyte_to_float(tmp_r); in util_format_rgtc2_unorm_fetch_rgba()
439 dst[1] = ubyte_to_float(tmp_g); in util_format_rgtc2_unorm_fetch_rgba()
Du_format_fxt1.c1527 dst[0] = ubyte_to_float(tmp[0]); in util_format_fxt1_rgb_fetch_rgba()
1528 dst[1] = ubyte_to_float(tmp[1]); in util_format_fxt1_rgb_fetch_rgba()
1529 dst[2] = ubyte_to_float(tmp[2]); in util_format_fxt1_rgb_fetch_rgba()
1539 dst[0] = ubyte_to_float(tmp[0]); in util_format_fxt1_rgba_fetch_rgba()
1540 dst[1] = ubyte_to_float(tmp[1]); in util_format_fxt1_rgba_fetch_rgba()
1541 dst[2] = ubyte_to_float(tmp[2]); in util_format_fxt1_rgba_fetch_rgba()
1542 dst[3] = ubyte_to_float(tmp[3]); in util_format_fxt1_rgba_fetch_rgba()
1612 dst[0] = ubyte_to_float(tmp[0]); in util_format_fxtn_rgb_unpack_rgba_float()
1613 dst[1] = ubyte_to_float(tmp[1]); in util_format_fxtn_rgb_unpack_rgba_float()
1614 dst[2] = ubyte_to_float(tmp[2]); in util_format_fxtn_rgb_unpack_rgba_float()
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Du_math.h312 ubyte_to_float(uint8_t ub) in ubyte_to_float() function