Searched refs:CHAN_MAX (Results 1 – 5 of 5) sorted by relevance
51 #define CHAN_MAX 255 macro56 #define CHAN_MAX 65535 macro61 #define CHAN_MAX 1.0 macro
286 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 …]
140 else if (z > CHAN_MAX) in solve_plane_chan()141 return CHAN_MAX; in solve_plane_chan()
180 else if (z > CHAN_MAX) in solve_plane_chan()181 return CHAN_MAX; in solve_plane_chan()
301 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()