Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp94 #define TILEX_PROCF(fx, max) SK_USHIFT16((unsigned)((fx) & 0xFFFF) * ((max) + 1))
95 #define TILEY_PROCF(fy, max) SK_USHIFT16((unsigned)((fy) & 0xFFFF) * ((max) + 1))
102 return SK_USHIFT16((unsigned)((fx) & 0xFFFF) * ((max) + 1)); in X()
106 return SK_USHIFT16((unsigned)((fy) & 0xFFFF) * ((max) + 1)); in Y()
125 #define TILEX_PROCF(fx, max) SK_USHIFT16(tileProcX(fx) * ((max) + 1))
126 #define TILEY_PROCF(fy, max) SK_USHIFT16(tileProcY(fy) * ((max) + 1))
132 return SK_USHIFT16(s.fTileProcX(fx) * ((max) + 1)); in X()
135 return SK_USHIFT16(s.fTileProcY(fy) * ((max) + 1)); in Y()
DSkBitmapProcState_utils.h14 static inline unsigned SK_USHIFT16(unsigned x) { in SK_USHIFT16() function
/external/skia/src/opts/
DSkBitmapProcState_matrixProcs_neon.cpp133 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1))
134 #define TILEY_PROCF(fy, max) SK_USHIFT16(((fy) & 0xFFFF) * ((max) + 1))