Searched refs:SK_A32_SHIFT (Results 1 – 12 of 12) sorted by relevance
169 #ifndef SK_A32_SHIFT174 #define SK_A32_SHIFT 0 macro179 #define SK_A32_SHIFT 24 macro188 #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()
56 #ifdef SK_A32_SHIFT
138 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()
304 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()
178 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()
9 res |= (SK_A32_MASK << SK_A32_SHIFT); // force it to be opaque in xferColor()
35 packing->AShift = SK_A32_SHIFT; in anp_getPixelPacking()
13 (SK_A32_SHIFT == (a) && SK_R32_SHIFT == (r) \
99 int c = (*p >> SK_A32_SHIFT) & 0xFF; in saveFile()102 *p++ = c | (SK_A32_MASK << SK_A32_SHIFT); in saveFile()
64 *bitmap.getAddr32(x, y) |= (SK_A32_MASK << SK_A32_SHIFT); in force_all_opaque()
432 dest[x] |= (0xFF << SK_A32_SHIFT); in compositeOpaqueComposite()
207 #define A32_MASK_IN_PLACE (SkPMColor)(SK_A32_MASK << SK_A32_SHIFT)