/external/skia/tests/ |
D | CodecPartialTest.cpp | 34 return SkCodec::kSuccess == codec->getPixels(info, dst->getPixels(), dst->rowBytes()); in create_truth() 82 incremental.getPixels(), incremental.rowBytes()); in test_partial() 215 const SkCodec::Result result = fullCodec->getPixels(info, frame.getPixels(), in DEF_TEST() 266 frame.getPixels(), frame.rowBytes(), &opts); in DEF_TEST() 312 incremental.getPixels(), incremental.rowBytes()); in test_interleaved() 323 result = partialCodec->getPixels(info, full.getPixels(), full.rowBytes()); in test_interleaved() 374 auto result = codec->getPixels(info, truth.getPixels(), truth.rowBytes()); in DEF_TEST() 383 result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() 396 result = codec->startIncrementalDecode(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() 400 result = codec->startIncrementalDecode(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() [all …]
|
D | CodecTest.cpp | 42 SkASSERT(bm.getPixels()); in md5() 77 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_info() 103 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->startIncrementalDecode(info, bm.getPixels(), in test_incremental_decode() 162 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_codec() 182 REPORTER_ASSERT(r, expectedResult == codec->getPixels(info565, in test_codec() 183 bm565.getPixels(), bm565.rowBytes())); in test_codec() 206 REPORTER_ASSERT(r, expectedResult == codec->getPixels(grayInfo, in test_codec() 207 grayBm.getPixels(), grayBm.rowBytes())); in test_codec() 339 REPORTER_ASSERT(r, codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes()) in check() 390 const SkCodec::Result result = codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes(), in check() [all …]
|
D | RecordingXfermodeTest.cpp | 159 0 == memcmp(goldenBM.getPixels(), pictureBM.getPixels(), pixelsSize)); in DEF_TEST() 161 if (memcmp(goldenBM.getPixels(), pictureBM.getPixels(), pixelsSize)) { in DEF_TEST()
|
D | BadIcoTest.cpp | 42 codec->getPixels(codec->getInfo(), bm.getPixels(), in DEF_TEST()
|
D | CodecPriv.h | 33 const SkCodec::Result result = codec->getPixels(codec->getInfo(), bm->getPixels(), in decode_memory()
|
D | CodecExactReadTest.cpp | 80 auto result = codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes()); in DEF_TEST()
|
D | CanvasStateTest.cpp | 146 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(), in DEF_TEST() 147 bitmaps[1].getPixels(), in DEF_TEST() 258 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(), in DEF_TEST() 259 bitmaps[1].getPixels(), in DEF_TEST()
|
D | SpecialImageTest.cpp | 103 bool result = canvas->readPixels(bm.info(), bm.getPixels(), bm.rowBytes(), 0, 0); in test_image() 239 bm.getPixels(), bm.rowBytes())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 272 bm.getPixels(), bm.rowBytes())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 311 bm.getPixels(), 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | CodecAnimTest.cpp | 141 const SkCodec::Result result = codec->getPixels(info, bm->getPixels(), bm->rowBytes(), in DEF_TEST()
|
D | ImageNewShaderTest.cpp | 24 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.getSize())); in test_bitmap_equality()
|
/external/skia/src/core/ |
D | SkImageGenerator.cpp | 17 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, in getPixels() function in SkImageGenerator 48 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { in getPixels() function in SkImageGenerator 53 return this->getPixels(info, pixels, rowBytes, nullptr, nullptr); in getPixels() 156 if (!bitmap->getPixels()) { in tryGenerateBitmap() 161 if (!this->getPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), in tryGenerateBitmap()
|
D | SkBitmapController.cpp | 141 SkASSERT(fResultBitmap.getPixels()); in processHQRequest() 150 SkASSERT(fResultBitmap.getPixels()); in processHQRequest() 226 SkASSERT(fResultBitmap.getPixels()); in SkDefaultBitmapControllerState() 236 fPixmap.reset(fResultBitmap.info(), fResultBitmap.getPixels(), fResultBitmap.rowBytes(), in SkDefaultBitmapControllerState()
|
/external/skia/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() 104 yuvHandles[i] = gpu->createTestingOnlyBackendTexture(fYUVBmps[i].getPixels(), in createYUVTextures()
|
D | animatedGif.cpp | 49 if (!bm.getPixels()) { in drawFrame() 61 if (requiredBitmap.getPixels() && requiredBitmap.copyTo(&bm)) { in drawFrame() 66 if (SkCodec::kSuccess != fCodec->getPixels(info, bm.getPixels(), in drawFrame()
|
D | xfermodes2.cpp | 96 memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData)); in onOnceBeforeDraw() 105 SkPMColor* pixels = reinterpret_cast<SkPMColor*>(srcBmp.getPixels()); in onOnceBeforeDraw() 118 pixels = reinterpret_cast<SkPMColor*>(dstBmp.getPixels()); in onOnceBeforeDraw()
|
D | bitmapimage.cpp | 41 codec->getPixels(codec->getInfo(), bitmap.getPixels(), bitmap.rowBytes()); in onDraw()
|
D | yuvtorgbeffect.cpp | 56 pixels[i] = (unsigned char*)fBmp[i].getPixels(); in onOnceBeforeDraw() 97 fBmp[i].getPixels(), fBmp[i].rowBytes()); in onDraw() 181 unsigned char* pixels = (unsigned char*)fBmp[0].getPixels(); in onOnceBeforeDraw() 229 fBmp[index].getPixels(), in onDraw()
|
D | encode-srgb.cpp | 109 codec->getPixels(dstInfo, bitmap->getPixels(), bitmap->rowBytes()); in make()
|
/external/skia/samplecode/ |
D | DecodeFile.h | 35 return SkCodec::kSuccess == codec->getPixels(info, bitmap->getPixels(), bitmap->rowBytes());
|
/external/skia/bench/ |
D | PremulAndUnpremulAlphaOpsBench.cpp | 50 canvas->writePixels(fBmp1.info(), fBmp1.getPixels(), fBmp1.rowBytes(), 0, 0); in onDraw() 52 canvas->readPixels(fBmp2.info(), fBmp2.getPixels(), fBmp2.rowBytes(), 0, 0); in onDraw()
|
D | ColorCodecBench.cpp | 43 codec->getPixels(fDstInfo, fDst.get(), fDstInfo.minRowBytes()); in decodeAndXform() 99 codec->getPixels(fSrcInfo, fSrc.get(), fSrcInfo.minRowBytes()); in onDelayedSetup()
|
/external/skia/tools/ |
D | Resources.cpp | 40 gen->getPixels(gen->getInfo().makeColorSpace(nullptr), dst->getPixels(), dst->rowBytes(), in GetResourceAsBitmap()
|
D | picture_utils.cpp | 91 auto px = (const uint32_t*)bitmap.getPixels(); in encode_bitmap_for_png() 109 auto px = (const uint64_t*)bitmap.getPixels(); in encode_bitmap_for_png()
|
/external/skia/include/core/ |
D | SkImageGenerator.h | 84 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 91 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes);
|
/external/skia/fuzz/ |
D | fuzz.cpp | 239 switch (codec->getPixels(decodeInfo, bitmap.getPixels(), bitmap.rowBytes(), &options, in fuzz_img() 351 void* pixels = bitmap.getPixels(); in fuzz_img() 375 const SkCodec::Result result = codec->getPixels(decodeInfo, pixels, rowBytes, in fuzz_img() 423 auto result = codec->startIncrementalDecode(decodeInfo, bitmap.getPixels(), in fuzz_img()
|