Home
last modified time | relevance | path

Searched refs:SkYUVAPixmaps (Results 1 - 25 of 30) sorted by relevance

12

/third_party/skia/include/core/
H A DSkYUVAPixmaps.h171 class SK_API SkYUVAPixmaps { class in SkYUVAPixmapInfo
178 /** Allocate space for pixmaps' pixels in the SkYUVAPixmaps. */
179 static SkYUVAPixmaps Allocate(const SkYUVAPixmapInfo& yuvaPixmapInfo);
183 * SkYUVAPixmaps.
185 static SkYUVAPixmaps FromData(const SkYUVAPixmapInfo&, sk_sp<SkData>);
188 * Makes a deep copy of the src SkYUVAPixmaps. The returned SkYUVAPixmaps owns its planes'
191 static SkYUVAPixmaps MakeCopy(const SkYUVAPixmaps& src);
198 static SkYUVAPixmaps FromExternalMemor
[all...]
H A DSkImageGenerator.h15 #include "include/core/SkYUVAPixmaps.h"
112 bool getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps);
179 virtual bool onGetYUVAPlanes(const SkYUVAPixmaps&) { return false; } in onGetYUVAPlanes() argument
H A DSkImage.h38 class SkYUVAPixmaps;
423 /** Creates SkImage from SkYUVAPixmaps.
428 SkYUVAPixmaps has a SkYUVAInfo which specifies the transformation from YUV to RGB.
435 SkYUVAPixmaps does not need to remain valid after this returns.
447 const SkYUVAPixmaps& pixmaps,
/third_party/skia/src/core/
H A DSkYUVAPixmaps.cpp8 #include "include/core/SkYUVAPixmaps.h"
179 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
256 SkYUVAPixmaps::SkYUVAPixmaps(const SkYUVAPixmapInfo& yuvaPixmapInfo, sk_sp<SkData> data) SkYUVAPixmaps() function in SkYUVAPixmaps
266 SkYUVAPixmaps::SkYUVAPixmaps(const SkYUVAInfo& yuvaInfo, SkYUVAPixmaps() function in SkYUVAPixmaps
[all...]
H A DSkYUVPlanesCache.h15 class SkYUVAPixmaps;
20 * On success, return a ref to the SkCachedData that holds the pixel data. The SkYUVAPixmaps
27 SkYUVAPixmaps* pixmaps,
31 * Add a pixelRef ID and its YUV planes data to the cache. The SkYUVAPixmaps should contain
34 static void Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps,
H A DSkYUVPlanesCache.cpp10 #include "include/core/SkYUVAPixmaps.h"
22 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()
H A DSkImageGenerator.cpp41 bool SkImageGenerator::getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in getYUVAPlanes()
/third_party/skia/tools/gpu/
H A DYUVUtils.h12 #include "include/core/SkYUVAPixmaps.h"
42 static std::unique_ptr<LazyYUVImage> Make(SkYUVAPixmaps,
54 SkYUVAPixmaps fPixmaps;
66 bool reset(SkYUVAPixmaps pixmaps, GrMipmapped, sk_sp<SkColorSpace>);
H A DYUVUtils.cpp54 Generator(SkYUVAPixmaps pixmaps, sk_sp<SkColorSpace> cs) in Generator()
120 bool onGetYUVAPlanes(const SkYUVAPixmaps& pixmaps) override {
132 SkYUVAPixmaps fPixmaps;
200 std::unique_ptr<LazyYUVImage> LazyYUVImage::Make(SkYUVAPixmaps pixmaps, in Make()
232 fPixmaps = SkYUVAPixmaps::Allocate(yuvaPixmapInfo);
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/
H A DYUVCacheTest.cpp9 #include "include/core/SkYUVAPixmaps.h"
43 SkYUVAPixmaps yuvaPixmaps; in DEF_TEST()
55 yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pmaps); in DEF_TEST()
63 SkYUVAPixmaps yuvaPixmapsRead; in DEF_TEST()
H A DImageGeneratorTest.cpp75 SkYUVAPixmaps yuvaPixmaps = SkYUVAPixmaps::Allocate(yuvaPixmapInfo); in DEF_TEST()
H A 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/gm/
H A Dyuvtorgbsubset.cpp20 #include "include/core/SkYUVAPixmaps.h"
63 fPixmaps = SkYUVAPixmaps::Allocate(pmapInfo); in makePixmaps()
168 SkYUVAPixmaps fPixmaps;
H A Dyuv420_odd_dim.cpp112 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps); in DEF_SIMPLE_GM_CAN_FAIL()
H A 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);
H A Dimagefromyuvtextures.cpp66 auto pixmaps = SkYUVAPixmaps::Allocate(pixmapInfo); in CreatePlanes()
/third_party/skia/src/image/
H A DSkImage_Lazy.cpp284 SkYUVAPixmaps yuvaPixmaps; in textureProxyViewFromPlanes()
377 SkYUVAPixmaps* yuvaPixmaps) const { in getPlanes()
393 SkYUVAPixmaps tempPixmaps = SkYUVAPixmaps::FromExternalMemory(yuvaPixmapInfo, in getPlanes()
H A DSkImage_GpuYUVA.cpp12 #include "include/core/SkYUVAPixmaps.h"
259 const SkYUVAPixmaps& pixmaps, in MakeFromYUVAPixmaps()
280 SkYUVAPixmaps tempPixmaps; in MakeFromYUVAPixmaps()
281 const SkYUVAPixmaps* pixmapsToUpload = &pixmaps; in MakeFromYUVAPixmaps()
294 tempPixmaps = SkYUVAPixmaps::Allocate(newPixmapInfo); in MakeFromYUVAPixmaps()
H A DSkImage_Lazy.h16 #include "include/core/SkYUVAPixmaps.h"
83 SkYUVAPixmaps* pixmaps) const;
/third_party/skia/tools/
H A DDDLPromiseImageHelper.h15 #include "include/core/SkYUVAPixmaps.h"
196 void setYUVPlanes(SkYUVAPixmaps yuvaPixmaps) { fYUVAPixmaps = std::move(yuvaPixmaps); } in setYUVPlanes()
209 SkYUVAPixmaps fYUVAPixmaps;
/third_party/skia/src/codec/
H A DSkCodecImageGenerator.h104 bool onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
H A DSkJpegCodec.h52 Result onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
H A DSkCodecImageGenerator.cpp78 bool SkCodecImageGenerator::onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in onGetYUVAPlanes()
H A DSkJpegCodec.cpp871 SkCodec::Result SkJpegCodec::onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in onGetYUVAPlanes()
888 const std::array<SkPixmap, SkYUVAPixmaps::kMaxPlanes>& planes = yuvaPixmaps.planes(); in onGetYUVAPlanes()
/third_party/skia/include/codec/
H A DSkCodec.h20 #include "include/core/SkYUVAPixmaps.h"
414 Result getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps);
779 virtual Result onGetYUVAPlanes(const SkYUVAPixmaps&) { return kUnimplemented; } in onGetYUVAPlanes() argument

Completed in 15 milliseconds

12