Searched refs:SK_R16_BITS (Results 1 – 2 of 2) sorted by relevance
19 #define SK_R16_BITS 5 macro27 #define SK_R16_MASK ((1 << SK_R16_BITS) - 1)36 return (r << (8 - SK_R16_BITS)) | (r >> (2 * SK_R16_BITS - 8)); in SkR16ToR32()295 #define SkR32ToR16_MACRO(r) ((unsigned)(r) >> (SK_R32_BITS - SK_R16_BITS))319 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; in SkPixel32ToPixel16()347 dr = (sr + SkMul16ShiftRound(dr, isa, SK_R16_BITS)) >> (8 - SK_R16_BITS); in SkSrcOver32To16()361 SkASSERT((r >> (8 - SK_R16_BITS)) == SkGetPackedR16(src)); in SkPixel16ToColor()
36 int maskR = SkGetPackedR16(mask) >> (SK_R16_BITS - 5); in blend_lcd16()76 int maskR = SkGetPackedR16(mask) >> (SK_R16_BITS - 5); in blend_lcd16_opaque()106 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5)488 vmaskG = vshrq_n_u16(vshlq_n_u16(vmask, SK_R16_BITS), in blit_row_lcd16_opaque()489 SK_B16_BITS + SK_R16_BITS + 1); in blit_row_lcd16_opaque()545 vmaskG = vshrq_n_u16(vshlq_n_u16(vmask, SK_R16_BITS), in blit_row_lcd16()546 SK_B16_BITS + SK_R16_BITS + 1); in blit_row_lcd16()1231 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5); in blend_row_lcd16()1265 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5); in blend_row_LCD16_opaque()