Home
last modified time | relevance | path

Searched refs:FixedToChan (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_context.h456 #define FixedToChan(X) (X) macro
459 #define FixedToChan(X) FixedToInt(X) macro
Ds_span.c256 rgba[i][RCOMP] = FixedToChan(r); in interpolate_int_colors()
257 rgba[i][GCOMP] = FixedToChan(g); in interpolate_int_colors()
258 rgba[i][BCOMP] = FixedToChan(b); in interpolate_int_colors()
259 rgba[i][ACOMP] = FixedToChan(a); in interpolate_int_colors()
294 rgba[i][RCOMP] = FixedToChan(r); in interpolate_int_colors()
295 rgba[i][GCOMP] = FixedToChan(g); in interpolate_int_colors()
296 rgba[i][BCOMP] = FixedToChan(b); in interpolate_int_colors()
297 rgba[i][ACOMP] = FixedToChan(a); in interpolate_int_colors()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c267 PACK_RGBA(img, FixedToChan(span.red), \
268 FixedToChan(span.green), FixedToChan(span.blue), \
269 FixedToChan(span.alpha)); \