Home
last modified time | relevance | path

Searched refs:SK_B32_SHIFT (Results 1 – 15 of 15) sorted by relevance

/external/skqp/include/core/
DSkPostConfig.h51 # if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT)
55 # if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT)
123 # define SK_B32_SHIFT 0 macro
164 # define SK_B32_SHIFT 8 macro
169 # define SK_B32_SHIFT 16 macro
180 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
DSkColorPriv.h73 #define SkGetPackedB32(packed) ((uint32_t)((packed) << (24 - SK_B32_SHIFT)) >> 24)
91 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32()
100 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32NoCheck()
/external/skia/include/core/
DSkPostConfig.h51 # if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT)
55 # if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT)
123 # define SK_B32_SHIFT 0 macro
164 # define SK_B32_SHIFT 8 macro
169 # define SK_B32_SHIFT 16 macro
180 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
DSkColorPriv.h73 #define SkGetPackedB32(packed) ((uint32_t)((packed) << (24 - SK_B32_SHIFT)) >> 24)
91 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32()
100 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32NoCheck()
/external/skia/src/core/
DSkColorData.h55 SK_B32_SHIFT == SK_RGBA_B32_SHIFT)
61 SK_B32_SHIFT == SK_BGRA_B32_SHIFT)
67 #define SK_B_INDEX (SK_B32_SHIFT/8)
99 static const uint32_t kRBMask = (0xFF << SK_R32_SHIFT) | (0xFF << SK_B32_SHIFT); in SkSwizzle_RB()
102 unsigned c1 = (c >> SK_B32_SHIFT) & 0xFF; in SkSwizzle_RB()
103 return (c & ~kRBMask) | (c0 << SK_B32_SHIFT) | (c1 << SK_R32_SHIFT); in SkSwizzle_RB()
511 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16…
516 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()
765 (SkGetPackedB4444(c) << SK_B32_SHIFT); in SkPixel4444ToPixel32()
773 (((c >> (SK_B32_SHIFT + 4)) & 0xF) << SK_B4444_SHIFT); in SkPixel32ToPixel4444()
[all …]
/external/skqp/src/core/
DSkColorData.h55 SK_B32_SHIFT == SK_RGBA_B32_SHIFT)
61 SK_B32_SHIFT == SK_BGRA_B32_SHIFT)
67 #define SK_B_INDEX (SK_B32_SHIFT/8)
99 static const uint32_t kRBMask = (0xFF << SK_R32_SHIFT) | (0xFF << SK_B32_SHIFT); in SkSwizzle_RB()
102 unsigned c1 = (c >> SK_B32_SHIFT) & 0xFF; in SkSwizzle_RB()
103 return (c & ~kRBMask) | (c0 << SK_B32_SHIFT) | (c1 << SK_R32_SHIFT); in SkSwizzle_RB()
511 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16…
516 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()
765 (SkGetPackedB4444(c) << SK_B32_SHIFT); in SkPixel4444ToPixel32()
773 (((c >> (SK_B32_SHIFT + 4)) & 0xF) << SK_B4444_SHIFT); in SkPixel32ToPixel4444()
[all …]
/external/skia/src/opts/
DSkColor_opts_SSE2.h135 __m128i b = _mm_slli_epi32(src, (24 - SK_B32_SHIFT)); in SkGetPackedB32_SSE2()
164 __m128i db = _mm_slli_epi32(b, SK_B32_SHIFT); in SkPackARGB32_SSE2()
228 SK_B32_SHIFT + (8 - SK_B16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2()
231 SK_B32_SHIFT + (8 - SK_B16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2()
DSkBlitRow_opts_SSE2.cpp111 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5)
166 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16_SSE2()
252 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
DSkColor_opts_neon.h19 #define NEON_B (SK_B32_SHIFT / 8)
/external/skqp/src/opts/
DSkColor_opts_SSE2.h135 __m128i b = _mm_slli_epi32(src, (24 - SK_B32_SHIFT)); in SkGetPackedB32_SSE2()
164 __m128i db = _mm_slli_epi32(b, SK_B32_SHIFT); in SkPackARGB32_SSE2()
228 SK_B32_SHIFT + (8 - SK_B16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2()
231 SK_B32_SHIFT + (8 - SK_B16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2()
DSkBlitRow_opts_SSE2.cpp111 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5)
166 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16_SSE2()
252 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
DSkColor_opts_neon.h19 #define NEON_B (SK_B32_SHIFT / 8)
/external/pdfium/skia/config/
DSkUserConfig.h158 #define SK_B32_SHIFT 0 macro
/external/skqp/src/effects/
DSkDisplacementMapEffect.cpp42 SK_B32_SHIFT,
/external/skia/src/effects/
DSkDisplacementMapEffect.cpp42 SK_B32_SHIFT,