Home
last modified time | relevance | path

Searched refs:getAddr32 (Results 1 – 25 of 76) sorted by relevance

1234

/external/skia/src/core/
DSkBlitter_ARGB32.cpp31 SkPMColor* dstRow = device.getAddr32(x, y); in SkARGB32_Blit32()
73 uint32_t* device = fDevice.getAddr32(x, y); in blitH()
84 uint32_t* device = fDevice.getAddr32(x, y); in blitAntiH()
109 uint32_t* device = fDevice.getAddr32(x, y); in blitAntiH2()
110 SkDEBUGCODE((void)fDevice.getAddr32(x + 1, y);) in blitAntiH2()
117 uint32_t* device = fDevice.getAddr32(x, y); in blitAntiV2()
118 SkDEBUGCODE((void)fDevice.getAddr32(x, y + 1);) in blitAntiV2()
142 #define SK_BLITBWMASK_GETADDR getAddr32
161 #define SK_BLITBWMASK_GETADDR getAddr32
200 uint32_t* device = fDevice.getAddr32(x, y); in blitAntiH2()
[all …]
DSkSpriteBlitter_ARGB32.cpp39 uint32_t* SK_RESTRICT dst = fDevice->getAddr32(x, y); in blitRect()
40 const uint32_t* SK_RESTRICT src = fSource->getAddr32(x - fLeft, in blitRect()
127 uint32_t* SK_RESTRICT dst = fDevice->getAddr32(x, y); in blitRect()
128 const uint32_t* SK_RESTRICT src = fSource->getAddr32(x - fLeft, in blitRect()
174 SkPMColor* SK_RESTRICT dst = fDevice->getAddr32(x, y); in blitRect()
221 SkPMColor* SK_RESTRICT dst = fDevice->getAddr32(x, y); in blitRect()
250 SkPMColor* SK_RESTRICT dst = fDevice->getAddr32(x, y); in blitRect()
/external/skia/tests/
DQuickRejectTest.cpp67 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); in test_drawBitmap()
71 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5)); in test_drawBitmap()
75 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); in test_drawBitmap()
79 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); in test_drawBitmap()
87 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5)); in test_drawBitmap()
DPremulAlphaRoundTripTest.cpp55 uint32_t* pixels = bmp.getAddr32(0, a); in fillCanvas()
120 const uint32_t* pixels1 = readBmp1.getAddr32(0, y); in DEF_GPUTEST()
121 const uint32_t* pixels2 = readBmp2.getAddr32(0, y); in DEF_GPUTEST()
DImageFilterTest.cpp234 uint32_t pixel = *result.getAddr32(0, 0); in DEF_TEST()
383 …int diffs = memcmp(positiveResult1.getAddr32(0, y), negativeResult1.getAddr32(0, y), positiveResul… in test_negative_blur_sigma()
388 …diffs = memcmp(positiveResult1.getAddr32(0, y), negativeResult2.getAddr32(0, y), positiveResult1.r… in test_negative_blur_sigma()
393 …diffs = memcmp(positiveResult1.getAddr32(0, y), positiveResult2.getAddr32(0, y), positiveResult1.r… in test_negative_blur_sigma()
513 …int diffs = memcmp(untiledResult.getAddr32(0, y), tiledResult.getAddr32(0, y), untiledResult.rowBy… in DEF_TEST()
570 int diffs = memcmp(result1.getAddr32(0, y), result2.getAddr32(0, y), result1.rowBytes()); in DEF_TEST()
697 int diffs = memcmp(result1.getAddr32(0, y), result2.getAddr32(0, y), result1.rowBytes()); in DEF_TEST()
835 uint32_t pixel = *bitmap.getAddr32(0, 0); in DEF_TEST()
854 pixel = *bitmap.getAddr32(0, 0); in DEF_TEST()
917 uint32_t pixel = *bitmap.getAddr32(0, 0); in DEF_TEST()
[all …]
DShaderImageFilterTest.cpp55 const SkPMColor* filterPtr = filterResult.getAddr32(0, y); in DEF_TEST()
56 const SkPMColor* shaderPtr = shaderResult.getAddr32(0, y); in DEF_TEST()
DAnnotationTest.cpp37 REPORTER_ASSERT(reporter, 0 == *bm.getAddr32(0, 0)); in DEF_TEST()
39 REPORTER_ASSERT(reporter, 0 == *bm.getAddr32(0, 0)); in DEF_TEST()
/external/skia/tools/
Dskdiff.cpp179 SkPMColor c0 = *dr->fBase.fBitmap.getAddr32(x, y); in compute_diff()
180 SkPMColor c1 = *dr->fComparison.fBitmap.getAddr32(x, y); in compute_diff()
207 *dr->fDifference.fBitmap.getAddr32(x, y) = outputDifference; in compute_diff()
208 *dr->fWhite.fBitmap.getAddr32(x, y) = PMCOLOR_WHITE; in compute_diff()
210 *dr->fDifference.fBitmap.getAddr32(x, y) = 0; in compute_diff()
211 *dr->fWhite.fBitmap.getAddr32(x, y) = PMCOLOR_BLACK; in compute_diff()
Drender_pictures_main.cpp326 int diff = MaxByteDiff(*referenceBitmap->getAddr32(x, y), in render_picture()
327 *bitmap->getAddr32(x, y)); in render_picture()
335 *referenceBitmap->getAddr32(x, y), in render_picture()
336 *bitmap->getAddr32(x, y)); in render_picture()
/external/skia/samplecode/
DSampleAARectModes.cpp67 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader()
68 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, in make_bg_shader()
DSampleHairModes.cpp66 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader()
67 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, 0xCC, 0xCC); in make_bg_shader()
DSampleHairline.cpp54 if (!check_zeros(bm.getAddr32(0, i), bm.width(), 1)) { in check_bitmap_margin()
58 if (!check_zeros(bm.getAddr32(0, bottom), bm.width(), 1)) { in check_bitmap_margin()
62 if (!check_zeros(bm.getAddr32(i, 0), bm.height(), SkToInt(rb >> 2))) { in check_bitmap_margin()
66 if (!check_zeros(bm.getAddr32(right, 0), bm.height(), in check_bitmap_margin()
213 bm.getAddr32(MARGIN, MARGIN), bm.rowBytes()); in onDrawContent()
DSampleDash.cpp22 *bm.getAddr32(0, 0) = SkPreMultiplyARGB(0xFF, SkColorGetR(c), in setBitmapDash()
24 *bm.getAddr32(1, 0) = 0; in setBitmapDash()
DSampleUnpremul.cpp129 *bm.getAddr32(i, j) = premultiply_unpmcolor(*fBitmap.getAddr32(i, j)); in onDrawContent()
DSampleEncode.cpp53 *bm->getAddr16(x, y) = SkPixel32ToPixel16(*device.getAddr32(x, y)); in make_image()
72 *bm->getAddr8(x, y) = SkGetPackedR32(*device.getAddr32(x, y)); in make_image()
/external/skia/gm/
Dhairmodes.cpp64 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader()
65 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, 0xCC, 0xCC); in make_bg_shader()
Daarectmodes.cpp112 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader()
113 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, in make_bg_shader()
Dbleed.cpp29 SkPMColor* scanline = result->getAddr32(0, 0); in make_ringed_bitmap()
33 scanline = result->getAddr32(0, 1); in make_ringed_bitmap()
41 scanline = result->getAddr32(0, y); in make_ringed_bitmap()
55 scanline = result->getAddr32(0, y); in make_ringed_bitmap()
68 scanline = result->getAddr32(0, height-2); in make_ringed_bitmap()
75 scanline = result->getAddr32(0, height-1); in make_ringed_bitmap()
Dbitmappremul.cpp36 uint32_t* dst = bitmap.getAddr32(0, y); in make_argb8888_gradient()
70 uint32_t* dst = bitmap.getAddr32(0, y); in make_argb8888_stripes()
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp123 return *src.getAddr32(x, y); in fetch()
132 return *src.getAddr32(x, y); in fetch()
147 return *src.getAddr32(x, y); in fetch()
157 return *src.getAddr32(x, y); in fetch()
172 SkPMColor* dptr = result->getAddr32(rect.fLeft - bounds.fLeft, y - bounds.fTop); in filterPixels()
256 const uint32_t* srcRow = src.getAddr32(0, y); in unpremultiplyBitmap()
257 uint32_t* dstRow = result.getAddr32(0, y); in unpremultiplyBitmap()
DSkTransparentShader.cpp56 SkPMColor* src = fDevice->getAddr32(x, y); in shadeSpan()
61 const SkPMColor* src = fDevice->getAddr32(x, y); in shadeSpan()
DSkBlurImageFilter.cpp201 const SkPMColor* s = src.getAddr32(srcBounds.left(), srcBounds.top()); in onFilterImage()
202 SkPMColor* t = temp.getAddr32(0, 0); in onFilterImage()
203 SkPMColor* d = dst->getAddr32(0, 0); in onFilterImage()
/external/skia/src/images/
DSkImageDecoder_libico.cpp336 SkPMColor* address = bm->getAddr32(x,y); in editPixelBit1()
364 SkPMColor* address = bm->getAddr32(x, y); in editPixelBit4()
384 SkPMColor* address = bm->getAddr32(x, y); in editPixelBit8()
394 SkPMColor* address = bm->getAddr32(x, y); in editPixelBit24()
408 SkPMColor* address = bm->getAddr32(x, y); in editPixelBit32()
DSkMovie_gif.cpp139 uint32_t* dst = bm->getAddr32(imageDesc.Left, imageDesc.Top + row); in copyInterlaceGroup()
185 uint32_t* dst = bm->getAddr32(frame->ImageDesc.Left, frame->ImageDesc.Top); in blitNormal()
208 uint32_t* dst = bm->getAddr32(left, top); in fillRect()
336 const uint32_t* src = bm->getAddr32(0, 0); in disposeFrameIfNeeded()
337 uint32_t* dst = backup->getAddr32(0, 0); in disposeFrameIfNeeded()
/external/skia/tools/skpdiff/
DSkDifferentPixelsMetric_cpu.cpp90 *result->rgbDiffBitmap.getAddr32(x,y) = in diff()
94 *result->whiteDiffBitmap.getAddr32(x,y) = SK_ColorWHITE; in diff()

1234