Home
last modified time | relevance | path

Searched refs:SK_USHIFT16 (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp98 #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()
DSkBitmapProcState_utils.h7 static unsigned SK_USHIFT16(unsigned x) { in SK_USHIFT16() function
/external/skia/src/opts/
DSkBitmapProcState_matrixProcs_neon.cpp136 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1))
137 #define TILEY_PROCF(fy, max) SK_USHIFT16(((fy) & 0xFFFF) * ((max) + 1))