Home
last modified time | relevance | path

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

/external/mesa3d/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_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_other.c125 p[0] = ubyte_to_float(src[0]); in util_format_r9g9b9e5_float_pack_rgba_8unorm()
126 p[1] = ubyte_to_float(src[1]); in util_format_r9g9b9e5_float_pack_rgba_8unorm()
127 p[2] = ubyte_to_float(src[2]); in util_format_r9g9b9e5_float_pack_rgba_8unorm()
229 p[0] = ubyte_to_float(src[0]); in util_format_r11g11b10_float_pack_rgba_8unorm()
230 p[1] = ubyte_to_float(src[1]); in util_format_r11g11b10_float_pack_rgba_8unorm()
231 p[2] = ubyte_to_float(src[2]); in util_format_r11g11b10_float_pack_rgba_8unorm()
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.c101 dst[0] = ubyte_to_float(tmp_r); in util_format_rgtc1_unorm_unpack_rgba_float()
141 dst[0] = ubyte_to_float(tmp_r); in util_format_rgtc1_unorm_fetch_rgba()
334 dst[0] = ubyte_to_float(tmp_r); in util_format_rgtc2_unorm_unpack_rgba_float()
335 dst[1] = ubyte_to_float(tmp_g); in util_format_rgtc2_unorm_unpack_rgba_float()
353 dst[0] = ubyte_to_float(tmp_r); in util_format_rgtc2_unorm_fetch_rgba()
354 dst[1] = ubyte_to_float(tmp_g); in util_format_rgtc2_unorm_fetch_rgba()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_parser.c444 (float)(ubyte_to_float((*value & 0xffff0000) >> 16)), in parse_rsw()
445 (float)(ubyte_to_float(*value & 0x0000ffff))); in parse_rsw()
449 (float)(ubyte_to_float((*value & 0xffff0000) >> 16)), in parse_rsw()
450 (float)(ubyte_to_float(*value & 0x0000ffff))); in parse_rsw()
/external/mesa3d/src/util/
Du_math.h382 ubyte_to_float(uint8_t ub) in ubyte_to_float() function
/external/virglrenderer/src/gallium/auxiliary/util/
Du_math.h630 ubyte_to_float(ubyte ub) in ubyte_to_float() function