Home
last modified time | relevance | path

Searched refs:UNCLAMPED_FLOAT_TO_UBYTE (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/mesa/tnl/
Dt_vertex_generic.c333 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]); in insert_4ub_4f_rgba_4()
334 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]); in insert_4ub_4f_rgba_4()
335 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[2]); in insert_4ub_4f_rgba_4()
336 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[3]); in insert_4ub_4f_rgba_4()
344 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]); in insert_4ub_4f_rgba_3()
345 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]); in insert_4ub_4f_rgba_3()
346 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[2]); in insert_4ub_4f_rgba_3()
355 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]); in insert_4ub_4f_rgba_2()
356 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]); in insert_4ub_4f_rgba_2()
366 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]); in insert_4ub_4f_rgba_1()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_maos_vbtmp.h196 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.red, col[0][0]); in TAG()
197 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.green, col[0][1]); in TAG()
198 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.blue, col[0][2]); in TAG()
199 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.alpha, col[0][3]); in TAG()
205 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.red, spec[0][0]); in TAG()
206 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.green, spec[0][1]); in TAG()
207 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.blue, spec[0][2]); in TAG()
211 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.alpha, radeonComputeFogBlendFactor(ctx, fog[0][0])); in TAG()
Dradeon_swtcl.c559 UNCLAMPED_FLOAT_TO_UBYTE(color->red, (c)[0]); \
560 UNCLAMPED_FLOAT_TO_UBYTE(color->green, (c)[1]); \
561 UNCLAMPED_FLOAT_TO_UBYTE(color->blue, (c)[2]); \
562 UNCLAMPED_FLOAT_TO_UBYTE(color->alpha, (c)[3]); \
571 UNCLAMPED_FLOAT_TO_UBYTE(spec->red, (c)[0]); \
572 UNCLAMPED_FLOAT_TO_UBYTE(spec->green, (c)[1]); \
573 UNCLAMPED_FLOAT_TO_UBYTE(spec->blue, (c)[2]); \
/external/mesa3d/src/mesa/main/
Dformat_pack.c367 UNCLAMPED_FLOAT_TO_UBYTE(d[2], src[RCOMP]); in pack_float_RGB888()
368 UNCLAMPED_FLOAT_TO_UBYTE(d[1], src[GCOMP]); in pack_float_RGB888()
369 UNCLAMPED_FLOAT_TO_UBYTE(d[0], src[BCOMP]); in pack_float_RGB888()
416 UNCLAMPED_FLOAT_TO_UBYTE(d[2], src[BCOMP]); in pack_float_BGR888()
417 UNCLAMPED_FLOAT_TO_UBYTE(d[1], src[GCOMP]); in pack_float_BGR888()
418 UNCLAMPED_FLOAT_TO_UBYTE(d[0], src[RCOMP]); in pack_float_BGR888()
463 UNCLAMPED_FLOAT_TO_UBYTE(v[0], src[RCOMP]); in pack_float_RGB565()
464 UNCLAMPED_FLOAT_TO_UBYTE(v[1], src[GCOMP]); in pack_float_RGB565()
465 UNCLAMPED_FLOAT_TO_UBYTE(v[2], src[BCOMP]); in pack_float_RGB565()
508 UNCLAMPED_FLOAT_TO_UBYTE(r, src[RCOMP]); in pack_float_RGB565_REV()
[all …]
Dcolormac.h49 UNCLAMPED_FLOAT_TO_UBYTE(dst[i], src[i]); in _mesa_unclamped_float_rgba_to_ubyte()
Ddebug.c586 UNCLAMPED_FLOAT_TO_UBYTE(buf[i], f[i]); in _mesa_dump_image()
597 UNCLAMPED_FLOAT_TO_UBYTE(buf[i], f[i]); in _mesa_dump_image()
Dmacros.h148 #define UNCLAMPED_FLOAT_TO_UBYTE(UB, F) \ macro
168 #define UNCLAMPED_FLOAT_TO_UBYTE(ub, f) \ macro
Dformat_unpack.c2086 UNCLAMPED_FLOAT_TO_UBYTE(dst[i][0], tmp[i*4+0]); in _mesa_unpack_ubyte_rgba_row()
2087 UNCLAMPED_FLOAT_TO_UBYTE(dst[i][1], tmp[i*4+1]); in _mesa_unpack_ubyte_rgba_row()
2088 UNCLAMPED_FLOAT_TO_UBYTE(dst[i][2], tmp[i*4+2]); in _mesa_unpack_ubyte_rgba_row()
2089 UNCLAMPED_FLOAT_TO_UBYTE(dst[i][3], tmp[i*4+3]); in _mesa_unpack_ubyte_rgba_row()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_bitmap.c220 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[0], tmpColor[0]); in do_blit_bitmap()
221 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[1], tmpColor[1]); in do_blit_bitmap()
222 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[2], tmpColor[2]); in do_blit_bitmap()
223 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[3], tmpColor[3]); in do_blit_bitmap()
Di830_texblend.c82 UNCLAMPED_FLOAT_TO_UBYTE(r, factor[0]); in emit_factor()
83 UNCLAMPED_FLOAT_TO_UBYTE(g, factor[1]); in emit_factor()
84 UNCLAMPED_FLOAT_TO_UBYTE(b, factor[2]); in emit_factor()
85 UNCLAMPED_FLOAT_TO_UBYTE(a, factor[3]); in emit_factor()
Dintel_tris.c630 UNCLAMPED_FLOAT_TO_UBYTE((dst)[0], (src)[2]); \
631 UNCLAMPED_FLOAT_TO_UBYTE((dst)[1], (src)[1]); \
632 UNCLAMPED_FLOAT_TO_UBYTE((dst)[2], (src)[0]); \
633 UNCLAMPED_FLOAT_TO_UBYTE((dst)[3], (src)[3]); \
638 UNCLAMPED_FLOAT_TO_UBYTE((dst)[0], (src)[2]); \
639 UNCLAMPED_FLOAT_TO_UBYTE((dst)[1], (src)[1]); \
640 UNCLAMPED_FLOAT_TO_UBYTE((dst)[2], (src)[0]); \
Di830_state.c210 UNCLAMPED_FLOAT_TO_UBYTE(refByte, ref); in i830AlphaFunc()
266 UNCLAMPED_FLOAT_TO_UBYTE(r, color[RCOMP]); in i830BlendColor()
267 UNCLAMPED_FLOAT_TO_UBYTE(g, color[GCOMP]); in i830BlendColor()
268 UNCLAMPED_FLOAT_TO_UBYTE(b, color[BCOMP]); in i830BlendColor()
269 UNCLAMPED_FLOAT_TO_UBYTE(a, color[ACOMP]); in i830BlendColor()
Di915_state.c185 UNCLAMPED_FLOAT_TO_UBYTE(refByte, ref); in i915AlphaFunc()
244 UNCLAMPED_FLOAT_TO_UBYTE(r, color[RCOMP]); in i915BlendColor()
245 UNCLAMPED_FLOAT_TO_UBYTE(g, color[GCOMP]); in i915BlendColor()
246 UNCLAMPED_FLOAT_TO_UBYTE(b, color[BCOMP]); in i915BlendColor()
247 UNCLAMPED_FLOAT_TO_UBYTE(a, color[ACOMP]); in i915BlendColor()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_pixel_bitmap.c220 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[0], tmpColor[0]); in do_blit_bitmap()
221 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[1], tmpColor[1]); in do_blit_bitmap()
222 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[2], tmpColor[2]); in do_blit_bitmap()
223 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[3], tmpColor[3]); in do_blit_bitmap()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel_bitmap.c220 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[0], tmpColor[0]); in do_blit_bitmap()
221 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[1], tmpColor[1]); in do_blit_bitmap()
222 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[2], tmpColor[2]); in do_blit_bitmap()
223 UNCLAMPED_FLOAT_TO_UBYTE(ubcolor[3], tmpColor[3]); in do_blit_bitmap()
Dbrw_wm_sampler_state.c116 UNCLAMPED_FLOAT_TO_UBYTE(sdc->ub[0], color[0]); in upload_default_color()
117 UNCLAMPED_FLOAT_TO_UBYTE(sdc->ub[1], color[1]); in upload_default_color()
118 UNCLAMPED_FLOAT_TO_UBYTE(sdc->ub[2], color[2]); in upload_default_color()
119 UNCLAMPED_FLOAT_TO_UBYTE(sdc->ub[3], color[3]); in upload_default_color()
Dgen6_cc.c222 UNCLAMPED_FLOAT_TO_UBYTE(cc->cc1.alpha_ref_fi.ui, ctx->Color.AlphaRef); in gen6_upload_color_calc_state()
Dbrw_cc.c196 UNCLAMPED_FLOAT_TO_UBYTE(cc->cc7.alpha_ref.ub[0], ctx->Color.AlphaRef); in upload_cc_unit()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_swtcl.c437 UNCLAMPED_FLOAT_TO_UBYTE(color->red, (c)[0]); \
438 UNCLAMPED_FLOAT_TO_UBYTE(color->green, (c)[1]); \
439 UNCLAMPED_FLOAT_TO_UBYTE(color->blue, (c)[2]); \
440 UNCLAMPED_FLOAT_TO_UBYTE(color->alpha, (c)[3]); \
449 UNCLAMPED_FLOAT_TO_UBYTE(spec->red, (c)[0]); \
450 UNCLAMPED_FLOAT_TO_UBYTE(spec->green, (c)[1]); \
451 UNCLAMPED_FLOAT_TO_UBYTE(spec->blue, (c)[2]); \
/external/mesa3d/src/mesa/swrast/
Ds_chan.h77 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) UNCLAMPED_FLOAT_TO_UBYTE(c, f)
/external/mesa3d/src/mesa/drivers/windows/gdi/
Dwmesa.c275 UNCLAMPED_FLOAT_TO_UBYTE(col[0], color.f[0]); in clear()
276 UNCLAMPED_FLOAT_TO_UBYTE(col[1], color.f[1]); in clear()
277 UNCLAMPED_FLOAT_TO_UBYTE(col[2], color.f[2]); in clear()
/external/mesa3d/src/mesa/math/
Dm_translate.c444 #define TRX_UB(ub,f,n) UNCLAMPED_FLOAT_TO_UBYTE(ub, PTR_ELT(f,n))
/external/mesa3d/docs/
DVERSIONS1196 - fixed bug in UNCLAMPED_FLOAT_TO_UBYTE macro; solves a color