Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkPostConfig.h46 # 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)
168 # define SK_B32_SHIFT 0 macro
195 # define SK_B32_SHIFT 8 macro
200 # define SK_B32_SHIFT 16 macro
211 (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)
104 static const uint32_t kRBMask = (0xFF << SK_R32_SHIFT) | (0xFF << SK_B32_SHIFT); in SkSwizzle_RB()
107 unsigned c1 = (c >> SK_B32_SHIFT) & 0xFF; in SkSwizzle_RB()
108 return (c & ~kRBMask) | (c0 << SK_B32_SHIFT) | (c1 << SK_R32_SHIFT); in SkSwizzle_RB()
351 #define SkGetPackedB32(packed) ((uint32_t)((packed) << (24 - SK_B32_SHIFT)) >> 24)
383 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32()
518 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32NoCheck()
587 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16…
592 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()
[all …]
DSkUserConfig.h149 #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.cpp357 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5)
412 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16_SSE2()
498 _mm_set1_epi32(0x1F << SK_B32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
810 __m128i sb1 = _mm_slli_epi32(src_pixel1, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_SSE2()
812 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_SSE2()
936 __m128i sb1 = _mm_slli_epi32(src_pixel1, (24 - SK_B32_SHIFT)); in S32_D565_Opaque_Dither_SSE2()
938 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32_D565_Opaque_Dither_SSE2()
1090 __m128i sb1 = _mm_slli_epi32(src_pixel1, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
1092 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
DSkColor_opts_neon.h12 #define NEON_B (SK_B32_SHIFT / 8)
/external/skia/src/core/
DSkPMFloat.h41 float b() const { return this->kth<SK_B32_SHIFT / 8>(); } in b()
/external/skia/src/views/sdl/
DSkOSWindow_SDL.cpp51 uint32_t bmask = SK_B32_MASK << SK_B32_SHIFT; in SkOSWindow()
/external/skia/third_party/ktx/
Dktx.cpp541 dstPixel[2] = pixel >> SK_B32_SHIFT; in WriteBitmapToKTX()
/external/skia/src/effects/
DSkTableColorFilter.cpp609 #define SK_B32_INDEX (3 - (SK_B32_SHIFT >> 3))
DSkColorMatrixFilter.cpp20 #define SK_PMORDER_INDEX_B (SK_B32_SHIFT / 8)