/external/skia/tests/ |
D | QuickRejectTest.cpp | 67 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()
|
D | PaintImageFilterTest.cpp | 53 const SkPMColor* filterPtr = filterResult.getAddr32(0, y); in test_unscaled() 54 const SkPMColor* paintPtr = paintResult.getAddr32(0, y); in test_unscaled() 102 const SkPMColor* filterPtr = filterResult.getAddr32(0, y); in test_scaled() 103 const SkPMColor* paintPtr = paintResult.getAddr32(0, y); in test_scaled()
|
D | PictureShaderTest.cpp | 30 REPORTER_ASSERT(reporter, *bitmap.getAddr32(0,0) == SK_ColorGREEN); in DEF_TEST() 41 REPORTER_ASSERT(reporter, *bitmap.getAddr32(0,0) == SK_ColorGREEN); in DEF_TEST()
|
D | PremulAlphaRoundTripTest.cpp | 55 uint32_t* pixels = bmp.getAddr32(0, a); in fillCanvas() 88 const uint32_t* pixels1 = readBmp1.getAddr32(0, y); in test_premul_alpha_roundtrip() 89 const uint32_t* pixels2 = readBmp2.getAddr32(0, y); in test_premul_alpha_roundtrip()
|
D | ImageFilterTest.cpp | 240 uint32_t pixel = *result.getAddr32(0, 0); in DEF_TEST() 391 …int diffs = memcmp(positiveResult1.getAddr32(0, y), negativeResult1.getAddr32(0, y), positiveResul… in test_negative_blur_sigma() 396 …diffs = memcmp(positiveResult1.getAddr32(0, y), negativeResult2.getAddr32(0, y), positiveResult1.r… in test_negative_blur_sigma() 401 …diffs = memcmp(positiveResult1.getAddr32(0, y), positiveResult2.getAddr32(0, y), positiveResult1.r… in test_negative_blur_sigma() 533 …int diffs = memcmp(untiledResult.getAddr32(0, y), tiledResult.getAddr32(0, y), untiledResult.rowBy… in DEF_TEST() 590 int diffs = memcmp(result1.getAddr32(0, y), result2.getAddr32(0, y), result1.rowBytes()); in DEF_TEST() 739 int diffs = memcmp(result1.getAddr32(0, y), result2.getAddr32(0, y), result1.rowBytes()); in DEF_TEST() 878 uint32_t pixel = *bitmap.getAddr32(0, 0); in DEF_TEST() 897 pixel = *bitmap.getAddr32(0, 0); in DEF_TEST() 958 uint32_t pixel = *bitmap.getAddr32(0, 0); in DEF_TEST() [all …]
|
D | AnnotationTest.cpp | 37 REPORTER_ASSERT(reporter, 0 == *bm.getAddr32(0, 0)); in DEF_TEST() 39 REPORTER_ASSERT(reporter, 0 == *bm.getAddr32(0, 0)); in DEF_TEST()
|
D | ReadPixelsTest.cpp | 195 const uint32_t* pixel = bitmap.getAddr32(bx, by); in check_read() 480 SkPMColor* scanline = result->getAddr32(0, 0); in make_ringed_bitmap() 484 scanline = result->getAddr32(0, 1); in make_ringed_bitmap() 492 scanline = result->getAddr32(0, y); in make_ringed_bitmap() 506 scanline = result->getAddr32(0, y); in make_ringed_bitmap() 519 scanline = result->getAddr32(0, height-2); in make_ringed_bitmap() 526 scanline = result->getAddr32(0, height-1); in make_ringed_bitmap()
|
D | PathOpsExtendedTest.cpp | 216 uint32_t* addr1 = bits.getAddr32(0, y); in pathsDrawTheSame() 217 uint32_t* addr2 = bits.getAddr32(0, y + 1); in pathsDrawTheSame() 218 uint32_t* addr3 = bits.getAddr32(bitWidth, y); in pathsDrawTheSame() 219 uint32_t* addr4 = bits.getAddr32(bitWidth, y + 1); in pathsDrawTheSame() 274 uint32_t* addr1 = bits.getAddr32(0, y); in drawAsciiPaths()
|
/external/skia/tools/ |
D | skdiff.cpp | 179 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()
|
/external/skia/samplecode/ |
D | SampleHairModes.cpp | 66 *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()
|
D | SampleAARectModes.cpp | 67 *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()
|
D | SampleHairline.cpp | 54 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()
|
D | SampleDash.cpp | 22 *bm.getAddr32(0, 0) = SkPreMultiplyARGB(0xFF, SkColorGetR(c), in setBitmapDash() 24 *bm.getAddr32(1, 0) = 0; in setBitmapDash()
|
D | SampleUnpremul.cpp | 129 *bm.getAddr32(i, j) = premultiply_unpmcolor(*fBitmap.getAddr32(i, j)); in onDrawContent()
|
/external/skia/gm/ |
D | hairmodes.cpp | 64 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader() 65 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCE, 0xCF, 0xCE); in make_bg_shader()
|
D | aarectmodes.cpp | 113 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader() 114 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCE, in make_bg_shader()
|
D | bitmappremul.cpp | 36 uint32_t* dst = bitmap.getAddr32(0, y); in make_argb8888_gradient() 70 uint32_t* dst = bitmap.getAddr32(0, y); in make_argb8888_stripes()
|
D | downsamplebitmap.cpp | 21 SkPMColor* s = bm->getAddr32(x, y); in make_checker() 186 *(fBM.getAddr32(0,0)) = 0xFF0000FF; // red == bad in make_bitmap()
|
D | bitmaprect.cpp | 165 *bitmap->getAddr32(x, y) = SkPreMultiplyColor(0x88FFFFFF); in make_big_bitmap() 167 *bitmap->getAddr32(x, y) = SkPreMultiplyColor(0x88FF0000); in make_big_bitmap()
|
D | filterbitmap.cpp | 161 SkPMColor* s = fBM.getAddr32(x, y); in makeBitmap() 211 *(fBM.getAddr32(0,0)) = 0xFF0000FF; // red == bad in makeBitmap()
|
/external/skia/src/effects/ |
D | SkMatrixConvolutionImageFilter.cpp | 123 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() 258 const uint32_t* srcRow = src.getAddr32(0, y); in unpremultiplyBitmap() 259 uint32_t* dstRow = result.getAddr32(0, y); in unpremultiplyBitmap()
|
D | SkBlurImageFilter.cpp | 134 SkPMColor* t = temp.getAddr32(0, 0); in onFilterImageDeprecated() 135 SkPMColor* d = dst->getAddr32(0, 0); in onFilterImageDeprecated() 137 … const SkPMColor* s = src.getAddr32(srcBounds.x() - srcOffset.x(), srcBounds.y() - srcOffset.y()); in onFilterImageDeprecated()
|
/external/skia/src/images/ |
D | SkImageDecoder_libico.cpp | 341 SkPMColor* address = bm->getAddr32(x,y); in editPixelBit1() 369 SkPMColor* address = bm->getAddr32(x, y); in editPixelBit4() 389 SkPMColor* address = bm->getAddr32(x, y); in editPixelBit8() 399 SkPMColor* address = bm->getAddr32(x, y); in editPixelBit24() 413 SkPMColor* address = bm->getAddr32(x, y); in editPixelBit32()
|
D | SkMovie_gif.cpp | 141 uint32_t* dst = bm->getAddr32(imageDesc.Left, imageDesc.Top + row); in copyInterlaceGroup() 187 uint32_t* dst = bm->getAddr32(frame->ImageDesc.Left, frame->ImageDesc.Top); in blitNormal() 210 uint32_t* dst = bm->getAddr32(left, top); in fillRect() 338 const uint32_t* src = bm->getAddr32(0, 0); in disposeFrameIfNeeded() 339 uint32_t* dst = backup->getAddr32(0, 0); in disposeFrameIfNeeded()
|
/external/skia/src/pathops/ |
D | SkPathOpsOp.cpp | 395 uint32_t* addr1 = bits.getAddr32(0, y); in debug_paths_draw_the_same() 396 uint32_t* addr2 = bits.getAddr32(0, y + 1); in debug_paths_draw_the_same() 397 uint32_t* addr3 = bits.getAddr32(bitWidth, y); in debug_paths_draw_the_same() 398 uint32_t* addr4 = bits.getAddr32(bitWidth, y + 1); in debug_paths_draw_the_same()
|