Home
last modified time | relevance | path

Searched refs:SK_A32_SHIFT (Results 1 – 12 of 12) sorted by relevance

/external/skia/include/core/
DSkColorPriv.h169 #ifndef SK_A32_SHIFT
174 #define SK_A32_SHIFT 0 macro
179 #define SK_A32_SHIFT 24 macro
188 #define SkGetPackedA32(packed) ((uint32_t)((packed) << (24 - SK_A32_SHIFT)) >> 24)
220 return (a << SK_A32_SHIFT) | (r << SK_R32_SHIFT) | in SkPackARGB32()
576 uint32_t d = (SkGetPackedA4444(c) << SK_A32_SHIFT) | in SkPixel4444ToPixel32()
584 return (((c >> (SK_A32_SHIFT + 4)) & 0xF) << SK_A4444_SHIFT) | in SkPixel32ToPixel4444()
620 (((c >> SK_A32_SHIFT) & 0xFF) << 0); in SkExpand_8888()
630 (((c >> 0) & 0xFF) << SK_A32_SHIFT); in SkCompact_8888()
641 (((c >> (SK_A32_SHIFT + 4)) & 0xF) << 0); in SkExpand32_4444()
DSkPostConfig.h56 #ifdef SK_A32_SHIFT
/external/skia/src/core/
DSkShader.cpp138 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha()
157 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha()
174 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); in shadeSpanAlpha()
DSkBlitter_ARGB32.cpp304 SkPMColor black = (SkPMColor)(SK_A32_MASK << SK_A32_SHIFT); in blitMask()
355 *device = (aa << SK_A32_SHIFT) + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); in blitMask()
367 SkPMColor black = (SkPMColor)(SK_A32_MASK << SK_A32_SHIFT); in blitAntiH()
380 SkPMColor src = aa << SK_A32_SHIFT; in blitAntiH()
DSkXfermode.cpp178 SkPMColor res = this->xferColor(src[i], (dst[i] << SK_A32_SHIFT)); in xferA8()
187 (SkPMColor)(dstA << SK_A32_SHIFT))); in xferA8()
295 SkPMColor res = proc(src[i], dst[i] << SK_A32_SHIFT); in xferA8()
303 SkPMColor res = proc(src[i], dstA << SK_A32_SHIFT); in xferA8()
/external/skia/src/effects/
DSkPixelXorXfermode.cpp9 res |= (SK_A32_MASK << SK_A32_SHIFT); // force it to be opaque in xferColor()
/external/webkit/WebKit/android/plugins/
DANPBitmapInterface.cpp35 packing->AShift = SK_A32_SHIFT; in anp_getPixelPacking()
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp13 (SK_A32_SHIFT == (a) && SK_R32_SHIFT == (r) \
/external/skia/bench/
Dbenchmain.cpp99 int c = (*p >> SK_A32_SHIFT) & 0xFF; in saveFile()
102 *p++ = c | (SK_A32_MASK << SK_A32_SHIFT); in saveFile()
/external/skia/gm/
Dgmmain.cpp64 *bitmap.getAddr32(x, y) |= (SK_A32_MASK << SK_A32_SHIFT); in force_all_opaque()
/external/webkit/WebCore/platform/graphics/chromium/
DTransparencyWin.cpp432 dest[x] |= (0xFF << SK_A32_SHIFT); in compositeOpaqueComposite()
/external/skia/src/images/
DSkScaledBitmapSampler.cpp207 #define A32_MASK_IN_PLACE (SkPMColor)(SK_A32_MASK << SK_A32_SHIFT)