Searched defs:FIXED_BITS (Results 1 - 1 of 1) sorted by relevance

/system/core/include/private/pixelflinger/
H A Dggl_fixed.h28 const GGLfixed FIXED_BITS = 16; variable
30 const GGLfixed FIXED_ONE = 1L<<FIXED_BITS;
31 const GGLfixed FIXED_HALF = 1L<<(FIXED_BITS-1);
46 return i<<FIXED_BITS;
49 return (f + FIXED_HALF)>>FIXED_BITS;
52 return f>>FIXED_BITS;
55 return (f + ((1<<FIXED_BITS) - 1))>>FIXED_BITS;
59 return v & ((1<<FIXED_BITS)-1);
62 return gglFixedToIntFloor(v)<<FIXED_BITS;
[all...]

Completed in 284 milliseconds