Searched refs:FIXED_HALF (Results 1 – 3 of 3) sorted by relevance
/system/core/libpixelflinger/tests/gglmul/ |
D | gglmul_test.cpp | 115 {FIXED_HALF,FIXED_ONE,16}, 155 {FIXED_MIN,FIXED_MAX,16, FIXED_HALF}, 158 {FIXED_HALF,FIXED_ONE,16,FIXED_ONE}, 159 {FIXED_MAX,FIXED_MAX,31, FIXED_HALF}, 160 {FIXED_ONE,FIXED_MAX,31, FIXED_HALF} 198 {FIXED_MIN,FIXED_MAX,16, FIXED_HALF}, 201 {FIXED_HALF,FIXED_ONE,16,FIXED_ONE}, 202 {FIXED_MAX,FIXED_MAX,31, FIXED_HALF}, 203 {FIXED_ONE,FIXED_MAX,31, FIXED_HALF}
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
D | ggl_fixed.h | 31 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/ |
D | scanline.cpp | 619 const GGLfixed clamp_min = FIXED_HALF; in wrapping() 620 const GGLfixed clamp_max = (size << 16) - FIXED_HALF; in wrapping() 729 u = (((tx.shade.is0>>16) + x)<<16) + FIXED_HALF; in scanline() 738 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF; in scanline() 751 u -= FIXED_HALF; in scanline() 752 v -= FIXED_HALF; in scanline()
|