Searched refs:SK_B16_BITS (Results 1 – 7 of 7) sorted by relevance
64 #define SK_B16_BITS 5 macro66 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS)67 #define SK_G16_SHIFT (SK_B16_BITS)72 #define SK_B16_MASK ((1 << SK_B16_BITS) - 1)322 #define SkB32ToB16_MACRO(b) ((unsigned)(b) >> (SK_B32_BITS - SK_B16_BITS))345 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16…350 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()370 …b = ((b << 1) - ((b >> (8 - SK_B16_BITS) << (8 - SK_B16_BITS)) | (b >> SK_B16_BITS))) >> (8 - SK_B… in SkDitherPack888ToRGB16()413 db = (sb + SkMul16ShiftRound(db, isa, SK_B16_BITS)) >> (8 - SK_B16_BITS); in SkSrcOver32To16()430 return (b << (8 - SK_B16_BITS)) | (b >> (2 * SK_B16_BITS - 8)); in SkB16ToB32()[all …]
54 packing->BBits = SK_B16_BITS; in anp_getPixelPacking()
417 int maskB = SkGetPackedB16(m) >> (SK_B16_BITS - 5); in LCD16_RowProc_Blend()457 int maskB = SkGetPackedB16(m) >> (SK_B16_BITS - 5); in LCD16_RowProc_Opaque()
544 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS)); in SkRGB16_Blitter()
721 b >> (8 - SK_B16_BITS)); in eraseARGB()
527 SK_B16_BITS-5), in SkBlendLCD16_SSE2()577 __m128i b = _mm_and_si128(_mm_slli_epi32(mask, SK_B16_BITS-5), in SkBlendLCD16Opaque_SSE2()
475 pos_le(info_ptr->sig_bit.blue, SK_B16_BITS)) { in getBitmapConfig()