Home
last modified time | relevance | path

Searched refs:SK_G32_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)
135 #define SK_G32_SHIFT 8 macro
162 #define SK_G32_SHIFT 16 macro
167 #define SK_G32_SHIFT 8 macro
DSkColorPriv.h180 #define SkGetPackedG32(packed) ((uint32_t)((packed) << (24 - SK_G32_SHIFT)) >> 24)
215 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32()
275 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32NoCheck()
344 #define SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS - SK_G16_BITS)) & SK_G16…
349 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT; in SkPixel32ToPixel16()
647 (SkGetPackedG4444(c) << SK_G32_SHIFT) | in SkPixel4444ToPixel32()
655 (((c >> (SK_G32_SHIFT + 4)) & 0xF) << SK_G4444_SHIFT) | in SkPixel32ToPixel4444()
687 (((c >> SK_G32_SHIFT) & 0xFF) << 8) | in SkExpand_8888()
697 (((c >> 8) & 0xFF) << SK_G32_SHIFT) | in SkCompact_8888()
708 (((c >> (SK_G32_SHIFT + 4)) & 0xF) << 8) | in SkExpand32_4444()
DSkUserConfig.h183 #define SK_G32_SHIFT 8 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)
156 #define SK_G32_SHIFT 8 macro
183 #define SK_G32_SHIFT 16 macro
188 #define SK_G32_SHIFT 8 macro
DSkColorPriv.h204 #define SkGetPackedG32(packed) ((uint32_t)((packed) << (24 - SK_G32_SHIFT)) >> 24)
239 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32()
310 (g << SK_G32_SHIFT) | (b << SK_B32_SHIFT); in SkPackARGB32NoCheck()
379 #define SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS - SK_G16_BITS)) & SK_G16…
384 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT; in SkPixel32ToPixel16()
682 (SkGetPackedG4444(c) << SK_G32_SHIFT) | in SkPixel4444ToPixel32()
690 (((c >> (SK_G32_SHIFT + 4)) & 0xF) << SK_G4444_SHIFT) | in SkPixel32ToPixel4444()
722 (((c >> SK_G32_SHIFT) & 0xFF) << 8) | in SkExpand_8888()
732 (((c >> 8) & 0xFF) << SK_G32_SHIFT) | in SkCompact_8888()
743 (((c >> (SK_G32_SHIFT + 4)) & 0xF) << 8) | in SkExpand32_4444()
DSkUserConfig.h207 #define SK_G32_SHIFT 8 macro
/external/skia/legacy/src/core/
DSkDevice.cpp162 8 == SK_G32_SHIFT && 0 == SK_B32_SHIFT
166 8 == SK_G32_SHIFT && 16 == SK_B32_SHIFT
175 16 == SK_G32_SHIFT && 24 == SK_B32_SHIFT
179 16 == SK_G32_SHIFT && 8 == SK_B32_SHIFT
DSkConfig8888.cpp37 static const int SK_NATIVE_G_IDX = SK_G32_SHIFT / 8;
42 static const int SK_NATIVE_G_IDX = 3 - (SK_G32_SHIFT / 8);
/external/webkit/Source/WebKit/android/plugins/
DANPBitmapInterface.cpp39 packing->GShift = SK_G32_SHIFT; in anp_getPixelPacking()
/external/skia/src/core/
DSkDevice.cpp221 8 == SK_G32_SHIFT && 0 == SK_B32_SHIFT
225 8 == SK_G32_SHIFT && 16 == SK_B32_SHIFT
234 16 == SK_G32_SHIFT && 24 == SK_B32_SHIFT
238 16 == SK_G32_SHIFT && 8 == SK_B32_SHIFT
DSkConfig8888.cpp38 static const int SK_NATIVE_G_IDX = SK_G32_SHIFT / 8;
43 static const int SK_NATIVE_G_IDX = 3 - (SK_G32_SHIFT / 8);
/external/skia/include/gpu/
DGrTypes.h301 8 == SK_G32_SHIFT && 0 == SK_B32_SHIFT
304 8 == SK_G32_SHIFT && 0 == SK_R32_SHIFT
/external/skia/src/opts/
DSkBlitRow_opts_SSE2.cpp520 #define SK_G16x5_G32x5_SHIFT (SK_G32_SHIFT - SK_G16_SHIFT - SK_G16_BITS + 5)
554 _mm_set1_epi32(0x1F << SK_G32_SHIFT)); in SkBlendLCD16_SSE2()
602 _mm_set1_epi32(0x1F << SK_G32_SHIFT)); in SkBlendLCD16Opaque_SSE2()
/external/skia/legacy/src/effects/
DSkTableColorFilter.cpp205 #define SK_G32_INDEX (3 - (SK_G32_SHIFT >> 3))
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp19 && SK_G32_SHIFT == (g) && SK_B32_SHIFT == (b))
/external/skia/src/effects/
DSkTableColorFilter.cpp402 #define SK_G32_INDEX (3 - (SK_G32_SHIFT >> 3))