Home | History | Annotate | Download | only in images

Lines Matching refs:dst

27     SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow;
29 dst[x] = SkPackARGB32(0xFF, src[0], src[0], src[0]);
38 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow;
40 dst[x] = SkPackARGB32(0xFF, src[0], src[1], src[2]);
49 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow;
53 dst[x] = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]);
65 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow;
67 dst[x] = SkPack888ToRGB16(src[0], src[0], src[0]);
76 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow;
79 dst[x] = SkDitherRGBTo565(src[0], src[0], src[0], DITHER_VALUE(x));
88 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow;
90 dst[x] = SkPack888ToRGB16(src[0], src[1], src[2]);
99 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow;
102 dst[x] = castedSrc[0];
111 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow;
114 dst[x] = SkDitherRGBTo565(src[0], src[1], src[2], DITHER_VALUE(x));
125 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow;
128 dst[x] = SkPackARGB4444(0xF, gray, gray, gray);
137 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow;
140 dst[x] = SkDitherARGB32To4444(0xFF, src[0], src[0], src[0],
150 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow;
152 dst[x] = SkPackARGB4444(0xF, src[0] >> 4, src[1] >> 4, src[2] >> 4);
161 SkPMColor16* dst = (SkPMColor16*)dstRow;
165 dst[x] = SkDitherARGB32To4444(0xFF, src[0], src[1], src[2],
175 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow;
181 dst[x] = SkPixel32ToPixel4444(c);
191 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow;
198 dst[x] = SkDitherARGB32To4444(c, DITHER_VALUE(x));
213 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow;
218 dst[x] = c;
228 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow;
230 dst[x] = SkPixel32ToPixel16(ctable[*src]);
240 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow;
245 dst[x] = SkDitherRGBTo565(SkGetPackedR32(c), SkGetPackedG32(c),
256 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow;
261 dst[x] = SkPixel32ToPixel4444(c);
271 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow;
278 dst[x] = SkDitherARGB32To4444(c, DITHER_VALUE(x));
290 uint8_t* SK_RESTRICT dst = (uint8_t*)dstRow;
292 dst[x] = src[0];
342 bool SkScaledBitmapSampler::begin(SkBitmap* dst, SrcConfig sc, bool dither,
406 switch (dst->config()) {
424 fDstRow = (char*)dst->getPixels();
425 fDstRowBytes = dst->rowBytes();