Searched refs:ubyte_to_float (Results 1 – 12 of 12) sorted by relevance
/aosp_15_r20/external/mesa3d/src/util/format/ |
H A D | u_format_s3tc.c | 75 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 …]
|
H A D | u_format_yuv.c | 57 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 …]
|
H A D | u_format_etc.c | 46 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()
|
H A D | u_format_other.c | 117 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()
|
H A D | u_format_latc.c | 74 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()
|
H A D | u_format_rgtc.c | 129 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()
|
H A D | u_format_fxt1.c | 1526 dst[0] = ubyte_to_float(tmp[0]); in util_format_fxt1_rgb_fetch_rgba() 1527 dst[1] = ubyte_to_float(tmp[1]); in util_format_fxt1_rgb_fetch_rgba() 1528 dst[2] = ubyte_to_float(tmp[2]); in util_format_fxt1_rgb_fetch_rgba() 1538 dst[0] = ubyte_to_float(tmp[0]); in util_format_fxt1_rgba_fetch_rgba() 1539 dst[1] = ubyte_to_float(tmp[1]); in util_format_fxt1_rgba_fetch_rgba() 1540 dst[2] = ubyte_to_float(tmp[2]); in util_format_fxt1_rgba_fetch_rgba() 1541 dst[3] = ubyte_to_float(tmp[3]); in util_format_fxt1_rgba_fetch_rgba() 1611 dst[0] = ubyte_to_float(tmp[0]); in util_format_fxtn_rgb_unpack_rgba_float() 1612 dst[1] = ubyte_to_float(tmp[1]); in util_format_fxtn_rgb_unpack_rgba_float() 1613 dst[2] = ubyte_to_float(tmp[2]); in util_format_fxtn_rgb_unpack_rgba_float() [all …]
|
/aosp_15_r20/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_tests.c | 883 ubyte_to_float(data[0]), in test_compute_clear_texture() 884 ubyte_to_float(data[1]), in test_compute_clear_texture() 885 ubyte_to_float(data[2]), in test_compute_clear_texture() 886 ubyte_to_float(data[3]), in test_compute_clear_texture() 915 ubyte_to_float(data[0]), in test_compute_resource_copy_region() 916 ubyte_to_float(data[1]), in test_compute_resource_copy_region() 917 ubyte_to_float(data[2]), in test_compute_resource_copy_region() 918 ubyte_to_float(data[3]), in test_compute_resource_copy_region()
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_parser.c | 476 (float)(ubyte_to_float((*value & 0xffff0000) >> 16)), in parse_rsw() 477 (float)(ubyte_to_float(*value & 0x0000ffff))); in parse_rsw() 481 (float)(ubyte_to_float((*value & 0xffff0000) >> 16)), in parse_rsw() 482 (float)(ubyte_to_float(*value & 0x0000ffff))); in parse_rsw()
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_quad_blend.c | 247 quadColor[j][0] = ubyte_to_float(res[j][0]); in logicop_quad() 248 quadColor[j][1] = ubyte_to_float(res[j][1]); in logicop_quad() 249 quadColor[j][2] = ubyte_to_float(res[j][2]); in logicop_quad() 250 quadColor[j][3] = ubyte_to_float(res[j][3]); in logicop_quad()
|
/aosp_15_r20/external/virglrenderer/src/mesa/util/ |
H A D | u_math.h | 318 ubyte_to_float(uint8_t ub) in ubyte_to_float() function
|
/aosp_15_r20/external/mesa3d/src/util/ |
H A D | u_math.h | 327 ubyte_to_float(uint8_t ub) in ubyte_to_float() function
|