HomeSort by relevance Sort by last modified time
    Searched refs:F_TO_I (Results 1 - 5 of 5) sorted by null

  /external/mesa3d/src/mesa/main/
pack.c     [all...]
pixeltransfer.c 96 rgba[i][RCOMP] = rMap[F_TO_I(r * rscale)];
97 rgba[i][GCOMP] = gMap[F_TO_I(g * gscale)];
98 rgba[i][BCOMP] = bMap[F_TO_I(b * bscale)];
99 rgba[i][ACOMP] = aMap[F_TO_I(a * ascale)];
238 indexes[i] = F_TO_I(ctx->PixelMaps.ItoI.Map[j]);
imports.h 313 static inline int F_TO_I(float f)
320 static inline int F_TO_I(float f)
330 long F_TO_I(float f);
339 #define F_TO_I(f) IROUND(f)
macros.h 132 us = ( (GLushort) F_TO_I( CLAMP((f), 0.0F, 1.0F) * 65535.0F) )
134 us = ( (GLushort) F_TO_I( (f) * 65535.0F) )
137 s = ( (GLshort) F_TO_I( CLAMP((f), -1.0F, 1.0F) * 32767.0F) )
169 ub = ((GLubyte) F_TO_I(CLAMP((f), 0.0F, 1.0F) * 255.0F))
171 ub = ((GLubyte) F_TO_I((f) * 255.0F))
  /external/mesa3d/src/mesa/program/
prog_execute.c     [all...]

Completed in 780 milliseconds