Home
last modified time | relevance | path

Searched refs:SK_R32_SHIFT (Results 1 – 14 of 14) sorted by relevance

/external/skqp/include/core/
DSkPostConfig.h53 # if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT)
57 # if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT)
109 # define SK_R32_SHIFT 16 macro
150 # define SK_R32_SHIFT 24 macro
155 # define SK_R32_SHIFT 0 macro
168 (SK_A32_SHIFT == 24 && SK_R32_SHIFT == 16 && SK_G32_SHIFT == 8 && SK_B32_SHIFT == 0)
DSkColorPriv.h88 SK_R32_SHIFT == SK_RGBA_R32_SHIFT && \
93 SK_R32_SHIFT == SK_BGRA_R32_SHIFT && \
102 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24)
121 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()
130 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()
/external/skia/include/core/
DSkColorPriv.h76 SK_R32_SHIFT == SK_RGBA_R32_SHIFT && \
81 SK_R32_SHIFT == SK_BGRA_R32_SHIFT && \
90 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24)
109 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()
118 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()
DSkTypes.h299 #if defined(SK_R32_SHIFT)
300 static_assert(SK_R32_SHIFT == 0 || SK_R32_SHIFT == 16, "");
302 #define SK_R32_SHIFT 16 macro
304 #define SK_R32_SHIFT 0 macro
308 static_assert(SK_B32_SHIFT == (16-SK_R32_SHIFT), "");
310 #define SK_B32_SHIFT (16-SK_R32_SHIFT)
/external/skia/linux/include/config/
DSkUserConfig.h38 #ifndef SK_R32_SHIFT
39 #define SK_R32_SHIFT 16 macro
/external/skqp/include/private/
DSkColorData.h59 static const uint32_t kRBMask = (0xFF << SK_R32_SHIFT) | (0xFF << SK_B32_SHIFT); in SkSwizzle_RB()
61 unsigned c0 = (c >> SK_R32_SHIFT) & 0xFF; in SkSwizzle_RB()
63 return (c & ~kRBMask) | (c0 << SK_B32_SHIFT) | (c1 << SK_R32_SHIFT); in SkSwizzle_RB()
323 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; in SkPixel32ToPixel16()
396 (SkGetPackedR4444(c) << SK_R32_SHIFT) | in SkPixel4444ToPixel32()
/external/skia/include/private/
DSkColorData.h59 static const uint32_t kRBMask = (0xFF << SK_R32_SHIFT) | (0xFF << SK_B32_SHIFT); in SkSwizzle_RB()
61 unsigned c0 = (c >> SK_R32_SHIFT) & 0xFF; in SkSwizzle_RB()
63 return (c & ~kRBMask) | (c0 << SK_B32_SHIFT) | (c1 << SK_R32_SHIFT); in SkSwizzle_RB()
323 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; in SkPixel32ToPixel16()
396 (SkGetPackedR4444(c) << SK_R32_SHIFT) | in SkPixel4444ToPixel32()
/external/pdfium/skia/config/
DSkUserConfig.h146 #define SK_R32_SHIFT 16 macro
/external/skia/src/opts/
DSkBlitMask_opts.h20 #define NEON_R (SK_R32_SHIFT / 8)
/external/skqp/src/opts/
DSkBlitMask_opts.h20 #define NEON_R (SK_R32_SHIFT / 8)
/external/skia/src/core/
DSkBlitter_ARGB32.cpp106 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5)
154 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in blend_lcd16_sse2()
239 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in blend_lcd16_opaque_sse2()
441 #define NEON_R (SK_R32_SHIFT / 8)
/external/skqp/src/core/
DSkBlitter_ARGB32.cpp106 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5)
154 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in blend_lcd16_sse2()
239 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in blend_lcd16_opaque_sse2()
441 #define NEON_R (SK_R32_SHIFT / 8)
/external/skia/
Dpublic.bzl637 "SK_R32_SHIFT=16",
DBUILD.gn35 defines += [ "SK_R32_SHIFT=16" ]