Home
last modified time | relevance | path

Searched refs:SK_G16_BITS (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/include/private/
DSkColorData.h20 #define SK_G16_BITS 6 macro
23 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS)
28 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1)
40 return (g << (8 - SK_G16_BITS)) | (g >> (2 * SK_G16_BITS - 8)); in SkG16ToG32()
296 #define SkG32ToG16_MACRO(g) ((unsigned)(g) >> (SK_G32_BITS - SK_G16_BITS))
320 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT; in SkPixel32ToPixel16()
348 dg = (sg + SkMul16ShiftRound(dg, isa, SK_G16_BITS)) >> (8 - SK_G16_BITS); in SkSrcOver32To16()
362 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); in SkPixel16ToColor()
/third_party/skia/src/core/
DSkBlitter_ARGB32.cpp37 int maskG = SkGetPackedG16(mask) >> (SK_G16_BITS - 5); in blend_lcd16()
77 int maskG = SkGetPackedG16(mask) >> (SK_G16_BITS - 5); in blend_lcd16_opaque()
107 #define SK_G16x5_G32x5_SHIFT (SK_G32_SHIFT - SK_G16_SHIFT - SK_G16_BITS + 5)
1232 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5); in blend_row_lcd16()
1266 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5); in blend_row_LCD16_opaque()