/external/skia/tests/ |
H A D | BadIcoTest.cpp | 41 codec->getPixels(codec->getInfo(), bm.getPixels(),
|
H A D | CodecPriv.h | 33 const SkCodec::Result result = codec->getPixels(codec->getInfo(), bm->getPixels(),
|
H A D | CachedDecodingPixelRefTest.cpp | 65 REPORTER_ASSERT(reporter, b1.getPixels()); 66 REPORTER_ASSERT(reporter, b2.getPixels()); 67 if ((!(b1.getPixels())) || (!(b2.getPixels()))) { 121 REPORTER_ASSERT(reporter, nullptr == lazy.getPixels()); 124 REPORTER_ASSERT(reporter, lazy.getPixels()); 125 if (nullptr == lazy.getPixels()) { 130 REPORTER_ASSERT(reporter, nullptr == lazy.getPixels()); 133 REPORTER_ASSERT(reporter, lazy.getPixels()); 134 if (nullptr == lazy.getPixels()) { [all...] |
H A D | RecordingXfermodeTest.cpp | 160 0 == memcmp(goldenBM.getPixels(), pictureBM.getPixels(), pixelsSize)); 162 if (memcmp(goldenBM.getPixels(), pictureBM.getPixels(), pixelsSize)) {
|
H A D | CodexTest.cpp | 31 SkASSERT(bm.getPixels()); 56 * Calling getPixels(info) should return expectedResult, and if goodDigest is non nullptr, 66 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); 95 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); 223 REPORTER_ASSERT(r, codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes()) 274 const SkCodec::Result result = codec->getPixels(bm.info(), bm.getPixels(), b [all...] |
H A D | ImageNewShaderTest.cpp | 24 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.getSize()));
|
H A D | SpecialImageTest.cpp | 96 bool result = canvas->readPixels(bm.info(), bm.getPixels(), bm.rowBytes(), 0, 0); 139 bm.getPixels(), 0));
|
H A D | CanvasStateTest.cpp | 145 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(), 146 bitmaps[1].getPixels(), 257 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(), 258 bitmaps[1].getPixels(),
|
/external/skia/src/codec/ |
H A D | SkRawAdapterCodec.cpp | 27 return this->codec()->getPixels(
|
H A D | SkWebpAdapterCodec.cpp | 43 return this->codec()->getPixels(info, pixels, rowBytes, &codecOptions, options.fColorPtr,
|
/external/skia/bench/ |
H A D | PremulAndUnpremulAlphaOpsBench.cpp | 51 canvas->writePixels(fBmp1.info(), fBmp1.getPixels(), fBmp1.rowBytes(), 0, 0); 53 canvas->readPixels(fBmp2.info(), fBmp2.getPixels(), fBmp2.rowBytes(), 0, 0);
|
H A D | CodecBench.cpp | 64 codec->getPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(),
|
H A D | WritePixelsBench.cpp | 60 canvas->writePixels(info, bmp.getPixels(), bmp.rowBytes(), 0, 0);
|
/external/skia/src/core/ |
H A D | SkImageGenerator.cpp | 16 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, function in class:SkImageGenerator 47 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { function in class:SkImageGenerator 52 return this->getPixels(info, pixels, rowBytes, nullptr, nullptr); 197 if (!bitmap->getPixels()) { 202 if (!this->getPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(),
|
H A D | SkBitmapController.cpp | 130 SkASSERT(fResultBitmap.getPixels()); 139 SkASSERT(fResultBitmap.getPixels()); 208 SkASSERT(fResultBitmap.getPixels()); 216 // fResultBitmap.getPixels() may be null, but our caller knows to check fPixmap.addr() 218 fPixmap.reset(fResultBitmap.info(), fResultBitmap.getPixels(), fResultBitmap.rowBytes(),
|
H A D | SkImageCacherator.cpp | 80 SkASSERT(bitmap.getPixels()); 107 return full.readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 120 return generator->getPixels(info, pixels, rb); 175 bitmap->getPixels(), bitmap->rowBytes(), pixelOpsFlags)) {
|
/external/skia/gm/ |
H A D | imagefromyuvtextures.cpp | 50 SkPMColor* rgbColors = static_cast<SkPMColor*>(rgbBmp.getPixels()); 60 yPixels = static_cast<unsigned char*>(fYUVBmps[0].getPixels()); 61 uvPixels[0] = static_cast<signed char*>(fYUVBmps[1].getPixels()); 62 uvPixels[1] = static_cast<signed char*>(fYUVBmps[2].getPixels()); 104 yuvHandles[i] = gpu->createTestingOnlyBackendTexture(fYUVBmps[i].getPixels(),
|
H A D | xfermodes2.cpp | 98 memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData)); 109 SkPMColor* pixels = reinterpret_cast<SkPMColor*>(srcBmp.getPixels()); 123 pixels = reinterpret_cast<SkPMColor*>(dstBmp.getPixels());
|
/external/skia/src/gpu/ |
H A D | SkGrPixelRef.cpp | 33 if (nullptr == fBitmap.getPixels()) { 37 rec->fPixels = fBitmap.getPixels(); 195 void* buffer = cachedBitmap.getPixels();
|
/external/skia/include/codec/ |
H A D | SkAndroidCodec.h | 225 // this getPixels() when it is a slightly different API than SkCodec's getPixels(). 239 SkCodec::Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { function in class:SkAndroidCodec
|
H A D | SkCodec.h | 148 * Used to describe the result of a call to getPixels(). 192 * Whether or not the memory passed to getPixels is zero initialized. 196 * The memory passed to getPixels is zero initialized. The SkCodec 201 * The memory passed to getPixels has not been initialized to zero, 210 * Additional options to pass to getPixels. 225 * In getPixels, we will attempt to decode the exact rectangular 271 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options*, 275 * Simplified version of getPixels() that asserts that info is NOT kIndex8_SkColorType and 278 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes); 527 * This will allow getPixels() t [all...] |
/external/skia/include/core/ |
H A D | SkImageGenerator.h | 122 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 126 * Simplified version of getPixels() that asserts that info is NOT kIndex8_SkColorType and 129 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes);
|
/external/skia/src/images/ |
H A D | SkImageEncoder_argb.cpp | 96 const uint8_t* src = (uint8_t*)bitmap.getPixels(); 97 if (nullptr == bitmap.getPixels()) {
|
/external/skia/src/image/ |
H A D | SkImage_Raster.cpp | 145 if ((kUnknown_SkColorType == info.colorType()) || !fBitmap.getPixels()) { 150 return fBitmap.getPixels(); 263 if (tmp.getPixels()) { 264 image = SkImage::NewRasterCopy(tmp.info(), tmp.getPixels(), tmp.rowBytes(),
|
/external/skia/src/utils/mac/ |
H A D | SkCreateCGImageRef.cpp | 141 CGDataProviderRef dataRef = CGDataProviderCreateWithData(bitmap, bitmap->getPixels(), s, 231 CGContextRef ctx = CGBitmapContextCreate(bitmap.getPixels(), w, h, 291 if (!SkCopyPixelsFromCGImage(tmp.info(), tmp.rowBytes(), tmp.getPixels(), image)) {
|