Home
last modified time | relevance | path

Searched refs:SK_R16_SHIFT (Results 1 – 4 of 4) sorted by relevance

/external/skqp/include/private/
DSkColorData.h23 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS) macro
31 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK)
147 return SkToU16((r << SK_R16_SHIFT) | (g << SK_G16_SHIFT) | (b << SK_B16_SHIFT)); in SkPackRGB16()
150 #define SK_R16_MASK_IN_PLACE (SK_R16_MASK << SK_R16_SHIFT)
323 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; in SkPixel32ToPixel16()
330 return (SkR32ToR16(r) << SK_R16_SHIFT) | in SkPack888ToRGB16()
/external/skia/include/private/
DSkColorData.h23 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS) macro
31 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK)
147 return SkToU16((r << SK_R16_SHIFT) | (g << SK_G16_SHIFT) | (b << SK_B16_SHIFT)); in SkPackRGB16()
150 #define SK_R16_MASK_IN_PLACE (SK_R16_MASK << SK_R16_SHIFT)
323 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; in SkPixel32ToPixel16()
330 return (SkR32ToR16(r) << SK_R16_SHIFT) | in SkPack888ToRGB16()
/external/skqp/src/core/
DSkBlitter_ARGB32.cpp106 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5)
487 vmaskR = vshrq_n_u16(vmask, SK_R16_SHIFT); in blit_row_lcd16_opaque()
544 vmaskR = vshrq_n_u16(vmask, SK_R16_SHIFT); in blit_row_lcd16()
/external/skia/src/core/
DSkBlitter_ARGB32.cpp106 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5)
487 vmaskR = vshrq_n_u16(vmask, SK_R16_SHIFT); in blit_row_lcd16_opaque()
544 vmaskR = vshrq_n_u16(vmask, SK_R16_SHIFT); in blit_row_lcd16()