Searched refs:F_TO_I (Results 1 - 10 of 10) sorted by relevance
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | pack.c | 2447 dst[i] = (F_TO_I(rgba[i][RCOMP] * 7.0F) << 5) 2448 | (F_TO_I(rgba[i][GCOMP] * 7.0F) << 2) 2449 | (F_TO_I(rgba[i][BCOMP] * 3.0F) ); 2457 dst[i] = (F_TO_I(rgba[i][RCOMP] * 7.0F) ) 2458 | (F_TO_I(rgba[i][GCOMP] * 7.0F) << 3) 2459 | (F_TO_I(rgba[i][BCOMP] * 3.0F) << 6); 2467 dst[i] = (F_TO_I(rgba[i][RCOMP] * 31.0F) << 11) 2468 | (F_TO_I(rgba[i][GCOMP] * 63.0F) << 5) 2469 | (F_TO_I(rgba[i][BCOMP] * 31.0F) ); 2477 dst[i] = (F_TO_I(rgb [all...] |
H A D | 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]);
|
H A D | imports.h | 315 static inline int F_TO_I(float f) function 322 static inline int F_TO_I(float f) function 332 long F_TO_I(float f); 341 #define F_TO_I(f) IROUND(f) macro
|
H A D | 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/main/ |
H A D | pack.c | 2447 dst[i] = (F_TO_I(rgba[i][RCOMP] * 7.0F) << 5) 2448 | (F_TO_I(rgba[i][GCOMP] * 7.0F) << 2) 2449 | (F_TO_I(rgba[i][BCOMP] * 3.0F) ); 2457 dst[i] = (F_TO_I(rgba[i][RCOMP] * 7.0F) ) 2458 | (F_TO_I(rgba[i][GCOMP] * 7.0F) << 3) 2459 | (F_TO_I(rgba[i][BCOMP] * 3.0F) << 6); 2467 dst[i] = (F_TO_I(rgba[i][RCOMP] * 31.0F) << 11) 2468 | (F_TO_I(rgba[i][GCOMP] * 63.0F) << 5) 2469 | (F_TO_I(rgba[i][BCOMP] * 31.0F) ); 2477 dst[i] = (F_TO_I(rgb [all...] |
H A D | 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]);
|
H A D | imports.h | 313 static inline int F_TO_I(float f) function 320 static inline int F_TO_I(float f) function 330 long F_TO_I(float f); 339 #define F_TO_I(f) IROUND(f) macro
|
H A D | 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/chromium_org/third_party/mesa/src/src/mesa/program/ |
H A D | prog_execute.c | 1311 usx = F_TO_I(a[0] * 65535.0F); 1312 usy = F_TO_I(a[1] * 65535.0F); 1329 ubx = F_TO_I(127.0F * a[0] + 128.0F); 1330 uby = F_TO_I(127.0F * a[1] + 128.0F); 1331 ubz = F_TO_I(127.0F * a[2] + 128.0F); 1332 ubw = F_TO_I(127.0F * a[3] + 128.0F); 1349 ubx = F_TO_I(255.0F * a[0]); 1350 uby = F_TO_I(255.0F * a[1]); 1351 ubz = F_TO_I(255.0F * a[2]); 1352 ubw = F_TO_I(255. [all...] |
/external/mesa3d/src/mesa/program/ |
H A D | prog_execute.c | 1311 usx = F_TO_I(a[0] * 65535.0F); 1312 usy = F_TO_I(a[1] * 65535.0F); 1329 ubx = F_TO_I(127.0F * a[0] + 128.0F); 1330 uby = F_TO_I(127.0F * a[1] + 128.0F); 1331 ubz = F_TO_I(127.0F * a[2] + 128.0F); 1332 ubw = F_TO_I(127.0F * a[3] + 128.0F); 1349 ubx = F_TO_I(255.0F * a[0]); 1350 uby = F_TO_I(255.0F * a[1]); 1351 ubz = F_TO_I(255.0F * a[2]); 1352 ubw = F_TO_I(255. [all...] |
Completed in 438 milliseconds