Searched refs:SK_R32_SHIFT (Results 1 – 16 of 16) sorted by relevance
50 #if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT)54 #if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT)134 #define SK_R32_SHIFT 16 macro161 #define SK_R32_SHIFT 24 macro166 #define SK_R32_SHIFT 0 macro
179 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24)214 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()274 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()343 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16…348 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; in SkPixel32ToPixel16()646 (SkGetPackedR4444(c) << SK_R32_SHIFT) | in SkPixel4444ToPixel32()654 (((c >> (SK_R32_SHIFT + 4)) & 0xF) << SK_R4444_SHIFT) | in SkPixel32ToPixel4444()686 return (((c >> SK_R32_SHIFT) & 0xFF) << 24) | in SkExpand_8888()696 return (((c >> 24) & 0xFF) << SK_R32_SHIFT) | in SkCompact_8888()707 return (((c >> (SK_R32_SHIFT + 4)) & 0xF) << 24) | in SkExpand32_4444()
182 #define SK_R32_SHIFT 16 macro
49 #if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT)53 #if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT)155 #define SK_R32_SHIFT 16 macro182 #define SK_R32_SHIFT 24 macro187 #define SK_R32_SHIFT 0 macro
203 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24)238 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()309 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()378 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16…383 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; in SkPixel32ToPixel16()681 (SkGetPackedR4444(c) << SK_R32_SHIFT) | in SkPixel4444ToPixel32()689 (((c >> (SK_R32_SHIFT + 4)) & 0xF) << SK_R4444_SHIFT) | in SkPixel32ToPixel4444()721 return (((c >> SK_R32_SHIFT) & 0xFF) << 24) | in SkExpand_8888()731 return (((c >> 24) & 0xFF) << SK_R32_SHIFT) | in SkCompact_8888()742 return (((c >> (SK_R32_SHIFT + 4)) & 0xF) << 24) | in SkExpand32_4444()
206 #define SK_R32_SHIFT 16 macro
161 #if 24 == SK_A32_SHIFT && 16 == SK_R32_SHIFT && \165 #elif 24 == SK_A32_SHIFT && 0 == SK_R32_SHIFT && \174 #if 0 == SK_A32_SHIFT && 8 == SK_R32_SHIFT && \178 #elif 0 == SK_A32_SHIFT && 24 == SK_R32_SHIFT && \
36 static const int SK_NATIVE_R_IDX = SK_R32_SHIFT / 8;41 static const int SK_NATIVE_R_IDX = 3 - (SK_R32_SHIFT / 8);
37 packing->RShift = SK_R32_SHIFT; in anp_getPixelPacking()
220 #if 24 == SK_A32_SHIFT && 16 == SK_R32_SHIFT && \224 #elif 24 == SK_A32_SHIFT && 0 == SK_R32_SHIFT && \233 #if 0 == SK_A32_SHIFT && 8 == SK_R32_SHIFT && \237 #elif 0 == SK_A32_SHIFT && 24 == SK_R32_SHIFT && \
37 static const int SK_NATIVE_R_IDX = SK_R32_SHIFT / 8;42 static const int SK_NATIVE_R_IDX = 3 - (SK_R32_SHIFT / 8);
300 #if 24 == SK_A32_SHIFT && 16 == SK_R32_SHIFT && \304 8 == SK_G32_SHIFT && 0 == SK_R32_SHIFT
519 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5)551 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in SkBlendLCD16_SSE2()599 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
204 #define SK_R32_INDEX (3 - (SK_R32_SHIFT >> 3))
18 (SK_A32_SHIFT == (a) && SK_R32_SHIFT == (r) \
401 #define SK_R32_INDEX (3 - (SK_R32_SHIFT >> 3))