Searched refs:CHAN_MAXF (Results 1 – 4 of 4) sorted by relevance
53 #define CHAN_MAXF 255.0F macro58 #define CHAN_MAXF 65535.0F macro63 #define CHAN_MAXF 1.0F macro87 #define CHAN_TO_FLOAT(c) ((GLfloat) ((c) * (1.0 / CHAN_MAXF)))
565 info.er = FloatToFixed(unit->EnvColor[RCOMP] * CHAN_MAXF); \566 info.eg = FloatToFixed(unit->EnvColor[GCOMP] * CHAN_MAXF); \567 info.eb = FloatToFixed(unit->EnvColor[BCOMP] * CHAN_MAXF); \568 info.ea = FloatToFixed(unit->EnvColor[ACOMP] * CHAN_MAXF); \831 info.er = FloatToFixed(unit->EnvColor[RCOMP] * CHAN_MAXF); \832 info.eg = FloatToFixed(unit->EnvColor[GCOMP] * CHAN_MAXF); \833 info.eb = FloatToFixed(unit->EnvColor[BCOMP] * CHAN_MAXF); \834 info.ea = FloatToFixed(unit->EnvColor[ACOMP] * CHAN_MAXF); \
120 return CLAMP(z, 0.0F, CHAN_MAXF); in solve_plane_chan()
177 return CLAMP(z, 0.0F, CHAN_MAXF); in solve_plane_chan()