Searched refs:SK_R32_SHIFT (Results 1 – 9 of 9) sorted by relevance
50 #if defined(SK_R32_SHIFT)51 static_assert(SK_R32_SHIFT == 0 || SK_R32_SHIFT == 16, "");53 #define SK_R32_SHIFT 16 macro55 #define SK_R32_SHIFT 0 macro59 static_assert(SK_B32_SHIFT == (16-SK_R32_SHIFT), "");61 #define SK_B32_SHIFT (16-SK_R32_SHIFT)
79 SK_R32_SHIFT == SK_RGBA_R32_SHIFT && \84 SK_R32_SHIFT == SK_BGRA_R32_SHIFT && \93 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24)112 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()121 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()
70 #ifndef SK_R32_SHIFT71 #define SK_R32_SHIFT 16 macro
58 static const uint32_t kRBMask = (0xFF << SK_R32_SHIFT) | (0xFF << SK_B32_SHIFT); in SkSwizzle_RB()60 unsigned c0 = (c >> SK_R32_SHIFT) & 0xFF; in SkSwizzle_RB()62 return (c & ~kRBMask) | (c0 << SK_B32_SHIFT) | (c1 << SK_R32_SHIFT); in SkSwizzle_RB()318 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; in SkPixel32ToPixel16()370 (SkGetPackedR4444(c) << SK_R32_SHIFT) | in SkPixel4444ToPixel32()
154 #define SK_R32_SHIFT 16 macro
25 #define NEON_R (SK_R32_SHIFT / 8)
106 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5)154 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in blend_lcd16_sse2()239 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in blend_lcd16_opaque_sse2()441 #define NEON_R (SK_R32_SHIFT / 8)
2079 "SK_R32_SHIFT=16",2122 "SK_R32_SHIFT=16",
37 defines += [ "SK_R32_SHIFT=16" ]