Home
last modified time | relevance | path

Searched refs:FIXED_HALF (Results 1 – 2 of 2) sorted by relevance

/system/core/include/private/pixelflinger/
Dggl_fixed.h31 const GGLfixed FIXED_HALF = 1L<<(FIXED_BITS-1); variable
49 return (f + FIXED_HALF)>>FIXED_BITS; in gglFixedToIntRound()
68 return gglFloorx(v + FIXED_HALF) | FIXED_HALF; in gglCenterx()
/system/core/libpixelflinger/
Dscanline.cpp601 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()