/third_party/skia/tests/ |
D | YUVCacheTest.cpp | 43 SkYUVAPixmaps yuvaPixmaps; in DEF_TEST() local 46 SkCachedData* data = SkYUVPlanesCache::FindAndRef(genID, &yuvaPixmaps, &cache); in DEF_TEST() 55 yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pmaps); in DEF_TEST() 57 SkYUVPlanesCache::Add(genID, data, yuvaPixmaps, &cache); in DEF_TEST() 68 REPORTER_ASSERT(reporter, yuvaPixmapsRead.yuvaInfo() == yuvaPixmaps.yuvaInfo()); in DEF_TEST() 70 for (int i = 0; i < yuvaPixmaps.numPlanes(); ++i) { in DEF_TEST() 71 REPORTER_ASSERT(reporter, yuvaPixmaps.plane(i).info() == yuvaPixmapsRead.plane(i).info()); in DEF_TEST() 72 REPORTER_ASSERT(reporter, yuvaPixmaps.plane(i).addr() == yuvaPixmapsRead.plane(i).addr()); in DEF_TEST() 73 REPORTER_ASSERT(reporter, yuvaPixmaps.plane(i).rowBytes() == in DEF_TEST()
|
D | ImageGeneratorTest.cpp | 75 SkYUVAPixmaps yuvaPixmaps = SkYUVAPixmaps::Allocate(yuvaPixmapInfo); in DEF_TEST() local 76 ig.getYUVAPlanes(yuvaPixmaps); in DEF_TEST()
|
D | ImageTest.cpp | 1407 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pmaps); in make_yuva_image() local 1409 return SkImage::MakeFromYUVAPixmaps(dContext, yuvaPixmaps); in make_yuva_image()
|
/third_party/skia/src/image/ |
D | SkImage_Lazy.cpp | 284 SkYUVAPixmaps yuvaPixmaps; in textureProxyViewFromPlanes() local 285 sk_sp<SkCachedData> dataStorage = this->getPlanes(supportedDataTypes, &yuvaPixmaps); in textureProxyViewFromPlanes() 292 for (int i = 0; i < yuvaPixmaps.numPlanes(); ++i) { in textureProxyViewFromPlanes() 296 SkBackingFit fit = yuvaPixmaps.plane(i).dimensions() == this->dimensions() in textureProxyViewFromPlanes() 312 bitmap.installPixels(yuvaPixmaps.plane(i).info(), in textureProxyViewFromPlanes() 313 yuvaPixmaps.plane(i).writable_addr(), in textureProxyViewFromPlanes() 314 yuvaPixmaps.plane(i).rowBytes(), in textureProxyViewFromPlanes() 346 GrYUVATextureProxies yuvaProxies(yuvaPixmaps.yuvaInfo(), views, pixmapColorTypes); in textureProxyViewFromPlanes() 377 SkYUVAPixmaps* yuvaPixmaps) const { in getPlanes() 380 sk_sp<SkCachedData> data(SkYUVPlanesCache::FindAndRef(generator->uniqueID(), yuvaPixmaps)); in getPlanes() [all …]
|
/third_party/skia/src/core/ |
D | SkImageGenerator.cpp | 41 bool SkImageGenerator::getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in getYUVAPlanes() argument 42 return this->onGetYUVAPlanes(yuvaPixmaps); in getYUVAPlanes()
|
/third_party/skia/src/codec/ |
D | SkCodecImageGenerator.cpp | 78 bool SkCodecImageGenerator::onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in onGetYUVAPlanes() argument 79 switch (fCodec->getYUVAPlanes(yuvaPixmaps)) { in onGetYUVAPlanes()
|
D | SkCodecImageGenerator.h | 104 bool onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
|
D | SkJpegCodec.h | 52 Result onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
|
D | SkCodec.cpp | 202 SkCodec::Result SkCodec::getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in getYUVAPlanes() argument 203 if (!yuvaPixmaps.isValid()) { in getYUVAPlanes() 209 return this->onGetYUVAPlanes(yuvaPixmaps); in getYUVAPlanes()
|
D | SkJpegCodec.cpp | 871 SkCodec::Result SkJpegCodec::onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in onGetYUVAPlanes() argument 888 const std::array<SkPixmap, SkYUVAPixmaps::kMaxPlanes>& planes = yuvaPixmaps.planes(); in onGetYUVAPlanes() 898 SkASSERT(info.yuvaInfo() == yuvaPixmaps.yuvaInfo()); in onGetYUVAPlanes()
|
/third_party/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 403 auto yuvaPixmaps = SkYUVAPixmaps::Allocate(yuvaInfo); in addImage() local 404 if (!codec->getYUVAPlanes(yuvaPixmaps)) { in addImage() 407 SkASSERT(yuvaPixmaps.isValid()); in addImage() 408 newImageInfo.setYUVPlanes(std::move(yuvaPixmaps)); in addImage()
|
D | DDLPromiseImageHelper.h | 196 void setYUVPlanes(SkYUVAPixmaps yuvaPixmaps) { fYUVAPixmaps = std::move(yuvaPixmaps); } in setYUVPlanes() argument
|
/third_party/skia/gm/ |
D | yuv420_odd_dim.cpp | 112 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps); variable 114 yuvaPixmaps,
|
D | wacky_yuv_formats.cpp | 1043 auto yuvaPixmaps = planarConfig.makeYUVAPixmaps(fOriginalBMs[opaque].dimensions(), in createImages() local 1051 auto lazyYUV = sk_gpu_test::LazyYUVImage::Make(yuvaPixmaps, in createImages() 1213 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(info, pixmaps); in onDraw() local 1215 yuvaPixmaps, in onDraw()
|
/third_party/skia/include/core/ |
D | SkImageGenerator.h | 112 bool getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps);
|
/third_party/skia/experimental/ffmpeg/ |
D | SkVideoDecoder.cpp | 178 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps); in make_yuv_420() local 181 rContext, yuvaPixmaps, GrMipMapped::kNo, false, std::move(cs)); in make_yuv_420()
|
/third_party/skia/include/codec/ |
D | SkCodec.h | 414 Result getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps);
|