/external/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()
|
/external/skia/src/image/ |
D | SkImage_Lazy.cpp | 280 SkYUVAPixmaps yuvaPixmaps; in textureProxyViewFromPlanes() local 281 sk_sp<SkCachedData> dataStorage = this->getPlanes(supportedDataTypes, &yuvaPixmaps); in textureProxyViewFromPlanes() 288 for (int i = 0; i < yuvaPixmaps.numPlanes(); ++i) { in textureProxyViewFromPlanes() 292 SkBackingFit fit = yuvaPixmaps.plane(i).dimensions() == this->dimensions() in textureProxyViewFromPlanes() 308 bitmap.installPixels(yuvaPixmaps.plane(i).info(), in textureProxyViewFromPlanes() 309 yuvaPixmaps.plane(i).writable_addr(), in textureProxyViewFromPlanes() 310 yuvaPixmaps.plane(i).rowBytes(), in textureProxyViewFromPlanes() 342 GrYUVATextureProxies yuvaProxies(yuvaPixmaps.yuvaInfo(), views, pixmapColorTypes); in textureProxyViewFromPlanes() 373 SkYUVAPixmaps* yuvaPixmaps) const { in getPlanes() 376 sk_sp<SkCachedData> data(SkYUVPlanesCache::FindAndRef(generator->uniqueID(), yuvaPixmaps)); in getPlanes() [all …]
|
/external/skqp/src/image/ |
D | SkImage_GpuYUVA.cpp | 189 GrContext* context, SkYUVColorSpace yuvColorSpace, const SkPixmap yuvaPixmaps[], in MakeFromYUVAPixmaps() argument 201 const SkPixmap* pixmap = &yuvaPixmaps[i]; in MakeFromYUVAPixmaps() 204 int maxDim = SkTMax(yuvaPixmaps[i].width(), yuvaPixmaps[i].height()); in MakeFromYUVAPixmaps() 207 int newWidth = SkTMin(static_cast<int>(yuvaPixmaps[i].width() * scale), in MakeFromYUVAPixmaps() 209 int newHeight = SkTMin(static_cast<int>(yuvaPixmaps[i].height() * scale), in MakeFromYUVAPixmaps() 211 SkImageInfo info = yuvaPixmaps[i].info().makeWH(newWidth, newHeight); in MakeFromYUVAPixmaps() 213 !yuvaPixmaps[i].scalePixels(resized, kLow_SkFilterQuality)) { in MakeFromYUVAPixmaps()
|
/external/skia/src/core/ |
D | SkImageGenerator.cpp | 41 bool SkImageGenerator::getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in getYUVAPlanes() argument 42 return this->onGetYUVAPlanes(yuvaPixmaps); in getYUVAPlanes()
|
/external/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 | 50 Result onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
|
D | SkCodec.cpp | 185 SkCodec::Result SkCodec::getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in getYUVAPlanes() argument 186 if (!yuvaPixmaps.isValid()) { in getYUVAPlanes() 192 return this->onGetYUVAPlanes(yuvaPixmaps); in getYUVAPlanes()
|
D | SkJpegCodec.cpp | 845 SkCodec::Result SkJpegCodec::onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in onGetYUVAPlanes() argument 862 const std::array<SkPixmap, SkYUVAPixmaps::kMaxPlanes>& planes = yuvaPixmaps.planes(); in onGetYUVAPlanes() 872 SkASSERT(info.yuvaInfo() == yuvaPixmaps.yuvaInfo()); in onGetYUVAPlanes()
|
/external/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 | 195 void setYUVPlanes(SkYUVAPixmaps yuvaPixmaps) { fYUVAPixmaps = std::move(yuvaPixmaps); } in setYUVPlanes() argument
|
/external/skia/include/core/ |
D | SkImageGenerator.h | 112 bool getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps);
|
/external/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()
|
/external/skia/gm/ |
D | wacky_yuv_formats.cpp | 1046 auto yuvaPixmaps = planarConfig.makeYUVAPixmaps(fOriginalBMs[opaque].dimensions(), in createImages() local 1054 auto lazyYUV = sk_gpu_test::LazyYUVImage::Make(yuvaPixmaps, in createImages() 1242 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, fPM); in onDraw() local 1244 yuvaPixmaps, in onDraw()
|
/external/skia/include/codec/ |
D | SkCodec.h | 414 Result getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps);
|
/external/skqp/include/core/ |
D | SkImage.h | 459 GrContext* context, SkYUVColorSpace yuvColorSpace, const SkPixmap yuvaPixmaps[],
|
/external/skqp/gm/ |
D | wacky_yuv_formats.cpp | 795 SkPixmap yuvaPixmaps[4]; in createImages() local 803 yuvaPixmaps[i] = resultBMs[i].pixmap(); in createImages() 831 yuvaPixmaps, in createImages()
|
/external/skqp/site/user/api/ |
D | SkImage_Reference.md | 80 …lorSpace</a> yuvColorSpace, const <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> yuvaPixmaps[], 1002 …lorSpace</a> yuvColorSpace, const <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> yuvaPixmaps[], 1011 …re</a> created from <a href='#SkImage_MakeFromYUVAPixmaps_yuvaPixmaps'>yuvaPixmaps</a> array is up… 1033 <table> <tr> <td><a name='SkImage_MakeFromYUVAPixmaps_yuvaPixmaps'><code><strong>yuvaPixmaps</s… 1043 …xmap'>pixmap</a> in <a href='#SkImage_MakeFromYUVAPixmaps_yuvaPixmaps'>yuvaPixmaps</a>, and channe…
|
/external/skqp/docs/ |
D | SkImage_Reference.bmh | 505 const SkPixmap yuvaPixmaps[],
|