Home
last modified time | relevance | path

Searched refs:srcP (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/images/
Dtransform_scanline.h42 const uint16_t* SK_RESTRICT srcP = (const uint16_t*)src; in transform_scanline_565() local
44 unsigned c = *srcP++; in transform_scanline_565()
57 const SkPMColor* SK_RESTRICT srcP = (const SkPMColor*)src; in transform_scanline_888() local
59 SkPMColor c = *srcP++; in transform_scanline_888()
72 const SkPMColor16* SK_RESTRICT srcP = (const SkPMColor16*)src; in transform_scanline_444() local
74 SkPMColor16 c = *srcP++; in transform_scanline_444()
88 const SkPMColor* SK_RESTRICT srcP = (const SkPMColor*)src; in transform_scanline_8888() local
93 SkPMColor c = *srcP++; in transform_scanline_8888()
118 const SkPMColor16* SK_RESTRICT srcP = (const SkPMColor16*)src; in transform_scanline_4444() local
123 SkPMColor16 c = *srcP++; in transform_scanline_4444()
/external/skia/src/effects/
DSk1DPathEffect.cpp110 SkPoint srcP[4], dstP[3]; in morphpath() local
113 while ((verb = iter.next(srcP)) != SkPath::kDone_Verb) { in morphpath()
116 if (morphpoints(dstP, srcP, 1, meas, dist)) { in morphpath()
121 srcP[2] = srcP[1]; in morphpath()
122 srcP[1].set(SkScalarAve(srcP[0].fX, srcP[2].fX), in morphpath()
123 SkScalarAve(srcP[0].fY, srcP[2].fY)); in morphpath()
126 if (morphpoints(dstP, &srcP[1], 2, meas, dist)) { in morphpath()
131 if (morphpoints(dstP, &srcP[1], 3, meas, dist)) { in morphpath()
DSkTableMaskFilter.cpp41 const uint8_t* srcP = src.fImage; in filterMask() local
49 dstP[x] = table[srcP[x]]; in filterMask()
51 srcP += src.fRowBytes; in filterMask()
/external/skia/src/core/
DSkDevice.cpp324 SkPoint srcP[4], dstP[3]; in morphpath() local
327 while ((verb = iter.next(srcP)) != SkPath::kDone_Verb) { in morphpath()
330 morphpoints(dstP, srcP, 1, meas, matrix); in morphpath()
335 srcP[0].fX = SkScalarAve(srcP[0].fX, srcP[1].fX); in morphpath()
336 srcP[0].fY = SkScalarAve(srcP[0].fY, srcP[1].fY); in morphpath()
337 morphpoints(dstP, srcP, 2, meas, matrix); in morphpath()
341 morphpoints(dstP, &srcP[1], 2, meas, matrix); in morphpath()
345 morphpoints(dstP, &srcP[1], 3, meas, matrix); in morphpath()
DSkConfig8888.cpp118 const uint32_t* srcP = static_cast<const uint32_t*>(fPixels); in convertPixelsTo() local
122 proc(dstP, srcP, width); in convertPixelsTo()
124 srcP += srcInc; in convertPixelsTo()
DSkBitmap.cpp488 const uint8_t* srcP = reinterpret_cast<const uint8_t*>(src.addr()); in copy_pixels_to() local
491 memcpy(dstP, srcP, rowBytes); in copy_pixels_to()
492 srcP += src.rowBytes(); in copy_pixels_to()
DSkScalerContext.cpp294 const uint8_t* srcP = src.addr8(0, y); in pack4xHToLCD16() local
304 int sample_value = srcP[sample_index]; in pack4xHToLCD16()
/external/skia/bench/
DRepeatTileBench.cpp76 const SkPMColor* srcP = src.getAddr32(0, y); in convert_to_index666() local
79 *dstP++ = compute_666_index(*srcP++); in convert_to_index666()
DBitmapBench.cpp56 const SkPMColor* srcP = src.getAddr32(0, y); in convertToIndex666() local
59 *dstP++ = compute666Index(*srcP++); in convertToIndex666()
/external/skia/tests/
DBitmapCopyTest.cpp304 const char* srcP = (const char*)srcPremul.getAddr(0, 0); in DEF_TEST() local
306 REPORTER_ASSERT(reporter, srcP != dstP); in DEF_TEST()
307 REPORTER_ASSERT(reporter, !memcmp(srcP, dstP, in DEF_TEST()
/external/valgrind/coregrind/
Dm_transtab.c1607 UChar* srcP; in VG_() local
1684 srcP = (UChar*)code; in VG_()
1685 VG_(memcpy)(dstP, srcP, code_len); in VG_()
2229 HChar *srcP, *dstP; in VG_() local
2261 srcP = (HChar*)code; in VG_()
2263 dstP[j] = srcP[j]; in VG_()