Searched refs:TRI_FRACTION_BITS (Results 1 – 2 of 2) sorted by relevance
169 GGLint l = (xc - halfSize) >> TRI_FRACTION_BITS; in pointx()170 GGLint t = (yc - halfSize) >> TRI_FRACTION_BITS; in pointx()171 GGLint r = (xc + halfSize) >> TRI_FRACTION_BITS; in pointx()172 GGLint b = (yc + halfSize) >> TRI_FRACTION_BITS; in pointx()210 GGLint l = (v[0] - rad) >> TRI_FRACTION_BITS; in aa_nice_pointx()211 GGLint t = (v[1] - rad) >> TRI_FRACTION_BITS; in aa_nice_pointx()212 GGLint r = (v[0] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS; in aa_nice_pointx()213 GGLint b = (v[1] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS; in aa_nice_pointx()275 GGLint l = (v[0] - rad) >> TRI_FRACTION_BITS; in aa_pointx()276 GGLint t = (v[1] - rad) >> TRI_FRACTION_BITS; in aa_pointx()[all …]
91 #define TRI_FRACTION_BITS (GGL_SUBPIXEL_BITS) macro92 #define TRI_ONE (1 << TRI_FRACTION_BITS)93 #define TRI_HALF (1 << (TRI_FRACTION_BITS-1))94 #define TRI_FROM_INT(x) ((x) << TRI_FRACTION_BITS)100 #define TRI_ROUDNING (1 << (16 - TRI_FRACTION_BITS - 1))101 #define TRI_FROM_FIXED(x) (((x)+TRI_ROUDNING) >> (16-TRI_FRACTION_BITS))