Searched refs:CHAN_MAXF (Results 1 – 4 of 4) sorted by relevance
52 #define CHAN_MAXF 255.0F macro57 #define CHAN_MAXF 65535.0F macro62 #define CHAN_MAXF 1.0F macro86 #define CHAN_TO_FLOAT(c) ((GLfloat) ((c) * (1.0 / CHAN_MAXF)))
564 info.er = FloatToFixed(unit->EnvColor[RCOMP] * CHAN_MAXF); \565 info.eg = FloatToFixed(unit->EnvColor[GCOMP] * CHAN_MAXF); \566 info.eb = FloatToFixed(unit->EnvColor[BCOMP] * CHAN_MAXF); \567 info.ea = FloatToFixed(unit->EnvColor[ACOMP] * CHAN_MAXF); \830 info.er = FloatToFixed(unit->EnvColor[RCOMP] * CHAN_MAXF); \831 info.eg = FloatToFixed(unit->EnvColor[GCOMP] * CHAN_MAXF); \832 info.eb = FloatToFixed(unit->EnvColor[BCOMP] * CHAN_MAXF); \833 info.ea = FloatToFixed(unit->EnvColor[ACOMP] * CHAN_MAXF); \
136 return CLAMP(z, 0.0F, CHAN_MAXF); in solve_plane_chan()
176 return CLAMP(z, 0.0F, CHAN_MAXF); in solve_plane_chan()