Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_chan.h52 #define CHAN_MAX 255 macro
57 #define CHAN_MAX 65535 macro
62 #define CHAN_MAX 1.0 macro
Ds_triangle.c287 sample[ACOMP] = CHAN_MAX; in affine_span()
293 sample[ACOMP] = CHAN_MAX; in affine_span()
314 dest[RCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->red + \ in affine_span()
317 dest[GCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->green + \ in affine_span()
320 dest[BCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->blue + \ in affine_span()
326 dest[RCOMP] = ((CHAN_MAX - sample[RCOMP]) * span->red \ in affine_span()
328 dest[GCOMP] = ((CHAN_MAX - sample[GCOMP]) * span->green \ in affine_span()
330 dest[BCOMP] = ((CHAN_MAX - sample[BCOMP]) * span->blue \ in affine_span()
341 dest[RCOMP] = MIN2(rSum, CHAN_MAX); \ in affine_span()
342 dest[GCOMP] = MIN2(gSum, CHAN_MAX); \ in affine_span()
[all …]
Ds_aatriangle.c124 else if (z > CHAN_MAX) in solve_plane_chan()
125 return CHAN_MAX; in solve_plane_chan()
Ds_aaline.c181 else if (z > CHAN_MAX) in solve_plane_chan()
182 return CHAN_MAX; in solve_plane_chan()
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h36 #define CHAN_MAX 255 macro
67 rgba[ACOMP] = CHAN_MAX; in dxt135_decode_imageblock()
176 rgba[ACOMP] = CHAN_MAX; in fetch_2d_texel_rgba_dxt5()
902 srcpixels[j][i][c] = *curaddr++ / (CHAN_MAX / 255); in extractsrccolors()
/external/mesa3d/src/mesa/tnl/
Dt_vertex_generic.c300 c[3] = CHAN_MAX; in insert_4chan_4f_rgba_3()
312 c[3] = CHAN_MAX; in insert_4chan_4f_rgba_2()
324 c[3] = CHAN_MAX; in insert_4chan_4f_rgba_1()