Searched refs:FIXED_HALF (Results 1 – 2 of 2) sorted by relevance
31 const GGLfixed FIXED_HALF = 1L<<(FIXED_BITS-1); variable49 return (f + FIXED_HALF)>>FIXED_BITS; in gglFixedToIntRound()68 return gglFloorx(v + FIXED_HALF) | FIXED_HALF; in gglCenterx()
601 const GGLfixed clamp_min = FIXED_HALF; in wrapping()602 const GGLfixed clamp_max = (size << 16) - FIXED_HALF; in wrapping()711 u = (((tx.shade.is0>>16) + x)<<16) + FIXED_HALF; in scanline()720 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF; in scanline()733 u -= FIXED_HALF; in scanline()734 v -= FIXED_HALF; in scanline()