Searched refs:getPixels (Results 1 - 25 of 113) sorted by relevance

12345

/external/skia/tests/
H A DBadIcoTest.cpp41 codec->getPixels(codec->getInfo(), bm.getPixels(),
H A DCodecPriv.h33 const SkCodec::Result result = codec->getPixels(codec->getInfo(), bm->getPixels(),
H A DCachedDecodingPixelRefTest.cpp65 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 DRecordingXfermodeTest.cpp160 0 == memcmp(goldenBM.getPixels(), pictureBM.getPixels(), pixelsSize));
162 if (memcmp(goldenBM.getPixels(), pictureBM.getPixels(), pixelsSize)) {
H A DCodexTest.cpp31 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 DImageNewShaderTest.cpp24 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.getSize()));
H A DSpecialImageTest.cpp96 bool result = canvas->readPixels(bm.info(), bm.getPixels(), bm.rowBytes(), 0, 0);
139 bm.getPixels(), 0));
H A DCanvasStateTest.cpp145 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 DSkRawAdapterCodec.cpp27 return this->codec()->getPixels(
H A DSkWebpAdapterCodec.cpp43 return this->codec()->getPixels(info, pixels, rowBytes, &codecOptions, options.fColorPtr,
/external/skia/bench/
H A DPremulAndUnpremulAlphaOpsBench.cpp51 canvas->writePixels(fBmp1.info(), fBmp1.getPixels(), fBmp1.rowBytes(), 0, 0);
53 canvas->readPixels(fBmp2.info(), fBmp2.getPixels(), fBmp2.rowBytes(), 0, 0);
H A DCodecBench.cpp64 codec->getPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(),
H A DWritePixelsBench.cpp60 canvas->writePixels(info, bmp.getPixels(), bmp.rowBytes(), 0, 0);
/external/skia/src/core/
H A DSkImageGenerator.cpp16 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 DSkBitmapController.cpp130 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 DSkImageCacherator.cpp80 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 Dimagefromyuvtextures.cpp50 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 Dxfermodes2.cpp98 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 DSkGrPixelRef.cpp33 if (nullptr == fBitmap.getPixels()) {
37 rec->fPixels = fBitmap.getPixels();
195 void* buffer = cachedBitmap.getPixels();
/external/skia/include/codec/
H A DSkAndroidCodec.h225 // 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 DSkCodec.h148 * 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 DSkImageGenerator.h122 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 DSkImageEncoder_argb.cpp96 const uint8_t* src = (uint8_t*)bitmap.getPixels();
97 if (nullptr == bitmap.getPixels()) {
/external/skia/src/image/
H A DSkImage_Raster.cpp145 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 DSkCreateCGImageRef.cpp141 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)) {

Completed in 545 milliseconds

12345