/third_party/skia/include/core/ |
H A D | SkYUVAPixmaps.h | 171 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 D | SkImageGenerator.h | 15 #include "include/core/SkYUVAPixmaps.h" 112 bool getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps); 179 virtual bool onGetYUVAPlanes(const SkYUVAPixmaps&) { return false; } in onGetYUVAPlanes() argument
|
H A D | SkImage.h | 38 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 D | SkYUVAPixmaps.cpp | 8 #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 D | SkYUVPlanesCache.h | 15 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 D | SkYUVPlanesCache.cpp | 10 #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 D | SkImageGenerator.cpp | 41 bool SkImageGenerator::getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in getYUVAPlanes()
|
/third_party/skia/tools/gpu/ |
H A D | YUVUtils.h | 12 #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 D | YUVUtils.cpp | 54 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 D | YUVCacheTest.cpp | 9 #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 D | ImageGeneratorTest.cpp | 75 SkYUVAPixmaps yuvaPixmaps = SkYUVAPixmaps::Allocate(yuvaPixmapInfo); in DEF_TEST()
|
H A D | YUVTest.cpp | 69 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 D | yuvtorgbsubset.cpp | 20 #include "include/core/SkYUVAPixmaps.h" 63 fPixmaps = SkYUVAPixmaps::Allocate(pmapInfo); in makePixmaps() 168 SkYUVAPixmaps fPixmaps;
|
H A D | yuv420_odd_dim.cpp | 112 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps); in DEF_SIMPLE_GM_CAN_FAIL()
|
H A D | wacky_yuv_formats.cpp | 179 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 D | imagefromyuvtextures.cpp | 66 auto pixmaps = SkYUVAPixmaps::Allocate(pixmapInfo); in CreatePlanes()
|
/third_party/skia/src/image/ |
H A D | SkImage_Lazy.cpp | 284 SkYUVAPixmaps yuvaPixmaps; in textureProxyViewFromPlanes() 377 SkYUVAPixmaps* yuvaPixmaps) const { in getPlanes() 393 SkYUVAPixmaps tempPixmaps = SkYUVAPixmaps::FromExternalMemory(yuvaPixmapInfo, in getPlanes()
|
H A D | SkImage_GpuYUVA.cpp | 12 #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 D | SkImage_Lazy.h | 16 #include "include/core/SkYUVAPixmaps.h" 83 SkYUVAPixmaps* pixmaps) const;
|
/third_party/skia/tools/ |
H A D | DDLPromiseImageHelper.h | 15 #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 D | SkCodecImageGenerator.h | 104 bool onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
|
H A D | SkJpegCodec.h | 52 Result onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) override;
|
H A D | SkCodecImageGenerator.cpp | 78 bool SkCodecImageGenerator::onGetYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in onGetYUVAPlanes()
|
H A D | SkJpegCodec.cpp | 871 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 D | SkCodec.h | 20 #include "include/core/SkYUVAPixmaps.h" 414 Result getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps); 779 virtual Result onGetYUVAPlanes(const SkYUVAPixmaps&) { return kUnimplemented; } in onGetYUVAPlanes() argument
|