/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_pack_color.h | 282 *r = float_to_ubyte(p[0]); in util_unpack_color_ub() 283 *g = float_to_ubyte(p[1]); in util_unpack_color_ub() 284 *b = float_to_ubyte(p[2]); in util_unpack_color_ub() 285 *a = float_to_ubyte(p[3]); in util_unpack_color_ub() 291 *r = float_to_ubyte(p[0]); in util_unpack_color_ub() 292 *g = float_to_ubyte(p[1]); in util_unpack_color_ub() 293 *b = float_to_ubyte(p[2]); in util_unpack_color_ub() 301 *r = float_to_ubyte(p[0]); in util_unpack_color_ub() 302 *g = float_to_ubyte(p[1]); in util_unpack_color_ub() 310 *r = float_to_ubyte(p[0]); in util_unpack_color_ub() [all …]
|
D | u_format_yuv.c | 168 value = float_to_ubyte(r); in util_format_r8g8_b8g8_unorm_pack_rgba_float() 169 value |= float_to_ubyte(g0) << 8; in util_format_r8g8_b8g8_unorm_pack_rgba_float() 170 value |= float_to_ubyte(b) << 16; in util_format_r8g8_b8g8_unorm_pack_rgba_float() 171 value |= float_to_ubyte(g1) << 24; in util_format_r8g8_b8g8_unorm_pack_rgba_float() 184 value = float_to_ubyte(r); in util_format_r8g8_b8g8_unorm_pack_rgba_float() 185 value |= float_to_ubyte(g0) << 8; in util_format_r8g8_b8g8_unorm_pack_rgba_float() 186 value |= float_to_ubyte(b) << 16; in util_format_r8g8_b8g8_unorm_pack_rgba_float() 187 value |= float_to_ubyte(g1) << 24; in util_format_r8g8_b8g8_unorm_pack_rgba_float() 388 value = float_to_ubyte(g0); in util_format_g8r8_g8b8_unorm_pack_rgba_float() 389 value |= float_to_ubyte(r) << 8; in util_format_g8r8_g8b8_unorm_pack_rgba_float() [all …]
|
D | u_format_other.c | 99 dst[0] = float_to_ubyte(p[0]); /* r */ in util_format_r9g9b9e5_float_unpack_rgba_8unorm() 100 dst[1] = float_to_ubyte(p[1]); /* g */ in util_format_r9g9b9e5_float_unpack_rgba_8unorm() 101 dst[2] = float_to_ubyte(p[2]); /* b */ in util_format_r9g9b9e5_float_unpack_rgba_8unorm() 202 dst[0] = float_to_ubyte(p[0]); /* r */ in util_format_r11g11b10_float_unpack_rgba_8unorm() 203 dst[1] = float_to_ubyte(p[1]); /* g */ in util_format_r11g11b10_float_unpack_rgba_8unorm() 204 dst[2] = float_to_ubyte(p[2]); /* b */ in util_format_r11g11b10_float_unpack_rgba_8unorm()
|
D | u_debug_image.c | 277 pixel.rgbRed = float_to_ubyte(ptr[x*4 + 0]); in debug_dump_float_rgba_bmp() 278 pixel.rgbGreen = float_to_ubyte(ptr[x*4 + 1]); in debug_dump_float_rgba_bmp() 279 pixel.rgbBlue = float_to_ubyte(ptr[x*4 + 2]); in debug_dump_float_rgba_bmp() 280 pixel.rgbAlpha = float_to_ubyte(ptr[x*4 + 3]); in debug_dump_float_rgba_bmp()
|
D | u_format_rgtc.c | 125 tmp[j][i] = float_to_ubyte(src_row[(y + j)*src_stride/sizeof(*src_row) + (x + i)*4]); in util_format_rgtc1_unorm_pack_rgba_float() 300 tmp_r[j][i] = float_to_ubyte(src_row[(y + j)*src_stride/sizeof(*src_row) + (x + i)*4]); in util_format_rxtc2_unorm_pack_rgba_float() 301 … tmp_g[j][i] = float_to_ubyte(src_row[(y + j)*src_stride/sizeof(*src_row) + (x + i)*4 + chan2off]); in util_format_rxtc2_unorm_pack_rgba_float()
|
D | u_format_s3tc.c | 383 tmp[j][i][k] = float_to_ubyte(src_tmp); in util_format_dxtn_pack_rgba_float() 388 tmp[j][i][3] = float_to_ubyte(src_tmp); in util_format_dxtn_pack_rgba_float()
|
D | u_math.h | 384 float_to_ubyte(float f) in float_to_ubyte() function
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_prim_emit.c | 105 OUT_BATCH( pack_ub4(float_to_ubyte( attrib[0] ), in emit_hw_vertex() 106 float_to_ubyte( attrib[1] ), in emit_hw_vertex() 107 float_to_ubyte( attrib[2] ), in emit_hw_vertex() 108 float_to_ubyte( attrib[3] )) ); in emit_hw_vertex() 112 OUT_BATCH( pack_ub4(float_to_ubyte( attrib[2] ), in emit_hw_vertex() 113 float_to_ubyte( attrib[1] ), in emit_hw_vertex() 114 float_to_ubyte( attrib[0] ), in emit_hw_vertex() 115 float_to_ubyte( attrib[3] )) ); in emit_hw_vertex()
|
D | i915_state.c | 286 ubyte r = float_to_ubyte(sampler->border_color.f[0]); in i915_create_sampler_state() 287 ubyte g = float_to_ubyte(sampler->border_color.f[1]); in i915_create_sampler_state() 288 ubyte b = float_to_ubyte(sampler->border_color.f[2]); in i915_create_sampler_state() 289 ubyte a = float_to_ubyte(sampler->border_color.f[3]); in i915_create_sampler_state() 540 ubyte refByte = float_to_ubyte(depth_stencil->alpha.ref_value); in i915_create_depth_stencil_state()
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_pack_color.h | 79 return pack_ub4( float_to_ubyte(a), in pack_ui32_float4() 80 float_to_ubyte(b), in pack_ui32_float4() 81 float_to_ubyte(c), in pack_ui32_float4() 82 float_to_ubyte(d) ); in pack_ui32_float4()
|
D | u_math.h | 640 float_to_ubyte(float f) in float_to_ubyte() function
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_format.c | 287 int error = float_to_ubyte(test->unpacked[i][j][k]) - unpacked[k]; in test_format_unorm8() 312 float_to_ubyte(test->unpacked[i][j][0]), in test_format_unorm8() 313 float_to_ubyte(test->unpacked[i][j][1]), in test_format_unorm8() 314 float_to_ubyte(test->unpacked[i][j][2]), in test_format_unorm8() 315 float_to_ubyte(test->unpacked[i][j][3])); in test_format_unorm8()
|
D | lp_setup.c | 1064 uint8_t c = float_to_ubyte(setup->blend_color.current.color[i]); in try_update_scene_state()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_texture.c | 147 so->bcol = (float_to_ubyte(cso->border_color.f[3]) << 24) | in nv30_sampler_state_create() 148 (float_to_ubyte(cso->border_color.f[0]) << 16) | in nv30_sampler_state_create() 149 (float_to_ubyte(cso->border_color.f[1]) << 8) | in nv30_sampler_state_create() 150 (float_to_ubyte(cso->border_color.f[2]) << 0); in nv30_sampler_state_create()
|
D | nv30_state_validate.c | 197 PUSH_DATA (push, (float_to_ubyte(rgba[3]) << 24) | in nv30_validate_blend_colour() 198 (float_to_ubyte(rgba[0]) << 16) | in nv30_validate_blend_colour() 199 (float_to_ubyte(rgba[1]) << 8) | in nv30_validate_blend_colour() 200 (float_to_ubyte(rgba[2]) << 0)); in nv30_validate_blend_colour()
|
D | nv30_state.c | 268 SB_DATA (so, float_to_ubyte(cso->alpha.ref_value)); in nv30_zsa_state_create()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_sampler.c | 261 uint32 r = float_to_ubyte(sampler->border_color.f[0]); in svga_create_sampler_state() 262 uint32 g = float_to_ubyte(sampler->border_color.f[1]); in svga_create_sampler_state() 263 uint32 b = float_to_ubyte(sampler->border_color.f[2]); in svga_create_sampler_state() 264 uint32 a = float_to_ubyte(sampler->border_color.f[3]); in svga_create_sampler_state()
|
D | svga_state_rss.c | 115 uint32 r = float_to_ubyte(svga->curr.blend_color.color[0]); in emit_rss_vgpu9() 116 uint32 g = float_to_ubyte(svga->curr.blend_color.color[1]); in emit_rss_vgpu9() 117 uint32 b = float_to_ubyte(svga->curr.blend_color.color[2]); in emit_rss_vgpu9() 118 uint32 a = float_to_ubyte(svga->curr.blend_color.color[3]); in emit_rss_vgpu9()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_uniforms.c | 161 uc.ui[0] = float_to_ubyte(storage_color[0]) << 24; in write_texture_border_color() 164 uc.ui[0] = ((float_to_ubyte(storage_color[1]) << 24) | in write_texture_border_color() 165 (float_to_ubyte(storage_color[0]) << 0)); in write_texture_border_color()
|
D | vc4_state.c | 56 vc4->blend_color.ub[i] = float_to_ubyte(blend_color->color[i]); in vc4_set_blend_color()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_emit.c | 321 OUT_RING(ring, float_to_ubyte(ctx->blend_color.color[0])); in fd2_emit_state() 322 OUT_RING(ring, float_to_ubyte(ctx->blend_color.color[1])); in fd2_emit_state() 323 OUT_RING(ring, float_to_ubyte(ctx->blend_color.color[2])); in fd2_emit_state() 324 OUT_RING(ring, float_to_ubyte(ctx->blend_color.color[3])); in fd2_emit_state()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_quad_blend.c | 164 dst[j][0] = float_to_ubyte(dest[j][0]); /* P0 */ in logicop_quad() 165 dst[j][1] = float_to_ubyte(dest[j][1]); /* P1 */ in logicop_quad() 166 dst[j][2] = float_to_ubyte(dest[j][2]); /* P2 */ in logicop_quad() 167 dst[j][3] = float_to_ubyte(dest[j][3]); /* P3 */ in logicop_quad() 169 src[j][0] = float_to_ubyte(quadColor[j][0]); /* P0 */ in logicop_quad() 170 src[j][1] = float_to_ubyte(quadColor[j][1]); /* P1 */ in logicop_quad() 171 src[j][2] = float_to_ubyte(quadColor[j][2]); /* P2 */ in logicop_quad() 172 src[j][3] = float_to_ubyte(quadColor[j][3]); /* P3 */ in logicop_quad()
|
/external/mesa3d/src/gallium/drivers/vc5/ |
D | vc5_uniforms.c | 94 uc.ui[0] = float_to_ubyte(storage_color[0]) << 24; 97 uc.ui[0] = ((float_to_ubyte(storage_color[1]) << 24) | 98 (float_to_ubyte(storage_color[0]) << 0));
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_formats.c | 831 r = float_to_ubyte(value->float32[0]); in radv_format_pack_clear_color() 832 g = float_to_ubyte(value->float32[1]); in radv_format_pack_clear_color() 833 b = float_to_ubyte(value->float32[2]); in radv_format_pack_clear_color() 834 a = float_to_ubyte(value->float32[3]); in radv_format_pack_clear_color() 839 a = float_to_ubyte(value->float32[3]); in radv_format_pack_clear_color()
|
D | radv_meta_clear.c | 1331 r = float_to_ubyte(clear_value->color.float32[0]) >> 4; in radv_cmd_clear_image() 1332 g = float_to_ubyte(clear_value->color.float32[1]) >> 4; in radv_cmd_clear_image()
|