Searched refs:CHAN_MAX (Results 1 – 6 of 6) sorted by relevance
52 #define CHAN_MAX 255 macro57 #define CHAN_MAX 65535 macro62 #define CHAN_MAX 1.0 macro
287 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 …]
124 else if (z > CHAN_MAX) in solve_plane_chan()125 return CHAN_MAX; in solve_plane_chan()
181 else if (z > CHAN_MAX) in solve_plane_chan()182 return CHAN_MAX; in solve_plane_chan()
36 #define CHAN_MAX 255 macro67 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()
300 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()