Searched refs:SK_R32_SHIFT (Results 1 – 12 of 12) sorted by relevance
46 # if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT)50 # if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT)166 # define SK_R32_SHIFT 16 macro193 # define SK_R32_SHIFT 24 macro198 # define SK_R32_SHIFT 0 macro211 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
63 SK_R32_SHIFT == SK_RGBA_R32_SHIFT && \69 SK_R32_SHIFT == SK_BGRA_R32_SHIFT && \104 static const uint32_t kRBMask = (0xFF << SK_R32_SHIFT) | (0xFF << SK_B32_SHIFT); in SkSwizzle_RB()106 unsigned c0 = (c >> SK_R32_SHIFT) & 0xFF; in SkSwizzle_RB()108 return (c & ~kRBMask) | (c0 << SK_B32_SHIFT) | (c1 << SK_R32_SHIFT); in SkSwizzle_RB()349 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24)382 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()517 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()585 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16…590 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; in SkPixel32ToPixel16()[all …]
147 #define SK_R32_SHIFT 16 macro
93 __m128i r = _mm_slli_epi32(src, (24 - SK_R32_SHIFT)); in SkGetPackedR32_SSE2()130 __m128i dr = _mm_slli_epi32(r, SK_R32_SHIFT); in SkPackARGB32_SSE2()178 SK_R32_SHIFT + (8 - SK_R16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2()181 SK_R32_SHIFT + (8 - SK_R16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2()
355 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5)404 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in SkBlendLCD16_SSE2()490 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in SkBlendLCD16Opaque_SSE2()796 __m128i sr1 = _mm_slli_epi32(src_pixel1, (24 - SK_R32_SHIFT)); in S32A_D565_Opaque_SSE2()798 __m128i sr2 = _mm_slli_epi32(src_pixel2, (24 - SK_R32_SHIFT)); in S32A_D565_Opaque_SSE2()910 __m128i sr1 = _mm_slli_epi32(src_pixel1, (24 - SK_R32_SHIFT)); in S32_D565_Opaque_Dither_SSE2()912 __m128i sr2 = _mm_slli_epi32(src_pixel2, (24 - SK_R32_SHIFT)); in S32_D565_Opaque_Dither_SSE2()1060 __m128i sr1 = _mm_slli_epi32(src_pixel1, (24 - SK_R32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()1062 __m128i sr2 = _mm_slli_epi32(src_pixel2, (24 - SK_R32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
10 #define NEON_R (SK_R32_SHIFT / 8)
59 #if SK_R32_SHIFT == 0 in paintEvent()
39 float r() const { return this->kth<SK_R32_SHIFT / 8>(); } in r()
49 uint32_t rmask = SK_R32_MASK << SK_R32_SHIFT; in SkOSWindow()
539 dstPixel[0] = pixel >> SK_R32_SHIFT; in WriteBitmapToKTX()
607 #define SK_R32_INDEX (3 - (SK_R32_SHIFT >> 3))
18 #define SK_PMORDER_INDEX_R (SK_R32_SHIFT / 8)