Home
last modified time | relevance | path

Searched refs:SkYUVAPixmapInfo (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/include/core/
DSkYUVAPixmaps.h26 class SK_API SkYUVAPixmapInfo {
90 SkYUVAPixmapInfo() = default;
101 SkYUVAPixmapInfo(const SkYUVAInfo&,
108 SkYUVAPixmapInfo(const SkYUVAInfo&, DataType, const size_t rowBytes[kMaxPlanes]);
110 SkYUVAPixmapInfo(const SkYUVAPixmapInfo&) = default;
112 SkYUVAPixmapInfo& operator=(const SkYUVAPixmapInfo&) = default;
114 bool operator==(const SkYUVAPixmapInfo&) const;
115 bool operator!=(const SkYUVAPixmapInfo& that) const { return !(*this == that); }
173 using DataType = SkYUVAPixmapInfo::DataType;
174 static constexpr auto kMaxPlanes = SkYUVAPixmapInfo::kMaxPlanes;
[all …]
DSkImageGenerator.h101 bool queryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes,
102 SkYUVAPixmapInfo* yuvaPixmapInfo) const;
177 virtual bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes&, in onQueryYUVAInfo()
178 SkYUVAPixmapInfo*) const { return false; } in onQueryYUVAInfo() argument
/third_party/skia/src/core/
DSkYUVAPixmaps.cpp19 SkYUVAPixmapInfo::SupportedDataTypes::SupportedDataTypes(const GrImageContext& context) { in SupportedDataTypes()
42 void SkYUVAPixmapInfo::SupportedDataTypes::enableDataType(DataType type, int numChannels) { in enableDataType()
51 std::tuple<int, SkYUVAPixmapInfo::DataType> SkYUVAPixmapInfo::NumChannelsAndDataType( in NumChannelsAndDataType()
78 SkYUVAPixmapInfo::SkYUVAPixmapInfo(const SkYUVAInfo& yuvaInfo, in SkYUVAPixmapInfo() function in SkYUVAPixmapInfo
119 SkYUVAPixmapInfo::SkYUVAPixmapInfo(const SkYUVAInfo& yuvaInfo, in SkYUVAPixmapInfo() function in SkYUVAPixmapInfo
128 *this = SkYUVAPixmapInfo(yuvaInfo, colorTypes, rowBytes); in SkYUVAPixmapInfo()
131 bool SkYUVAPixmapInfo::operator==(const SkYUVAPixmapInfo& that) const { in operator ==()
139 size_t SkYUVAPixmapInfo::computeTotalBytes(size_t planeSizes[kMaxPlanes]) const { in computeTotalBytes()
149 bool SkYUVAPixmapInfo::initPixmapsFromSingleAllocation(void* memory, in initPixmapsFromSingleAllocation()
170 bool SkYUVAPixmapInfo::isSupported(const SupportedDataTypes& supportedDataTypes) const { in isSupported()
[all …]
DSkImageGenerator.cpp33 bool SkImageGenerator::queryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes, in queryYUVAInfo()
34 SkYUVAPixmapInfo* yuvaPixmapInfo) const { in queryYUVAInfo()
/third_party/skia/tests/
DImageGeneratorTest.cpp64 SkYUVAPixmapInfo yuvaPixmapInfo; in DEF_TEST()
67 ig.queryYUVAInfo(SkYUVAPixmapInfo::SupportedDataTypes::All(), &yuvaPixmapInfo); in DEF_TEST()
72 yuvaPixmapInfo = SkYUVAPixmapInfo(yuvaInfo, in DEF_TEST()
73 SkYUVAPixmapInfo::DataType::kUnorm8, in DEF_TEST()
DYUVTest.cpp30 SkYUVAPixmapInfo yuvaPixmapInfo; in codec_yuv()
32 static constexpr auto kAllTypes = SkYUVAPixmapInfo::SupportedDataTypes::All(); in codec_yuv()
33 static constexpr auto kNoTypes = SkYUVAPixmapInfo::SupportedDataTypes(); in codec_yuv()
58 auto [numChannels, planeDataType] = SkYUVAPixmapInfo::NumChannelsAndDataType(planeCT); in codec_yuv()
DYUVCacheTest.cpp40 SkYUVAPixmapInfo yuvaPixmapInfo(yuvaInfo, in DEF_TEST()
41 SkYUVAPixmapInfo::DataType::kUnorm8, in DEF_TEST()
/third_party/skia/src/codec/
DSkCodecImageGenerator.h101 bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes&,
102 SkYUVAPixmapInfo*) const override;
DSkJpegCodec.cpp747 const SkYUVAPixmapInfo::SupportedDataTypes* supportedDataTypes, in is_yuv_supported()
748 SkYUVAPixmapInfo* yuvaPixmapInfo) { in is_yuv_supported()
816 SkYUVAPixmapInfo::DataType::kUnorm8)) { in is_yuv_supported()
820 SkColorType colorTypes[SkYUVAPixmapInfo::kMaxPlanes]; in is_yuv_supported()
821 size_t rowBytes[SkYUVAPixmapInfo::kMaxPlanes]; in is_yuv_supported()
833 *yuvaPixmapInfo = SkYUVAPixmapInfo(yuvaInfo, colorTypes, rowBytes); in is_yuv_supported()
838 bool SkJpegCodec::onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes, in onQueryYUVAInfo()
839 SkYUVAPixmapInfo* yuvaPixmapInfo) const { in onQueryYUVAInfo()
869 SkYUVAPixmapInfo info; in onGetYUVAPlanes()
DSkJpegCodec.h49 bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes&,
50 SkYUVAPixmapInfo*) const override;
DSkCodecImageGenerator.cpp73 const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes, in onQueryYUVAInfo()
74 SkYUVAPixmapInfo* yuvaPixmapInfo) const { in onQueryYUVAInfo()
DSkCodec.cpp193 bool SkCodec::queryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes, in queryYUVAInfo()
194 SkYUVAPixmapInfo* yuvaPixmapInfo) const { in queryYUVAInfo()
/third_party/skia/include/codec/
DSkCodec.h403 bool queryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes,
404 SkYUVAPixmapInfo* yuvaPixmapInfo) const;
774 virtual bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes&, in onQueryYUVAInfo()
775 SkYUVAPixmapInfo*) const { return false; } in onQueryYUVAInfo() argument
/third_party/skia/tools/gpu/
DYUVUtils.cpp114 bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& types, in onQueryYUVAInfo()
115 SkYUVAPixmapInfo* info) const override { in onQueryYUVAInfo()
228 SkYUVAPixmapInfo yuvaPixmapInfo; in reset()
229 if (!codec->queryYUVAInfo(SkYUVAPixmapInfo::SupportedDataTypes::All(), &yuvaPixmapInfo)) { in reset()
/third_party/skia/tools/
DDDLPromiseImageHelper.h109 DDLPromiseImageHelper(const SkYUVAPixmapInfo::SupportedDataTypes& supportedYUVADataTypes) in DDLPromiseImageHelper()
238 SkYUVAPixmapInfo::SupportedDataTypes fSupportedYUVADataTypes;
DDDLPromiseImageHelper.cpp401 SkYUVAPixmapInfo yuvaInfo; in addImage()
/third_party/skia/src/image/
DSkImage_Lazy.cpp283 SkYUVAPixmapInfo::SupportedDataTypes supportedDataTypes(*ctx); in textureProxyViewFromPlanes()
376 const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes, in getPlanes()
387 SkYUVAPixmapInfo yuvaPixmapInfo; in getPlanes()
DSkImage_Lazy.h82 sk_sp<SkCachedData> getPlanes(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes,
DSkImage_GpuYUVA.cpp293 SkYUVAPixmapInfo newPixmapInfo(newInfo, pixmaps.dataType(), /*row bytes*/ nullptr); in MakeFromYUVAPixmaps()
/third_party/skia/gm/
Dimagefromyuvtextures.cpp60 SkYUVAPixmapInfo pixmapInfo({bmp.dimensions(), in CreatePlanes()
64 SkYUVAPixmapInfo::DataType::kUnorm8, in CreatePlanes()
Dyuvtorgbsubset.cpp62 SkYUVAPixmapInfo pmapInfo(yuvaInfo, colorTypes, nullptr); in makePixmaps()
/third_party/skia/tools/skpbench/
Dskpbench.cpp265 SkYUVAPixmapInfo::SupportedDataTypes supportedYUVADataTypes(*dContext); in run_ddl_benchmark()
/third_party/skia/dm/
DDMSrcSink.cpp1824 SkYUVAPixmapInfo::SupportedDataTypes supportedYUVADataTypes(*dContext); in ddlDraw()