Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkDither.h62 #define SkDITHER_R32To565(r, d) SkR32ToR16(SkDITHER_R32_FOR_565(r, d))
/external/skia/include/core/
DSkColorPriv.h588 static inline unsigned SkR32ToR16(unsigned r) { in SkR32ToR16() function
601 #define SkR32ToR16(r) SkR32ToR16_MACRO(r) macro
618 return (SkR32ToR16(r) << SK_R16_SHIFT) | in SkPack888ToRGB16()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp369 cache[0] = SkPackRGB16(SkR32ToR16(rr), SkG32ToG16(gg), SkB32ToB16(bb)); in Build16bitCache()
381 cache[0] = SkPackRGB16(SkR32ToR16(rr), SkG32ToG16(gg), SkB32ToB16(bb)); in Build16bitCache()