Home
last modified time | relevance | path

Searched refs:CHAN_MAX (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_chan.h51 #define CHAN_MAX 255 macro
56 #define CHAN_MAX 65535 macro
61 #define CHAN_MAX 1.0 macro
Ds_triangle.c286 sample[ACOMP] = CHAN_MAX; in affine_span()
292 sample[ACOMP] = CHAN_MAX; in affine_span()
313 dest[RCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->red + \ in affine_span()
316 dest[GCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->green + \ in affine_span()
319 dest[BCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->blue + \ in affine_span()
325 dest[RCOMP] = ((CHAN_MAX - sample[RCOMP]) * span->red \ in affine_span()
327 dest[GCOMP] = ((CHAN_MAX - sample[GCOMP]) * span->green \ in affine_span()
329 dest[BCOMP] = ((CHAN_MAX - sample[BCOMP]) * span->blue \ in affine_span()
340 dest[RCOMP] = MIN2(rSum, CHAN_MAX); \ in affine_span()
341 dest[GCOMP] = MIN2(gSum, CHAN_MAX); \ in affine_span()
[all …]
Ds_aatriangle.c140 else if (z > CHAN_MAX) in solve_plane_chan()
141 return CHAN_MAX; in solve_plane_chan()
Ds_aaline.c180 else if (z > CHAN_MAX) in solve_plane_chan()
181 return CHAN_MAX; in solve_plane_chan()
/external/mesa3d/src/mesa/tnl/
Dt_vertex_generic.c301 c[3] = CHAN_MAX; in insert_4chan_4f_rgba_3()
313 c[3] = CHAN_MAX; in insert_4chan_4f_rgba_2()
325 c[3] = CHAN_MAX; in insert_4chan_4f_rgba_1()