Home
last modified time | relevance | path

Searched refs:SK_R32_SHIFT (Results 1 – 11 of 11) 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)
132 # define SK_R32_SHIFT 16 macro
164 # define SK_R32_SHIFT 24 macro
169 # define SK_R32_SHIFT 0 macro
182 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
DSkColorPriv.h63 SK_R32_SHIFT == SK_RGBA_R32_SHIFT && \
69 SK_R32_SHIFT == SK_BGRA_R32_SHIFT && \
75 #define SK_R_INDEX (SK_R32_SHIFT/8)
109 static const uint32_t kRBMask = (0xFF << SK_R32_SHIFT) | (0xFF << SK_B32_SHIFT); in SkSwizzle_RB()
111 unsigned c0 = (c >> SK_R32_SHIFT) & 0xFF; in SkSwizzle_RB()
113 return (c & ~kRBMask) | (c0 << SK_B32_SHIFT) | (c1 << SK_R32_SHIFT); in SkSwizzle_RB()
358 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24)
403 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()
538 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()
606 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16…
[all …]
DSkUserConfig.h133 #define SK_R32_SHIFT 16 macro
/external/skia/src/opts/
DSkColor_opts_SSE2.h93 __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()
DSkBlitRow_opts_SSE2.cpp310 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5)
359 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in SkBlendLCD16_SSE2()
445 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
751 __m128i sr1 = _mm_slli_epi32(src_pixel1, (24 - SK_R32_SHIFT)); in S32A_D565_Opaque_SSE2()
753 __m128i sr2 = _mm_slli_epi32(src_pixel2, (24 - SK_R32_SHIFT)); in S32A_D565_Opaque_SSE2()
865 __m128i sr1 = _mm_slli_epi32(src_pixel1, (24 - SK_R32_SHIFT)); in S32_D565_Opaque_Dither_SSE2()
867 __m128i sr2 = _mm_slli_epi32(src_pixel2, (24 - SK_R32_SHIFT)); in S32_D565_Opaque_Dither_SSE2()
1015 __m128i sr1 = _mm_slli_epi32(src_pixel1, (24 - SK_R32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
1017 __m128i sr2 = _mm_slli_epi32(src_pixel2, (24 - SK_R32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2()
DSkColor_opts_neon.h17 #define NEON_R (SK_R32_SHIFT / 8)
/external/skia/src/core/
DSkPM4f.h19 R = SK_R32_SHIFT/8,
DSkColorMatrixFilterRowMajor255.cpp18 #define SK_PMORDER_INDEX_R (SK_R32_SHIFT / 8)
111 Sk4f r4 = srcf[SK_R32_SHIFT/8]; in filter_span()
/external/skia/debugger/QT/
DSkRasterWidget.cpp59 #if SK_R32_SHIFT == 0 in paintEvent()
/external/skia/third_party/ktx/
Dktx.cpp539 dstPixel[0] = pixel >> SK_R32_SHIFT; in WriteBitmapToKTX()
/external/skia/src/effects/
DSkTableColorFilter.cpp582 #define SK_R32_INDEX (3 - (SK_R32_SHIFT >> 3))