Home
last modified time | relevance | path

Searched refs:SkYUVAPixmaps (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/include/core/
DSkYUVAPixmaps.h171 class SK_API SkYUVAPixmaps {
179 static SkYUVAPixmaps Allocate(const SkYUVAPixmapInfo& yuvaPixmapInfo);
185 static SkYUVAPixmaps FromData(const SkYUVAPixmapInfo&, sk_sp<SkData>);
191 static SkYUVAPixmaps MakeCopy(const SkYUVAPixmaps& src);
198 static SkYUVAPixmaps FromExternalMemory(const SkYUVAPixmapInfo&, void* memory);
206 static SkYUVAPixmaps FromExternalPixmaps(const SkYUVAInfo&, const SkPixmap[kMaxPlanes]);
209 SkYUVAPixmaps() = default;
210 ~SkYUVAPixmaps() = default;
212 SkYUVAPixmaps(SkYUVAPixmaps&& that) = default;
213 SkYUVAPixmaps& operator=(SkYUVAPixmaps&& that) = default;
[all …]
DSkImageGenerator.h112 bool getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps);
179 virtual bool onGetYUVAPlanes(const SkYUVAPixmaps&) { return false; } in onGetYUVAPlanes() argument
DBUILD.bazel96 "SkYUVAPixmaps.h",
DSkImage.h38 class SkYUVAPixmaps; variable
444 const SkYUVAPixmaps& pixmaps,
/third_party/skia/src/core/
DSkYUVAPixmaps.cpp179 SkColorType SkYUVAPixmaps::RecommendedRGBAColorType(DataType dataType) { in RecommendedRGBAColorType()
191 SkYUVAPixmaps SkYUVAPixmaps::Allocate(const SkYUVAPixmapInfo& yuvaPixmapInfo) { in Allocate()
195 return SkYUVAPixmaps(yuvaPixmapInfo, in Allocate()
199 SkYUVAPixmaps SkYUVAPixmaps::FromData(const SkYUVAPixmapInfo& yuvaPixmapInfo, sk_sp<SkData> data) { in FromData()
206 return SkYUVAPixmaps(yuvaPixmapInfo, std::move(data)); in FromData()
209 SkYUVAPixmaps SkYUVAPixmaps::MakeCopy(const SkYUVAPixmaps& src) { in MakeCopy()
213 SkYUVAPixmaps result = Allocate(src.pixmapsInfo()); in MakeCopy()
230 SkYUVAPixmaps SkYUVAPixmaps::FromExternalMemory(const SkYUVAPixmapInfo& yuvaPixmapInfo, in FromExternalMemory()
237 return SkYUVAPixmaps(yuvaPixmapInfo.yuvaInfo(), yuvaPixmapInfo.dataType(), pixmaps); in FromExternalMemory()
240 SkYUVAPixmaps SkYUVAPixmaps::FromExternalPixmaps(const SkYUVAInfo& yuvaInfo, in FromExternalPixmaps()
[all …]
DSkYUVPlanesCache.h15 class SkYUVAPixmaps; variable
27 SkYUVAPixmaps* pixmaps,
34 static void Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps,
DSkYUVPlanesCache.cpp22 SkYUVAPixmaps fPixmaps;
38 YUVPlanesRec(YUVPlanesKey key, SkCachedData* data, const SkYUVAPixmaps& pixmaps) in YUVPlanesRec()
77 SkYUVAPixmaps* pixmaps, in FindAndRef()
89 void SkYUVPlanesCache::Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps, in Add()
DSkImageGenerator.cpp41 bool SkImageGenerator::getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in getYUVAPlanes()
/third_party/skia/tools/gpu/
DYUVUtils.h42 static std::unique_ptr<LazyYUVImage> Make(SkYUVAPixmaps,
54 SkYUVAPixmaps fPixmaps;
66 bool reset(SkYUVAPixmaps pixmaps, GrMipmapped, sk_sp<SkColorSpace>);
DYUVUtils.cpp54 Generator(SkYUVAPixmaps pixmaps, sk_sp<SkColorSpace> cs) in Generator()
120 bool onGetYUVAPlanes(const SkYUVAPixmaps& pixmaps) override { in onGetYUVAPlanes()
132 SkYUVAPixmaps fPixmaps;
200 std::unique_ptr<LazyYUVImage> LazyYUVImage::Make(SkYUVAPixmaps pixmaps, in Make()
232 fPixmaps = SkYUVAPixmaps::Allocate(yuvaPixmapInfo); in reset()
247 bool LazyYUVImage::reset(SkYUVAPixmaps pixmaps, GrMipmapped mipmapped, sk_sp<SkColorSpace> cs) { in reset()
255 fPixmaps = SkYUVAPixmaps::MakeCopy(std::move(pixmaps)); in reset()
/third_party/skia/tests/
DYUVCacheTest.cpp43 SkYUVAPixmaps yuvaPixmaps; in DEF_TEST()
55 yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pmaps); in DEF_TEST()
63 SkYUVAPixmaps yuvaPixmapsRead; in DEF_TEST()
DImageGeneratorTest.cpp75 SkYUVAPixmaps yuvaPixmaps = SkYUVAPixmaps::Allocate(yuvaPixmapInfo); in DEF_TEST()
DYUVTest.cpp69 auto pixmaps = SkYUVAPixmaps::Allocate(yuvaPixmapInfo); in codec_yuv()
72 for (int i = 0; i < SkYUVAPixmaps::kMaxPlanes; ++i) { in codec_yuv()
/third_party/skia/src/image/
DSkImage_GpuYUVA.cpp259 const SkYUVAPixmaps& pixmaps, in MakeFromYUVAPixmaps()
280 SkYUVAPixmaps tempPixmaps; in MakeFromYUVAPixmaps()
281 const SkYUVAPixmaps* pixmapsToUpload = &pixmaps; in MakeFromYUVAPixmaps()
294 tempPixmaps = SkYUVAPixmaps::Allocate(newPixmapInfo); in MakeFromYUVAPixmaps()
DSkImage_Lazy.cpp284 SkYUVAPixmaps yuvaPixmaps; in textureProxyViewFromPlanes()
377 SkYUVAPixmaps* yuvaPixmaps) const { in getPlanes()
393 SkYUVAPixmaps tempPixmaps = SkYUVAPixmaps::FromExternalMemory(yuvaPixmapInfo, in getPlanes()
DSkImage_Lazy.h83 SkYUVAPixmaps* pixmaps) const;
/third_party/skia/gm/
Dyuvtorgbsubset.cpp63 fPixmaps = SkYUVAPixmaps::Allocate(pmapInfo); in makePixmaps()
168 SkYUVAPixmaps fPixmaps;
Dwacky_yuv_formats.cpp179 SkYUVAPixmaps makeYUVAPixmaps(SkISize dimensions,
190 SkYUVAPixmaps YUVAPlanarConfig::makeYUVAPixmaps(SkISize dimensions, in makeYUVAPixmaps()
203 return SkYUVAPixmaps::FromExternalPixmaps(info, pmaps); in makeYUVAPixmaps()
843 SkYUVAPixmaps pixmaps = in createImages()
1213 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(info, pixmaps); in onDraw()
Dyuv420_odd_dim.cpp112 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps);
Dimagefromyuvtextures.cpp66 auto pixmaps = SkYUVAPixmaps::Allocate(pixmapInfo); in CreatePlanes()
/third_party/skia/tools/
DDDLPromiseImageHelper.h196 void setYUVPlanes(SkYUVAPixmaps yuvaPixmaps) { fYUVAPixmaps = std::move(yuvaPixmaps); } in setYUVPlanes()
209 SkYUVAPixmaps fYUVAPixmaps;
/third_party/skia/src/codec/
DSkCodecImageGenerator.h104 bool onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
DSkJpegCodec.h52 Result onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
DSkCodecImageGenerator.cpp78 bool SkCodecImageGenerator::onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in onGetYUVAPlanes()
/third_party/skia/include/codec/
DSkCodec.h414 Result getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps);
777 virtual Result onGetYUVAPlanes(const SkYUVAPixmaps&) { return kUnimplemented; } in onGetYUVAPlanes() argument

12