Home
last modified time | relevance | path

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

/external/skia/legacy/include/core/
DSkPostConfig.h50 #if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT)
54 #if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT)
134 #define SK_R32_SHIFT 16 macro
161 #define SK_R32_SHIFT 24 macro
166 #define SK_R32_SHIFT 0 macro
DSkColorPriv.h179 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24)
214 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()
274 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()
343 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16…
348 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; in SkPixel32ToPixel16()
646 (SkGetPackedR4444(c) << SK_R32_SHIFT) | in SkPixel4444ToPixel32()
654 (((c >> (SK_R32_SHIFT + 4)) & 0xF) << SK_R4444_SHIFT) | in SkPixel32ToPixel4444()
686 return (((c >> SK_R32_SHIFT) & 0xFF) << 24) | in SkExpand_8888()
696 return (((c >> 24) & 0xFF) << SK_R32_SHIFT) | in SkCompact_8888()
707 return (((c >> (SK_R32_SHIFT + 4)) & 0xF) << 24) | in SkExpand32_4444()
DSkUserConfig.h182 #define SK_R32_SHIFT 16 macro
/external/skia/include/core/
DSkPostConfig.h49 #if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT)
53 #if defined(SK_R32_SHIFT) || defined(SK_G32_SHIFT) || defined(SK_B32_SHIFT)
155 #define SK_R32_SHIFT 16 macro
182 #define SK_R32_SHIFT 24 macro
187 #define SK_R32_SHIFT 0 macro
DSkColorPriv.h203 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24)
238 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()
309 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32NoCheck()
378 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16…
383 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; in SkPixel32ToPixel16()
681 (SkGetPackedR4444(c) << SK_R32_SHIFT) | in SkPixel4444ToPixel32()
689 (((c >> (SK_R32_SHIFT + 4)) & 0xF) << SK_R4444_SHIFT) | in SkPixel32ToPixel4444()
721 return (((c >> SK_R32_SHIFT) & 0xFF) << 24) | in SkExpand_8888()
731 return (((c >> 24) & 0xFF) << SK_R32_SHIFT) | in SkCompact_8888()
742 return (((c >> (SK_R32_SHIFT + 4)) & 0xF) << 24) | in SkExpand32_4444()
DSkUserConfig.h206 #define SK_R32_SHIFT 16 macro
/external/skia/legacy/src/core/
DSkDevice.cpp161 #if 24 == SK_A32_SHIFT && 16 == SK_R32_SHIFT && \
165 #elif 24 == SK_A32_SHIFT && 0 == SK_R32_SHIFT && \
174 #if 0 == SK_A32_SHIFT && 8 == SK_R32_SHIFT && \
178 #elif 0 == SK_A32_SHIFT && 24 == SK_R32_SHIFT && \
DSkConfig8888.cpp36 static const int SK_NATIVE_R_IDX = SK_R32_SHIFT / 8;
41 static const int SK_NATIVE_R_IDX = 3 - (SK_R32_SHIFT / 8);
/external/webkit/Source/WebKit/android/plugins/
DANPBitmapInterface.cpp37 packing->RShift = SK_R32_SHIFT; in anp_getPixelPacking()
/external/skia/src/core/
DSkDevice.cpp220 #if 24 == SK_A32_SHIFT && 16 == SK_R32_SHIFT && \
224 #elif 24 == SK_A32_SHIFT && 0 == SK_R32_SHIFT && \
233 #if 0 == SK_A32_SHIFT && 8 == SK_R32_SHIFT && \
237 #elif 0 == SK_A32_SHIFT && 24 == SK_R32_SHIFT && \
DSkConfig8888.cpp37 static const int SK_NATIVE_R_IDX = SK_R32_SHIFT / 8;
42 static const int SK_NATIVE_R_IDX = 3 - (SK_R32_SHIFT / 8);
/external/skia/include/gpu/
DGrTypes.h300 #if 24 == SK_A32_SHIFT && 16 == SK_R32_SHIFT && \
304 8 == SK_G32_SHIFT && 0 == SK_R32_SHIFT
/external/skia/src/opts/
DSkBlitRow_opts_SSE2.cpp519 #define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5)
551 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in SkBlendLCD16_SSE2()
599 _mm_set1_epi32(0x1F << SK_R32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
/external/skia/legacy/src/effects/
DSkTableColorFilter.cpp204 #define SK_R32_INDEX (3 - (SK_R32_SHIFT >> 3))
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp18 (SK_A32_SHIFT == (a) && SK_R32_SHIFT == (r) \
/external/skia/src/effects/
DSkTableColorFilter.cpp401 #define SK_R32_INDEX (3 - (SK_R32_SHIFT >> 3))