/external/skia/tests/ |
D | NdkDecodeTest.cpp | 54 REPORTER_ASSERT(r, gen->getPixels(bm.pixmap())); in DEF_TEST() 59 REPORTER_ASSERT(r, gen->getPixels(bm.pixmap())); in DEF_TEST() 135 REPORTER_ASSERT(r, gen->getPixels(bm.pixmap())); in DEF_TEST() 176 REPORTER_ASSERT(r, !gen->getPixels(bm.pixmap())); in DEF_TEST() 209 REPORTER_ASSERT(r, gen->getPixels(orig.pixmap())); in DEF_TEST() 213 REPORTER_ASSERT(r, gen->getPixels(corrected.pixmap())); in DEF_TEST() 219 REPORTER_ASSERT(r, gen->getPixels(reuse.pixmap())); in DEF_TEST() 251 REPORTER_ASSERT(r, !gen->getPixels(bm.pixmap())); in DEF_TEST() 280 REPORTER_ASSERT(r, gen->getPixels(bm.pixmap())); in DEF_TEST() 285 REPORTER_ASSERT(r, gen->getPixels(bm.pixmap())); in DEF_TEST() [all …]
|
D | CodecPartialTest.cpp | 42 return SkCodec::kSuccess == codec->getPixels(info, dst->getPixels(), dst->rowBytes()); in create_truth() 88 incremental.getPixels(), incremental.rowBytes()); in test_partial() 248 const SkCodec::Result result = fullCodec->getPixels(info, frame.getPixels(), in DEF_TEST() 298 frame.getPixels(), frame.rowBytes(), &opts); in DEF_TEST() 347 incremental.getPixels(), incremental.rowBytes()); in test_interleaved() 358 result = partialCodec->getPixels(info, full.getPixels(), full.rowBytes()); in test_interleaved() 409 auto result = codec->getPixels(info, truth.getPixels(), truth.rowBytes()); in DEF_TEST() 420 result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() 439 result = codec->startIncrementalDecode(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() 455 result = codec->startIncrementalDecode(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() [all …]
|
D | CodecTest.cpp | 69 SkASSERT(bm.getPixels()); in md5() 102 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_info() 127 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->startIncrementalDecode(info, bm.getPixels(), in test_incremental_decode() 185 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_codec() 204 auto actualResult = codec->getPixels(info565, bm565.getPixels(), bm565.rowBytes()); in test_codec() 231 REPORTER_ASSERT(r, expectedResult == codec->getPixels(grayInfo, in test_codec() 232 grayBm.getPixels(), grayBm.rowBytes())); in test_codec() 367 REPORTER_ASSERT(r, codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes()) in check() 417 const auto result = codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes(), &opts); in check() 460 REPORTER_ASSERT(r, gen->getPixels(info, bm.getPixels(), bm.rowBytes())); in check() [all …]
|
D | EncodedInfoTest.cpp | 25 auto result = codec->getPixels(codec->getInfo(), bm.getPixels(), bm.rowBytes()); in DEF_TEST() 38 result = codec->getPixels(bm2.pixmap()); in DEF_TEST()
|
D | WebpTest.cpp | 34 auto result = codec->getPixels(premulBm.pixmap(), &options); in DEF_TEST() 49 result = codec->getPixels(premulInfo.makeAlphaType(alphaType), changeBm.getPixels(), in DEF_TEST()
|
D | RecordingXfermodeTest.cpp | 163 0 == memcmp(goldenBM.getPixels(), pictureBM.getPixels(), pixelsSize)); in DEF_TEST() 165 if (0 != memcmp(goldenBM.getPixels(), pictureBM.getPixels(), pixelsSize)) { in DEF_TEST()
|
/external/skqp/tests/ |
D | CodecPartialTest.cpp | 41 return SkCodec::kSuccess == codec->getPixels(info, dst->getPixels(), dst->rowBytes()); in create_truth() 87 incremental.getPixels(), incremental.rowBytes()); in test_partial() 248 const SkCodec::Result result = fullCodec->getPixels(info, frame.getPixels(), in DEF_TEST() 298 frame.getPixels(), frame.rowBytes(), &opts); in DEF_TEST() 347 incremental.getPixels(), incremental.rowBytes()); in test_interleaved() 358 result = partialCodec->getPixels(info, full.getPixels(), full.rowBytes()); in test_interleaved() 409 auto result = codec->getPixels(info, truth.getPixels(), truth.rowBytes()); in DEF_TEST() 420 result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() 439 result = codec->startIncrementalDecode(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() 455 result = codec->startIncrementalDecode(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() [all …]
|
D | CodecTest.cpp | 61 SkASSERT(bm.getPixels()); in md5() 95 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_info() 120 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->startIncrementalDecode(info, bm.getPixels(), in test_incremental_decode() 178 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_codec() 197 auto actualResult = codec->getPixels(info565, bm565.getPixels(), bm565.rowBytes()); in test_codec() 225 REPORTER_ASSERT(r, expectedResult == codec->getPixels(grayInfo, in test_codec() 226 grayBm.getPixels(), grayBm.rowBytes())); in test_codec() 362 REPORTER_ASSERT(r, codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes()) in check() 412 const auto result = codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes(), &opts); in check() 455 REPORTER_ASSERT(r, gen->getPixels(info, bm.getPixels(), bm.rowBytes())); in check() [all …]
|
D | EncodedInfoTest.cpp | 25 auto result = codec->getPixels(codec->getInfo(), bm.getPixels(), bm.rowBytes()); in DEF_TEST() 38 result = codec->getPixels(bm2.pixmap()); in DEF_TEST()
|
D | RecordingXfermodeTest.cpp | 161 0 == memcmp(goldenBM.getPixels(), pictureBM.getPixels(), pixelsSize)); in DEF_TEST() 163 if (memcmp(goldenBM.getPixels(), pictureBM.getPixels(), pixelsSize)) { in DEF_TEST()
|
D | CodecAnimTest.cpp | 58 const auto result = codec->getPixels(info, bm.getPixels(), bm.rowBytes(), in DEF_TEST() 327 const auto result = codec->getPixels(decodeInfo, bm->getPixels(), bm->rowBytes(), in DEF_TEST() 430 auto result = codec->codec()->getPixels(info, bm.getPixels(), bm.rowBytes(), in DEF_TEST() 439 result = codec->codec()->getPixels(info, bm2.getPixels(), bm2.rowBytes(), in DEF_TEST()
|
D | BadIcoTest.cpp | 45 codec->getPixels(codec->getInfo(), bm.getPixels(), in DEF_TEST()
|
/external/skqp/src/android/ |
D | SkAnimatedImage.cpp | 37 if (!image->fDisplayFrame.fBitmap.getPixels()) { in Make() 56 if (!image->fDisplayFrame.fBitmap.getPixels()) { in Make() 103 if (fBitmap.getPixels()) { in init() 118 memcpy(tmp.getPixels(), fBitmap.getPixels(), fBitmap.computeByteSize()); in init() 133 memcpy(dst->fBitmap.getPixels(), fBitmap.getPixels(), fBitmap.computeByteSize()); in copyTo() 289 auto result = fCodec->codec()->getPixels(dst->info(), dst->getPixels(), dst->rowBytes(), in decodeNextFrame()
|
/external/skia/docs/examples/ |
D | Bitmap_copy_operator.cpp | 10 SkDebugf("original has pixels before copy: %s\n", original.getPixels() ? "true" : "false"); in draw() 12 SkDebugf("original has pixels after copy: %s\n", original.getPixels() ? "true" : "false"); in draw() 13 SkDebugf("copy has pixels: %s\n", copy.getPixels() ? "true" : "false"); in draw()
|
D | Bitmap_copy_const_SkBitmap.cpp | 10 SkDebugf("original has pixels before copy: %s\n", original.getPixels() ? "true" : "false"); in draw() 12 SkDebugf("original has pixels after copy: %s\n", original.getPixels() ? "true" : "false"); in draw() 13 SkDebugf("copy has pixels: %s\n", copy.getPixels() ? "true" : "false"); in draw()
|
D | Bitmap_move_operator.cpp | 10 SkDebugf("original has pixels before move: %s\n", original.getPixels() ? "true" : "false"); in draw() 13 SkDebugf("original has pixels after move: %s\n", original.getPixels() ? "true" : "false"); in draw() 14 SkDebugf("copy has pixels: %s\n", copy.getPixels() ? "true" : "false"); in draw()
|
D | Bitmap_move_SkBitmap.cpp | 10 SkDebugf("original has pixels before move: %s\n", original.getPixels() ? "true" : "false"); in draw() 13 SkDebugf("original has pixels after move: %s\n", original.getPixels() ? "true" : "false"); in draw() 14 SkDebugf("copy has pixels: %s\n", copy.getPixels() ? "true" : "false"); in draw()
|
D | Bitmap_HeapAllocator_allocPixelRef.cpp | 9 SkDebugf("pixel address = %p\n", bitmap.getPixels()); in draw() 14 SkDebugf("pixel address = %p\n", bitmap.getPixels()); in draw()
|
D | Bitmap_pixelRef.cpp | 10 SkDebugf("src pixels %c= sub pixels\n", source.getPixels() == subset.getPixels() ? '=' : '!'); in draw()
|
D | Bitmap_notifyPixelsChanged.cpp | 13 *(SkPMColor*) bitmap.getPixels() = SkPreMultiplyColor(SK_ColorBLUE); in draw() 16 *(SkPMColor*) bitmap.getPixels() = SkPreMultiplyColor(SK_ColorGREEN); in draw()
|
/external/skia/src/android/ |
D | SkAnimatedImage.cpp | 34 if (!image->fDisplayFrame.fBitmap.getPixels()) { in Make() 116 if (fBitmap.getPixels()) { in init() 131 memcpy(tmp.getPixels(), fBitmap.getPixels(), fBitmap.computeByteSize()); in init() 146 memcpy(dst->fBitmap.getPixels(), fBitmap.getPixels(), fBitmap.computeByteSize()); in copyTo() 303 auto result = fCodec->getAndroidPixels(dst->info(), dst->getPixels(), dst->rowBytes(), in decodeNextFrame()
|
/external/skia/include/core/ |
D | SkImageGenerator.h | 84 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes); 86 bool getPixels(const SkPixmap& pm) { in getPixels() function 87 return this->getPixels(pm.info(), pm.writable_addr(), pm.rowBytes()); in getPixels()
|
/external/skqp/gm/ |
D | imagefromyuvtextures.cpp | 50 SkPMColor* rgbColors = static_cast<SkPMColor*>(rgbBmp.getPixels()); in onOnceBeforeDraw() 60 yPixels = static_cast<unsigned char*>(fYUVBmps[0].getPixels()); in onOnceBeforeDraw() 61 uvPixels[0] = static_cast<signed char*>(fYUVBmps[1].getPixels()); in onOnceBeforeDraw() 62 uvPixels[1] = static_cast<signed char*>(fYUVBmps[2].getPixels()); in onOnceBeforeDraw() 108 yuvTextures[i] = gpu->createTestingOnlyBackendTexture(fYUVBmps[i].getPixels(), in createYUVTextures()
|
/external/skia/tools/ |
D | convert-to-nia.cpp | 179 memcpy(bm.getPixels(), cachedFramePixels.get(), bmByteSize); in main() 196 codec->getPixels(codec->getInfo(), bm.getPixels(), bm.rowBytes(), &opts); in main() 208 memcpy(cachedFramePixels.reset(bmByteSize), bm.getPixels(), bmByteSize); in main()
|
/external/skia/src/codec/ |
D | SkCodecImageGenerator.cpp | 49 bool SkCodecImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const… in getPixels() function in SkCodecImageGenerator 53 SkCodec::Result result = fCodec->getPixels(pm, options); in getPixels() 69 return this->getPixels(requestInfo, requestPixels, requestRowBytes, nullptr); in onGetPixels()
|