Searched refs:SK_USHIFT16 (Results 1 – 3 of 3) sorted by relevance
98 #define TILEX_PROCF(fx, max) SK_USHIFT16((unsigned)((fx) & 0xFFFF) * ((max) + 1))99 #define TILEY_PROCF(fy, max) SK_USHIFT16((unsigned)((fy) & 0xFFFF) * ((max) + 1))107 return SK_USHIFT16((unsigned)((fx) & 0xFFFF) * ((max) + 1)); in X()111 return SK_USHIFT16((unsigned)((fy) & 0xFFFF) * ((max) + 1)); in Y()134 #define TILEX_PROCF(fx, max) SK_USHIFT16(tileProcX(fx) * ((max) + 1))135 #define TILEY_PROCF(fy, max) SK_USHIFT16(tileProcY(fy) * ((max) + 1))142 return SK_USHIFT16(s.fTileProcX(fx) * ((max) + 1)); in X()145 return SK_USHIFT16(s.fTileProcY(fy) * ((max) + 1)); in Y()
7 static unsigned SK_USHIFT16(unsigned x) { in SK_USHIFT16() function
136 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1))137 #define TILEY_PROCF(fy, max) SK_USHIFT16(((fy) & 0xFFFF) * ((max) + 1))