/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
vg_translate.c | 44 r = float_to_ubyte(rgba[i][0]); 45 g = float_to_ubyte(rgba[i][1]); 46 b = float_to_ubyte(rgba[i][2]); 57 r = float_to_ubyte(rgba[i][0]); 58 g = float_to_ubyte(rgba[i][1]); 59 b = float_to_ubyte(rgba[i][2]); 60 a = float_to_ubyte(rgba[i][3]); 70 r = float_to_ubyte(rgba[i][0]); 71 g = float_to_ubyte(rgba[i][1]); 72 b = float_to_ubyte(rgba[i][2]) [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
vg_translate.c | 44 r = float_to_ubyte(rgba[i][0]); 45 g = float_to_ubyte(rgba[i][1]); 46 b = float_to_ubyte(rgba[i][2]); 57 r = float_to_ubyte(rgba[i][0]); 58 g = float_to_ubyte(rgba[i][1]); 59 b = float_to_ubyte(rgba[i][2]); 60 a = float_to_ubyte(rgba[i][3]); 70 r = float_to_ubyte(rgba[i][0]); 71 g = float_to_ubyte(rgba[i][1]); 72 b = float_to_ubyte(rgba[i][2]) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_format_srgb.h | 66 return float_to_ubyte(1.055f * powf(x, 0.41666f) - 0.055f); 68 return float_to_ubyte(12.92f * x);
|
u_pack_color.h | 281 *r = float_to_ubyte(p[0]); 282 *g = float_to_ubyte(p[1]); 283 *b = float_to_ubyte(p[2]); 284 *a = float_to_ubyte(p[3]); 290 *r = float_to_ubyte(p[0]); 291 *g = float_to_ubyte(p[1]); 292 *b = float_to_ubyte(p[2]); 300 *r = float_to_ubyte(p[0]); 301 *g = float_to_ubyte(p[1]); 309 *r = float_to_ubyte(p[0]) [all...] |
u_format_yuv.c | 183 value = float_to_ubyte(r); 184 value |= float_to_ubyte(g0) << 8; 185 value |= float_to_ubyte(b) << 16; 186 value |= float_to_ubyte(g1) << 24; 203 value = float_to_ubyte(r); 204 value |= float_to_ubyte(g0) << 8; 205 value |= float_to_ubyte(b) << 16; 206 value |= float_to_ubyte(g1) << 24; 435 value = float_to_ubyte(g0); 436 value |= float_to_ubyte(r) << 8 [all...] |
u_format_other.c | 111 dst[0] = float_to_ubyte(p[0]); /* r */ 112 dst[1] = float_to_ubyte(p[1]); /* g */ 113 dst[2] = float_to_ubyte(p[2]); /* b */ 229 dst[0] = float_to_ubyte(p[0]); /* r */ 230 dst[1] = float_to_ubyte(p[1]); /* g */ 231 dst[2] = float_to_ubyte(p[2]); /* b */
|
u_debug.c | 684 pixel.rgbRed = float_to_ubyte(ptr[x*4 + 0]); 685 pixel.rgbGreen = float_to_ubyte(ptr[x*4 + 1]); 686 pixel.rgbBlue = float_to_ubyte(ptr[x*4 + 2]); 687 pixel.rgbAlpha = float_to_ubyte(ptr[x*4 + 3]);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_srgb.h | 66 return float_to_ubyte(1.055f * powf(x, 0.41666f) - 0.055f); 68 return float_to_ubyte(12.92f * x);
|
u_pack_color.h | 281 *r = float_to_ubyte(p[0]); 282 *g = float_to_ubyte(p[1]); 283 *b = float_to_ubyte(p[2]); 284 *a = float_to_ubyte(p[3]); 290 *r = float_to_ubyte(p[0]); 291 *g = float_to_ubyte(p[1]); 292 *b = float_to_ubyte(p[2]); 300 *r = float_to_ubyte(p[0]); 301 *g = float_to_ubyte(p[1]); 309 *r = float_to_ubyte(p[0]) [all...] |
u_format_yuv.c | 183 value = float_to_ubyte(r); 184 value |= float_to_ubyte(g0) << 8; 185 value |= float_to_ubyte(b) << 16; 186 value |= float_to_ubyte(g1) << 24; 203 value = float_to_ubyte(r); 204 value |= float_to_ubyte(g0) << 8; 205 value |= float_to_ubyte(b) << 16; 206 value |= float_to_ubyte(g1) << 24; 435 value = float_to_ubyte(g0); 436 value |= float_to_ubyte(r) << 8 [all...] |
u_format_other.c | 111 dst[0] = float_to_ubyte(p[0]); /* r */ 112 dst[1] = float_to_ubyte(p[1]); /* g */ 113 dst[2] = float_to_ubyte(p[2]); /* b */ 229 dst[0] = float_to_ubyte(p[0]); /* r */ 230 dst[1] = float_to_ubyte(p[1]); /* g */ 231 dst[2] = float_to_ubyte(p[2]); /* b */
|
u_debug.c | 684 pixel.rgbRed = float_to_ubyte(ptr[x*4 + 0]); 685 pixel.rgbGreen = float_to_ubyte(ptr[x*4 + 1]); 686 pixel.rgbBlue = float_to_ubyte(ptr[x*4 + 2]); 687 pixel.rgbAlpha = float_to_ubyte(ptr[x*4 + 3]);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_prim_emit.c | 105 OUT_BATCH( pack_ub4(float_to_ubyte( attrib[0] ), 106 float_to_ubyte( attrib[1] ), 107 float_to_ubyte( attrib[2] ), 108 float_to_ubyte( attrib[3] )) ); 112 OUT_BATCH( pack_ub4(float_to_ubyte( attrib[2] ), 113 float_to_ubyte( attrib[1] ), 114 float_to_ubyte( attrib[0] ), 115 float_to_ubyte( attrib[3] )) );
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_prim_emit.c | 105 OUT_BATCH( pack_ub4(float_to_ubyte( attrib[0] ), 106 float_to_ubyte( attrib[1] ), 107 float_to_ubyte( attrib[2] ), 108 float_to_ubyte( attrib[3] )) ); 112 OUT_BATCH( pack_ub4(float_to_ubyte( attrib[2] ), 113 float_to_ubyte( attrib[1] ), 114 float_to_ubyte( attrib[0] ), 115 float_to_ubyte( attrib[3] )) );
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_pipe_sampler.c | 119 uint32 r = float_to_ubyte(sampler->border_color.f[0]); 120 uint32 g = float_to_ubyte(sampler->border_color.f[1]); 121 uint32 b = float_to_ubyte(sampler->border_color.f[2]); 122 uint32 a = float_to_ubyte(sampler->border_color.f[3]);
|
svga_state_rss.c | 112 uint32 r = float_to_ubyte(svga->curr.blend_color.color[0]); 113 uint32 g = float_to_ubyte(svga->curr.blend_color.color[1]); 114 uint32 b = float_to_ubyte(svga->curr.blend_color.color[2]); 115 uint32 a = float_to_ubyte(svga->curr.blend_color.color[3]);
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_sampler.c | 119 uint32 r = float_to_ubyte(sampler->border_color.f[0]); 120 uint32 g = float_to_ubyte(sampler->border_color.f[1]); 121 uint32 b = float_to_ubyte(sampler->border_color.f[2]); 122 uint32 a = float_to_ubyte(sampler->border_color.f[3]);
|
svga_state_rss.c | 112 uint32 r = float_to_ubyte(svga->curr.blend_color.color[0]); 113 uint32 g = float_to_ubyte(svga->curr.blend_color.color[1]); 114 uint32 b = float_to_ubyte(svga->curr.blend_color.color[2]); 115 uint32 a = float_to_ubyte(svga->curr.blend_color.color[3]);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_test_format.c | 255 int error = float_to_ubyte(test->unpacked[i][j][k]) - unpacked[k]; 275 float_to_ubyte(test->unpacked[i][j][0]), 276 float_to_ubyte(test->unpacked[i][j][1]), 277 float_to_ubyte(test->unpacked[i][j][2]), 278 float_to_ubyte(test->unpacked[i][j][3]));
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_test_format.c | 255 int error = float_to_ubyte(test->unpacked[i][j][k]) - unpacked[k]; 275 float_to_ubyte(test->unpacked[i][j][0]), 276 float_to_ubyte(test->unpacked[i][j][1]), 277 float_to_ubyte(test->unpacked[i][j][2]), 278 float_to_ubyte(test->unpacked[i][j][3]));
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
nv30_texture.c | 147 so->bcol = (float_to_ubyte(cso->border_color.f[3]) << 24) | 148 (float_to_ubyte(cso->border_color.f[0]) << 16) | 149 (float_to_ubyte(cso->border_color.f[1]) << 8) | 150 (float_to_ubyte(cso->border_color.f[2]) << 0);
|
nv30_state_validate.c | 200 PUSH_DATA (push, (float_to_ubyte(rgba[3]) << 24) | 201 (float_to_ubyte(rgba[0]) << 16) | 202 (float_to_ubyte(rgba[1]) << 8) | 203 (float_to_ubyte(rgba[2]) << 0));
|
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_texture.c | 147 so->bcol = (float_to_ubyte(cso->border_color.f[3]) << 24) | 148 (float_to_ubyte(cso->border_color.f[0]) << 16) | 149 (float_to_ubyte(cso->border_color.f[1]) << 8) | 150 (float_to_ubyte(cso->border_color.f[2]) << 0);
|
nv30_state_validate.c | 200 PUSH_DATA (push, (float_to_ubyte(rgba[3]) << 24) | 201 (float_to_ubyte(rgba[0]) << 16) | 202 (float_to_ubyte(rgba[1]) << 8) | 203 (float_to_ubyte(rgba[2]) << 0));
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_quad_blend.c | 164 dst[j][0] = float_to_ubyte(dest[j][0]); /* P0 */ 165 dst[j][1] = float_to_ubyte(dest[j][1]); /* P1 */ 166 dst[j][2] = float_to_ubyte(dest[j][2]); /* P2 */ 167 dst[j][3] = float_to_ubyte(dest[j][3]); /* P3 */ 169 src[j][0] = float_to_ubyte(quadColor[j][0]); /* P0 */ 170 src[j][1] = float_to_ubyte(quadColor[j][1]); /* P1 */ 171 src[j][2] = float_to_ubyte(quadColor[j][2]); /* P2 */ 172 src[j][3] = float_to_ubyte(quadColor[j][3]); /* P3 */ [all...] |