Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkPostConfig.h47 # if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT)
51 # if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT)
134 # define SK_B32_SHIFT 0 macro
166 # define SK_B32_SHIFT 8 macro
171 # define SK_B32_SHIFT 16 macro
182 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
DSkColorPriv.h65 SK_B32_SHIFT == SK_RGBA_B32_SHIFT)
71 SK_B32_SHIFT == SK_BGRA_B32_SHIFT)
77 #define SK_B_INDEX (SK_B32_SHIFT/8)
109 static const uint32_t kRBMask = (0xFF << SK_R32_SHIFT) | (0xFF << SK_B32_SHIFT); in SkSwizzle_RB()
112 unsigned c1 = (c >> SK_B32_SHIFT) & 0xFF; in SkSwizzle_RB()
113 return (c & ~kRBMask) | (c0 << SK_B32_SHIFT) | (c1 << SK_R32_SHIFT); in SkSwizzle_RB()
360 #define SkGetPackedB32(packed) ((uint32_t)((packed) << (24 - SK_B32_SHIFT)) >> 24)
404 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32()
539 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32NoCheck()
608 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16…
[all …]
DSkUserConfig.h135 #define SK_B32_SHIFT 0 macro
/external/skia/src/opts/
DSkColor_opts_SSE2.h103 __m128i b = _mm_slli_epi32(src, (24 - SK_B32_SHIFT)); in SkGetPackedB32_SSE2()
132 __m128i db = _mm_slli_epi32(b, SK_B32_SHIFT); in SkPackARGB32_SSE2()
196 SK_B32_SHIFT + (8 - SK_B16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2()
199 SK_B32_SHIFT + (8 - SK_B16_BITS)); in SkPixel32ToPixel16_ToU16_SSE2()
DSkBlitRow_opts_SSE2.cpp312 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5)
367 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16_SSE2()
453 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
765 __m128i sb1 = _mm_slli_epi32(src_pixel1, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_SSE2()
767 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_SSE2()
891 __m128i sb1 = _mm_slli_epi32(src_pixel1, (24 - SK_B32_SHIFT)); in S32_D565_Opaque_Dither_SSE2()
893 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32_D565_Opaque_Dither_SSE2()
1045 __m128i sb1 = _mm_slli_epi32(src_pixel1, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
1047 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
DSkColor_opts_neon.h19 #define NEON_B (SK_B32_SHIFT / 8)
/external/skia/src/core/
DSkPM4f.h21 B = SK_B32_SHIFT/8,
DSkColorMatrixFilterRowMajor255.cpp20 #define SK_PMORDER_INDEX_B (SK_B32_SHIFT / 8)
113 Sk4f b4 = srcf[SK_B32_SHIFT/8]; in filter_span()
/external/skia/third_party/ktx/
Dktx.cpp541 dstPixel[2] = pixel >> SK_B32_SHIFT; in WriteBitmapToKTX()
/external/skia/src/effects/
DSkTableColorFilter.cpp584 #define SK_B32_INDEX (3 - (SK_B32_SHIFT >> 3))