HomeSort by relevance Sort by last modified time
    Searched refs:float_to_ubyte (Results 1 - 22 of 22) sorted by null

  /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...]
paint.c 97 return float_to_ubyte(clr[3]) << 24 |
98 float_to_ubyte(clr[0]) << 16 |
99 float_to_ubyte(clr[1]) << 8 |
100 float_to_ubyte(clr[2]) << 0;
440 #define F2B(f) (float_to_ubyte(f))
image.c 366 r = float_to_ubyte(clear_colorf[0]);
367 g = float_to_ubyte(clear_colorf[1]);
368 b = float_to_ubyte(clear_colorf[2]);
369 a = float_to_ubyte(clear_colorf[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]);
u_format_rgtc.c 135 tmp[j][i] = float_to_ubyte(src_row[(y + j)*src_stride/sizeof(*src_row) + (x + i)*4]);
305 tmp_r[j][i] = float_to_ubyte(src_row[(y + j)*src_stride/sizeof(*src_row) + (x + i)*4]);
306 tmp_g[j][i] = float_to_ubyte(src_row[(y + j)*src_stride/sizeof(*src_row) + (x + i)*4 + chan2off]);
u_format_s3tc.c 502 tmp[j][i][k] = float_to_ubyte(src[(y + j)*src_stride/sizeof(*src) + (x+i)*4 + k]);
526 tmp[j][i][k] = float_to_ubyte(src[(y + j)*src_stride/sizeof(*src) + (x+i)*4 + k]);
550 tmp[j][i][k] = float_to_ubyte(src[(y + j)*src_stride/sizeof(*src) + (x+i)*4 + k]);
574 tmp[j][i][k] = float_to_ubyte(src[(y + j)*src_stride/sizeof(*src) + (x+i)*4 + k]);
u_math.h 538 float_to_ubyte(float f) function
  /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] )) );
i915_state.c 285 ubyte r = float_to_ubyte(sampler->border_color.f[0]);
286 ubyte g = float_to_ubyte(sampler->border_color.f[1]);
287 ubyte b = float_to_ubyte(sampler->border_color.f[2]);
288 ubyte a = float_to_ubyte(sampler->border_color.f[3]);
517 ubyte refByte = float_to_ubyte(depth_stencil->alpha.ref_value);
    [all...]
  /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/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]));
lp_setup.c 393 color_arg.clear_color[i] = float_to_ubyte(color[i]);
795 uint8_t c = float_to_ubyte(setup->blend_color.current.color[i]);
  /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));
nv30_state.c 258 SB_DATA (so, float_to_ubyte(cso->alpha.ref_value));
  /external/mesa3d/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...]
  /external/mesa3d/src/gallium/drivers/r300/
r300_state.c 653 dsa->alpha_function |= float_to_ubyte(state->alpha.ref_value);
    [all...]

Completed in 671 milliseconds