Home
last modified time | relevance | path

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

12

/external/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
DSkImage.h36 class SkYUVAPixmaps; variable
416 const SkYUVAPixmaps& pixmaps,
/external/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()
/external/skia/tools/gpu/
DYUVUtils.h30 static std::unique_ptr<LazyYUVImage> Make(SkYUVAPixmaps,
42 SkYUVAPixmaps fPixmaps;
54 bool reset(SkYUVAPixmaps pixmaps, GrMipmapped, sk_sp<SkColorSpace>);
DYUVUtils.cpp51 Generator(SkYUVAPixmaps pixmaps, sk_sp<SkColorSpace> cs) in Generator()
117 bool onGetYUVAPlanes(const SkYUVAPixmaps& pixmaps) override { in onGetYUVAPlanes()
129 SkYUVAPixmaps fPixmaps;
148 std::unique_ptr<LazyYUVImage> LazyYUVImage::Make(SkYUVAPixmaps pixmaps, in Make()
180 fPixmaps = SkYUVAPixmaps::Allocate(yuvaPixmapInfo); in reset()
195 bool LazyYUVImage::reset(SkYUVAPixmaps pixmaps, GrMipmapped mipmapped, sk_sp<SkColorSpace> cs) { in reset()
203 fPixmaps = SkYUVAPixmaps::MakeCopy(std::move(pixmaps)); in reset()
/external/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()
/external/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.cpp280 SkYUVAPixmaps yuvaPixmaps; in textureProxyViewFromPlanes()
373 SkYUVAPixmaps* yuvaPixmaps) const { in getPlanes()
389 SkYUVAPixmaps tempPixmaps = SkYUVAPixmaps::FromExternalMemory(yuvaPixmapInfo, in getPlanes()
DSkImage_Lazy.h83 SkYUVAPixmaps* pixmaps) const;
/external/skia/gm/
Dyuvtorgbsubset.cpp63 fPixmaps = SkYUVAPixmaps::Allocate(pmapInfo); in makePixmaps()
164 SkYUVAPixmaps fPixmaps;
Dwacky_yuv_formats.cpp182 SkYUVAPixmaps makeYUVAPixmaps(SkISize dimensions,
193 SkYUVAPixmaps YUVAPlanarConfig::makeYUVAPixmaps(SkISize dimensions, in makeYUVAPixmaps()
206 return SkYUVAPixmaps::FromExternalPixmaps(info, pmaps); in makeYUVAPixmaps()
846 SkYUVAPixmaps pixmaps = in createImages()
1242 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, fPM); in onDraw()
Dimagefromyuvtextures.cpp68 auto pixmaps = SkYUVAPixmaps::Allocate(pixmapInfo); in CreatePlanes()
/external/skia/tools/
DDDLPromiseImageHelper.h195 void setYUVPlanes(SkYUVAPixmaps yuvaPixmaps) { fYUVAPixmaps = std::move(yuvaPixmaps); } in setYUVPlanes()
208 SkYUVAPixmaps fYUVAPixmaps;
/external/skia/src/codec/
DSkCodecImageGenerator.h104 bool onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
DSkJpegCodec.h50 Result onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
DSkCodecImageGenerator.cpp78 bool SkCodecImageGenerator::onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in onGetYUVAPlanes()
DSkJpegCodec.cpp845 SkCodec::Result SkJpegCodec::onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in onGetYUVAPlanes()
862 const std::array<SkPixmap, SkYUVAPixmaps::kMaxPlanes>& planes = yuvaPixmaps.planes(); in onGetYUVAPlanes()
/external/skia/include/codec/
DSkCodec.h414 Result getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps);
777 virtual Result onGetYUVAPlanes(const SkYUVAPixmaps&) { return kUnimplemented; } in onGetYUVAPlanes() argument
/external/skia/experimental/ffmpeg/
DSkVideoDecoder.cpp178 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps); in make_yuv_420()

12