/external/skia/tests/ |
D | CachedDecodingPixelRefTest.cpp | 65 REPORTER_ASSERT(reporter, b1.getPixels()); in compare_bitmaps() 66 REPORTER_ASSERT(reporter, b2.getPixels()); in compare_bitmaps() 67 if ((!(b1.getPixels())) || (!(b2.getPixels()))) { in compare_bitmaps() 121 REPORTER_ASSERT(reporter, nullptr == lazy.getPixels()); in test_three_encodings() 124 REPORTER_ASSERT(reporter, lazy.getPixels()); in test_three_encodings() 125 if (nullptr == lazy.getPixels()) { in test_three_encodings() 130 REPORTER_ASSERT(reporter, nullptr == lazy.getPixels()); in test_three_encodings() 133 REPORTER_ASSERT(reporter, lazy.getPixels()); in test_three_encodings() 134 if (nullptr == lazy.getPixels()) { in test_three_encodings() 236 REPORTER_ASSERT(reporter, bm.getPixels()); in check_test_image_generator_bitmap() [all …]
|
D | CodexTest.cpp | 31 SkASSERT(bm.getPixels()); in md5() 66 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_info() 95 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_codec() 223 REPORTER_ASSERT(r, codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes()) in check() 274 const SkCodec::Result result = codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes(), in check() 324 REPORTER_ASSERT(r, gen->getPixels(info, bm.getPixels(), bm.rowBytes())); in check() 437 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() 796 SkCodec::Result result = codec->getPixels(codec->getInfo(), decodedBm.getPixels(), in DEF_TEST() 817 result = codec->getPixels(codec->getInfo(), decodedBm.getPixels(), decodedBm.rowBytes()); in DEF_TEST()
|
D | RecordingXfermodeTest.cpp | 160 0 == memcmp(goldenBM.getPixels(), pictureBM.getPixels(), pixelsSize)); in DEF_TEST() 162 if (memcmp(goldenBM.getPixels(), pictureBM.getPixels(), pixelsSize)) { in DEF_TEST()
|
D | BadIcoTest.cpp | 41 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 | CanvasStateTest.cpp | 145 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(), in DEF_TEST() 146 bitmaps[1].getPixels(), in DEF_TEST() 257 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(), in DEF_TEST() 258 bitmaps[1].getPixels(), in DEF_TEST()
|
D | SpecialImageTest.cpp | 96 bool result = canvas->readPixels(bm.info(), bm.getPixels(), bm.rowBytes(), 0, 0); in test_image() 139 bm.getPixels(), 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ImageNewShaderTest.cpp | 24 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.getSize())); in testBitmapEquality()
|
/external/skia/src/core/ |
D | SkImageGenerator.cpp | 16 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, in getPixels() function in SkImageGenerator 47 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { in getPixels() function in SkImageGenerator 52 return this->getPixels(info, pixels, rowBytes, nullptr, nullptr); in getPixels() 197 if (!bitmap->getPixels()) { in tryGenerateBitmap() 202 if (!this->getPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), in tryGenerateBitmap()
|
D | SkBitmapController.cpp | 130 SkASSERT(fResultBitmap.getPixels()); in processHQRequest() 139 SkASSERT(fResultBitmap.getPixels()); in processHQRequest() 208 SkASSERT(fResultBitmap.getPixels()); in SkDefaultBitmapControllerState() 218 fPixmap.reset(fResultBitmap.info(), fResultBitmap.getPixels(), fResultBitmap.rowBytes(), in SkDefaultBitmapControllerState()
|
D | SkImageCacherator.cpp | 80 SkASSERT(bitmap.getPixels()); in check_output_bitmap() 107 return full.readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), in generateBitmap() 120 return generator->getPixels(info, pixels, rb); in directGeneratePixels() 175 bitmap->getPixels(), bitmap->rowBytes(), pixelOpsFlags)) { in lockAsBitmap()
|
/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 | xfermodes2.cpp | 98 memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData)); in onOnceBeforeDraw() 109 SkPMColor* pixels = reinterpret_cast<SkPMColor*>(srcBmp.getPixels()); in onOnceBeforeDraw() 123 pixels = reinterpret_cast<SkPMColor*>(dstBmp.getPixels()); in onOnceBeforeDraw()
|
/external/skia/bench/ |
D | PremulAndUnpremulAlphaOpsBench.cpp | 51 canvas->writePixels(fBmp1.info(), fBmp1.getPixels(), fBmp1.rowBytes(), 0, 0); in onDraw() 53 canvas->readPixels(fBmp2.info(), fBmp2.getPixels(), fBmp2.rowBytes(), 0, 0); in onDraw()
|
/external/skia/src/gpu/ |
D | SkGrPixelRef.cpp | 33 if (nullptr == fBitmap.getPixels()) { in onNewLockPixels() 37 rec->fPixels = fBitmap.getPixels(); in onNewLockPixels() 195 void* buffer = cachedBitmap.getPixels(); in onReadPixels()
|
/external/skia/src/images/ |
D | SkImageDecoder_libgif.cpp | 158 msg, bm.width(), bm.height(), bm.getPixels(), in error_return() 167 msg, bm.width(), bm.height(), bm.getPixels(), in gif_warning() 198 if (bm->getPixels()) { in sanitize_indexed_bitmap() 208 uint8_t* addr = static_cast<uint8_t*>(bm->getPixels()); in sanitize_indexed_bitmap() 393 memset(bm->getPixels(), fillIndex, bm->getSize());
|
D | SkImageEncoder_argb.cpp | 96 const uint8_t* src = (uint8_t*)bitmap.getPixels(); in onEncode() 97 if (nullptr == bitmap.getPixels()) { in onEncode()
|
/external/skia/src/image/ |
D | SkImage_Raster.cpp | 145 if ((kUnknown_SkColorType == info.colorType()) || !fBitmap.getPixels()) { in onPeekPixels() 150 return fBitmap.getPixels(); in onPeekPixels() 263 if (tmp.getPixels()) { in SkNewImageFromRasterBitmap() 264 image = SkImage::NewRasterCopy(tmp.info(), tmp.getPixels(), tmp.rowBytes(), in SkNewImageFromRasterBitmap()
|
/external/skia/fuzz/ |
D | fuzz.cpp | 163 switch (codec->getPixels(decodeInfo, bitmap.getPixels(), bitmap.rowBytes(), &options, in fuzz_img() 287 void* pixels = bitmap.getPixels(); in fuzz_img() 311 const SkCodec::Result result = codec->getPixels(decodeInfo, pixels, rowBytes, in fuzz_img()
|
/external/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 141 CGDataProviderRef dataRef = CGDataProviderCreateWithData(bitmap, bitmap->getPixels(), s, in SkCreateCGImageRefWithColorspace() 231 CGContextRef ctx = CGBitmapContextCreate(bitmap.getPixels(), w, h, in SkPDFDocumentToBitmap() 291 if (!SkCopyPixelsFromCGImage(tmp.info(), tmp.rowBytes(), tmp.getPixels(), image)) { in SkCreateBitmapFromCGImage()
|
/external/skia/include/core/ |
D | SkImageGenerator.h | 122 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 129 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes);
|
/external/skia/src/codec/ |
D | SkCodec.cpp | 152 SkCodec::Result SkCodec::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, in getPixels() function in SkCodec 222 SkCodec::Result SkCodec::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { in getPixels() function in SkCodec 223 return this->getPixels(info, pixels, rowBytes, nullptr, nullptr, nullptr); in getPixels()
|
/external/skia/src/ports/ |
D | SkImageDecoder_CG.cpp | 84 if (!bm->getPixels()) { in force_opaque() 104 char* row = (char*)bm->getPixels(); in force_opaque() 188 if (!SkCopyPixelsFromCGImage(bm->info(), bm->rowBytes(), bm->getPixels(), image)) { in onDecode()
|
D | SkImageDecoder_WIC.cpp | 241 reinterpret_cast<BYTE *>(bm->getPixels()) in decodeStream() 324 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap->getPixels()); in onEncode() 426 , reinterpret_cast<BYTE*>(bitmap->getPixels())); in onEncode()
|
/external/skia/include/codec/ |
D | SkCodec.h | 271 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options*, 278 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes);
|