Home
last modified time | relevance | path

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

/external/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
/external/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()
/external/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()
/external/skia/src/codec/
DSkCodecImageGenerator.h101 bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes&,
102 SkYUVAPixmapInfo*) const override;
DSkJpegCodec.h47 bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes&,
48 SkYUVAPixmapInfo*) const override;
DSkJpegCodec.cpp748 const SkYUVAPixmapInfo::SupportedDataTypes* supportedDataTypes, in is_yuv_supported()
749 SkYUVAPixmapInfo* yuvaPixmapInfo) { in is_yuv_supported()
817 SkYUVAPixmapInfo::DataType::kUnorm8)) { in is_yuv_supported()
821 SkColorType colorTypes[SkYUVAPixmapInfo::kMaxPlanes]; in is_yuv_supported()
822 size_t rowBytes[SkYUVAPixmapInfo::kMaxPlanes]; in is_yuv_supported()
834 *yuvaPixmapInfo = SkYUVAPixmapInfo(yuvaInfo, colorTypes, rowBytes); in is_yuv_supported()
839 bool SkJpegCodec::onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes, in onQueryYUVAInfo()
840 SkYUVAPixmapInfo* yuvaPixmapInfo) const { in onQueryYUVAInfo()
870 SkYUVAPixmapInfo info; in onGetYUVAPlanes()
DSkCodecImageGenerator.cpp73 const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes, in onQueryYUVAInfo()
74 SkYUVAPixmapInfo* yuvaPixmapInfo) const { in onQueryYUVAInfo()
DSkCodec.cpp176 bool SkCodec::queryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes, in queryYUVAInfo()
177 SkYUVAPixmapInfo* yuvaPixmapInfo) const { in queryYUVAInfo()
/external/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
/external/skia/tools/gpu/
DYUVUtils.cpp111 bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& types, in onQueryYUVAInfo()
112 SkYUVAPixmapInfo* info) const override { in onQueryYUVAInfo()
176 SkYUVAPixmapInfo yuvaPixmapInfo; in reset()
177 if (!codec->queryYUVAInfo(SkYUVAPixmapInfo::SupportedDataTypes::All(), &yuvaPixmapInfo)) { in reset()
/external/skia/tools/
DDDLPromiseImageHelper.h108 DDLPromiseImageHelper(const SkYUVAPixmapInfo::SupportedDataTypes& supportedYUVADataTypes) in DDLPromiseImageHelper()
237 SkYUVAPixmapInfo::SupportedDataTypes fSupportedYUVADataTypes;
DDDLPromiseImageHelper.cpp401 SkYUVAPixmapInfo yuvaInfo; in addImage()
/external/skia/src/image/
DSkImage_Lazy.cpp279 SkYUVAPixmapInfo::SupportedDataTypes supportedDataTypes(*ctx); in textureProxyViewFromPlanes()
372 const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes, in getPlanes()
383 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()
/external/skia/gm/
Dimagefromyuvtextures.cpp62 SkYUVAPixmapInfo pixmapInfo({bmp.dimensions(), in CreatePlanes()
66 SkYUVAPixmapInfo::DataType::kUnorm8, in CreatePlanes()
Dyuvtorgbsubset.cpp62 SkYUVAPixmapInfo pmapInfo(yuvaInfo, colorTypes, nullptr); in makePixmaps()
/external/skia/experimental/ddlbench/
Dddlbench.cpp363 SkYUVAPixmapInfo::SupportedDataTypes supportedYUVADTypes(*mainContext->fDirectContext); in main()
/external/skia/tools/skpbench/
Dskpbench.cpp264 SkYUVAPixmapInfo::SupportedDataTypes supportedYUVADataTypes(*dContext); in run_ddl_benchmark()
/external/skia/dm/
DDMSrcSink.cpp1813 SkYUVAPixmapInfo::SupportedDataTypes supportedYUVADataTypes(*dContext); in ddlDraw()