Home
last modified time | relevance | path

Searched refs:yuvaPixmaps (Results 1 - 17 of 17) sorted by relevance

/third_party/skia/tests/
H A DYUVCacheTest.cpp43 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()
H A DImageGeneratorTest.cpp75 SkYUVAPixmaps yuvaPixmaps = SkYUVAPixmaps::Allocate(yuvaPixmapInfo); in DEF_TEST() local
76 ig.getYUVAPlanes(yuvaPixmaps); in DEF_TEST()
H A DImageTest.cpp1407 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/
H A DSkImage_Lazy.cpp284 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/
H A DSkImageGenerator.cpp41 bool SkImageGenerator::getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in getYUVAPlanes() argument
42 return this->onGetYUVAPlanes(yuvaPixmaps); in getYUVAPlanes()
/third_party/skia/src/codec/
H A DSkCodecImageGenerator.cpp78 bool SkCodecImageGenerator::onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in onGetYUVAPlanes() argument
79 switch (fCodec->getYUVAPlanes(yuvaPixmaps)) { in onGetYUVAPlanes()
H A DSkCodecImageGenerator.h104 bool onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
H A DSkJpegCodec.h52 Result onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
H A DSkCodec.cpp202 SkCodec::Result SkCodec::getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in getYUVAPlanes() argument
203 if (!yuvaPixmaps.isValid()) { in getYUVAPlanes()
209 return this->onGetYUVAPlanes(yuvaPixmaps); in getYUVAPlanes()
H A DSkJpegCodec.cpp871 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/gm/
H A Dyuv420_odd_dim.cpp112 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps); in DEF_SIMPLE_GM_CAN_FAIL() local
114 yuvaPixmaps, in DEF_SIMPLE_GM_CAN_FAIL()
H A Dwacky_yuv_formats.cpp1043 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); variable
1215 yuvaPixmaps,
/third_party/skia/tools/
H A DDDLPromiseImageHelper.cpp403 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()
H A DDDLPromiseImageHelper.h196 void setYUVPlanes(SkYUVAPixmaps yuvaPixmaps) { fYUVAPixmaps = std::move(yuvaPixmaps); } in setYUVPlanes() argument
/third_party/skia/include/core/
H A DSkImageGenerator.h109 * @param yuvaPixmaps Contains preallocated pixmaps configured according to a successful call
112 bool getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps);
/third_party/skia/experimental/ffmpeg/
H A DSkVideoDecoder.cpp178 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/
H A DSkCodec.h411 * @param yuvaPixmaps Contains preallocated pixmaps configured according to a successful call
414 Result getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps);

Completed in 15 milliseconds