/external/skqp/tests/ |
D | CodecPartialTest.cpp | 35 return SkCodec::kSuccess == codec->getPixels(info, dst->getPixels(), dst->rowBytes()); in create_truth() 86 incremental.getPixels(), incremental.rowBytes()); in test_partial() 214 const SkCodec::Result result = fullCodec->getPixels(info, frame.getPixels(), in DEF_TEST() 264 frame.getPixels(), frame.rowBytes(), &opts); in DEF_TEST() 306 incremental.getPixels(), incremental.rowBytes()); in test_interleaved() 317 result = partialCodec->getPixels(info, full.getPixels(), full.rowBytes()); in test_interleaved() 368 auto result = codec->getPixels(info, truth.getPixels(), truth.rowBytes()); in DEF_TEST() 377 result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() 390 result = codec->startIncrementalDecode(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() 394 result = codec->startIncrementalDecode(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() [all …]
|
D | CodecTest.cpp | 45 SkASSERT(bm.getPixels()); in md5() 79 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_info() 104 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() 181 REPORTER_ASSERT(r, expectedResult == codec->getPixels(info565, in test_codec() 182 bm565.getPixels(), bm565.rowBytes())); in test_codec() 204 REPORTER_ASSERT(r, expectedResult == codec->getPixels(grayInfo, in test_codec() 205 grayBm.getPixels(), grayBm.rowBytes())); in test_codec() 336 REPORTER_ASSERT(r, codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes()) in check() 386 const auto result = codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes(), &opts); in check() [all …]
|
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 | AndroidCodecTest.cpp | 166 REPORTER_ASSERT(r, gen->getPixels(info, fromGenerator.getPixels(), in DEF_TEST() 171 auto result = androidCodec->getPixels(info, fromAndroidCodec.getPixels(), in DEF_TEST()
|
D | DeferredDisplayListTest.cpp | 124 s->readPixels(imageInfo, bitmap.getPixels(), bitmap.rowBytes(), 0, 0); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 174 s->readPixels(imageInfo, bitmap.getPixels(), bitmap.rowBytes(), 0, 0); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 178 s->readPixels(imageInfo, bitmap.getPixels(), bitmap.rowBytes(), 0, 0); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 182 s->readPixels(imageInfo, bitmap.getPixels(), bitmap.rowBytes(), 0, 0); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 336 s->readPixels(imageInfo, bitmap.getPixels(), bitmap.rowBytes(), 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | BadIcoTest.cpp | 42 codec->getPixels(codec->getInfo(), bm.getPixels(), in DEF_TEST()
|
D | CodecAnimTest.cpp | 46 const auto result = codec->getPixels(info, bm.getPixels(), bm.rowBytes(), in DEF_TEST() 316 const auto result = codec->getPixels(decodeInfo, bm->getPixels(), bm->rowBytes(), in DEF_TEST() 418 const auto result = codec->codec()->getPixels(info, bm.getPixels(), bm.rowBytes(), in DEF_TEST()
|
/external/skia/tests/ |
D | CodecPartialTest.cpp | 35 return SkCodec::kSuccess == codec->getPixels(info, dst->getPixels(), dst->rowBytes()); in create_truth() 86 incremental.getPixels(), incremental.rowBytes()); in test_partial() 214 const SkCodec::Result result = fullCodec->getPixels(info, frame.getPixels(), in DEF_TEST() 264 frame.getPixels(), frame.rowBytes(), &opts); in DEF_TEST() 306 incremental.getPixels(), incremental.rowBytes()); in test_interleaved() 317 result = partialCodec->getPixels(info, full.getPixels(), full.rowBytes()); in test_interleaved() 368 auto result = codec->getPixels(info, truth.getPixels(), truth.rowBytes()); in DEF_TEST() 377 result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() 390 result = codec->startIncrementalDecode(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() 394 result = codec->startIncrementalDecode(info, bm.getPixels(), bm.rowBytes()); in DEF_TEST() [all …]
|
D | CodecTest.cpp | 47 SkASSERT(bm.getPixels()); in md5() 81 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_info() 106 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->startIncrementalDecode(info, bm.getPixels(), in test_incremental_decode() 164 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); in test_codec() 183 REPORTER_ASSERT(r, expectedResult == codec->getPixels(info565, in test_codec() 184 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() 338 REPORTER_ASSERT(r, codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes()) in check() 388 const auto result = codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes(), &opts); in check() [all …]
|
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 | AndroidCodecTest.cpp | 177 REPORTER_ASSERT(r, gen->getPixels(info, fromGenerator.getPixels(), in DEF_TEST() 182 auto result = androidCodec->getPixels(info, fromAndroidCodec.getPixels(), in DEF_TEST()
|
D | BadIcoTest.cpp | 42 codec->getPixels(codec->getInfo(), bm.getPixels(), in DEF_TEST()
|
/external/skia/src/android/ |
D | SkAnimatedImage.cpp | 35 if (!image->fDisplayFrame.fBitmap.getPixels()) { in Make() 54 if (!image->fDisplayFrame.fBitmap.getPixels()) { in Make() 101 if (fBitmap.getPixels()) { in init() 116 memcpy(tmp.getPixels(), fBitmap.getPixels(), fBitmap.computeByteSize()); in init() 130 memcpy(dst->fBitmap.getPixels(), fBitmap.getPixels(), fBitmap.computeByteSize()); in copyTo() 282 auto result = fCodec->codec()->getPixels(dst->info(), dst->getPixels(), dst->rowBytes(), in decodeNextFrame()
|
/external/skqp/src/android/ |
D | SkAnimatedImage.cpp | 33 if (!image->fActiveFrame.fBitmap.getPixels()) { in Make() 52 if (!image->fActiveFrame.fBitmap.getPixels()) { in Make() 99 if (dst->fBitmap.getPixels()) { in copyTo() 105 memcpy(dst->fBitmap.getPixels(), fBitmap.getPixels(), fBitmap.computeByteSize()); in copyTo() 252 if (dst->getPixels()) { in decodeNextFrame() 261 auto result = fCodec->codec()->getPixels(dst->info(), dst->getPixels(), dst->rowBytes(), in decodeNextFrame()
|
/external/skqp/gm/ |
D | imagefromyuvtextures.cpp | 51 SkPMColor* rgbColors = static_cast<SkPMColor*>(rgbBmp.getPixels()); in onOnceBeforeDraw() 61 yPixels = static_cast<unsigned char*>(fYUVBmps[0].getPixels()); in onOnceBeforeDraw() 62 uvPixels[0] = static_cast<signed char*>(fYUVBmps[1].getPixels()); in onOnceBeforeDraw() 63 uvPixels[1] = static_cast<signed char*>(fYUVBmps[2].getPixels()); in onOnceBeforeDraw() 105 yuvTextures[i] = gpu->createTestingOnlyBackendTexture(fYUVBmps[i].getPixels(), in createYUVTextures()
|
D | animatedGif.cpp | 50 if (!bm.getPixels()) { in drawFrame() 62 if (requiredBitmap.getPixels() && in drawFrame() 68 if (SkCodec::kSuccess != fCodec->getPixels(info, bm.getPixels(), in drawFrame()
|
/external/skia/gm/ |
D | imagefromyuvtextures.cpp | 51 SkPMColor* rgbColors = static_cast<SkPMColor*>(rgbBmp.getPixels()); in onOnceBeforeDraw() 61 yPixels = static_cast<unsigned char*>(fYUVBmps[0].getPixels()); in onOnceBeforeDraw() 62 uvPixels[0] = static_cast<signed char*>(fYUVBmps[1].getPixels()); in onOnceBeforeDraw() 63 uvPixels[1] = static_cast<signed char*>(fYUVBmps[2].getPixels()); in onOnceBeforeDraw() 105 yuvTextures[i] = gpu->createTestingOnlyBackendTexture(fYUVBmps[i].getPixels(), in createYUVTextures()
|
D | animatedGif.cpp | 50 if (!bm.getPixels()) { in drawFrame() 62 if (requiredBitmap.getPixels() && in drawFrame() 68 if (SkCodec::kSuccess != fCodec->getPixels(info, bm.getPixels(), in drawFrame()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBitmapTest.java | 37 scaledBitmap.getPixels(new int[20000], 0, 0, 0, 0, 100, 200); in shouldCreateScaledBitmap() 247 bmp.getPixels(pixels, 0, bmp.getWidth(), 0, 0, bmp.getWidth(), bmp.getHeight()); in testGetPixels() 307 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); in shouldGetPixelsFromAnyNonNullableCreatedBitmap() 310 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); in shouldGetPixelsFromAnyNonNullableCreatedBitmap() 313 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); in shouldGetPixelsFromAnyNonNullableCreatedBitmap() 316 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); in shouldGetPixelsFromAnyNonNullableCreatedBitmap() 319 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); in shouldGetPixelsFromAnyNonNullableCreatedBitmap() 322 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); in shouldGetPixelsFromAnyNonNullableCreatedBitmap() 326 bitmap.getPixels(pixels, 0, width, 2, 2, 3, 3); in shouldGetPixelsFromAnyNonNullableCreatedBitmap() 383 bitmapOriginal.getPixels(pixelsOriginal, 0, originalWidth, 0, 0, originalWidth, originalHeight); in shouldWriteToParcelAndReconstruct() [all …]
|
/external/skia/include/codec/ |
D | SkCodec.h | 341 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options*); 346 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { in getPixels() function 347 return this->getPixels(info, pixels, rowBytes, nullptr); in getPixels() 350 Result getPixels(const SkPixmap& pm, const Options* opts = nullptr) { 351 return this->getPixels(pm.info(), pm.writable_addr(), pm.rowBytes(), opts);
|
/external/skqp/include/codec/ |
D | SkCodec.h | 341 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options*); 346 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { in getPixels() function 347 return this->getPixels(info, pixels, rowBytes, nullptr); in getPixels() 350 Result getPixels(const SkPixmap& pm, const Options* opts = nullptr) { 351 return this->getPixels(pm.info(), pm.writable_addr(), pm.rowBytes(), opts);
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 240 if (nullptr == this->getPixels()) { in tryAllocPixels() 262 if (nullptr == this->getPixels()) { in tryAllocPixelsFlags() 380 char* base = (char*)this->getPixels(); in getAddr() 585 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize()); in extractAlpha() 615 SkASSERT(this->getPixels()); in validate() 617 SkASSERT(!this->getPixels()); in validate() 620 if (this->getPixels()) { in validate() 665 if (this->getPixels()) { in peekPixels()
|
/external/skqp/src/core/ |
D | SkBitmap.cpp | 240 if (nullptr == this->getPixels()) { in tryAllocPixels() 262 if (nullptr == this->getPixels()) { in tryAllocPixelsFlags() 380 char* base = (char*)this->getPixels(); in getAddr() 584 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize()); in extractAlpha() 614 SkASSERT(this->getPixels()); in validate() 616 SkASSERT(!this->getPixels()); in validate() 619 if (this->getPixels()) { in validate() 664 if (this->getPixels()) { in peekPixels()
|
/external/skia/tools/mdbviz/ |
D | Model.h | 44 void* getPixels() const { return fBM.getPixels(); } in getPixels() function
|
/external/skqp/tools/mdbviz/ |
D | Model.h | 44 void* getPixels() const { return fBM.getPixels(); } in getPixels() function
|