Searched refs:FIXED_BITS (Results 1 – 2 of 2) sorted by relevance
28 const GGLfixed FIXED_BITS = 16; variable30 const GGLfixed FIXED_ONE = 1L<<FIXED_BITS;31 const GGLfixed FIXED_HALF = 1L<<(FIXED_BITS-1);46 return i<<FIXED_BITS; in gglIntToFixed()49 return (f + FIXED_HALF)>>FIXED_BITS; in gglFixedToIntRound()52 return f>>FIXED_BITS; in gglFixedToIntFloor()55 return (f + ((1<<FIXED_BITS) - 1))>>FIXED_BITS; in gglFixedToIntCeil()59 return v & ((1<<FIXED_BITS)-1); in gglFracx()62 return gglFixedToIntFloor(v)<<FIXED_BITS; in gglFloorx()65 return gglFixedToIntCeil(v)<<FIXED_BITS; in gglCeilx()[all …]
882 const int shift = FIXED_BITS - TRI_FRACTION_BITS; in aa_edge_setup()899 >> (TRI_FRACTION_BITS + TRI_ITERATORS_BITS - FIXED_BITS); in aa_edge_setup()1002 const int32_t shift = TRI_FRACTION_BITS + TRI_ITERATORS_BITS - FIXED_BITS; in aapolyx()1072 FIXED_BITS + TRI_FRACTION_BITS - 15); in aapolyx()1112 SET_COVERAGE(coverage, 0x7FFF, ((r_max - l_max_i)>>FIXED_BITS)+1); in aapolyx()1125 FIXED_BITS + TRI_FRACTION_BITS - 15); in aapolyx()