Home
last modified time | relevance | path

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

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/include/core/
H A DSkYUVAPixmaps.h28 class SK_API SkYUVAPixmapInfo {
96 SkYUVAPixmapInfo() = default;
107 SkYUVAPixmapInfo(const SkYUVAInfo&,
116 SkYUVAPixmapInfo(const SkYUVAPixmapInfo&) = default;
118 SkYUVAPixmapInfo& operator=(const SkYUVAPixmapInfo&) = default;
120 bool operator==(const SkYUVAPixmapInfo&) const;
179 using DataType = SkYUVAPixmapInfo::DataType;
180 static constexpr auto kMaxPlanes = SkYUVAPixmapInfo::kMaxPlanes;
230 SkYUVAPixmapInfo pixmapsInfo() const;
262 SkYUVAPixmaps(const SkYUVAPixmapInfo&, sk_sp<SkData>);
[all …]
H A DSkImageGenerator.h103 bool queryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes,
104 SkYUVAPixmapInfo* yuvaPixmapInfo) const;
179 virtual bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes&, in onQueryYUVAInfo()
180 SkYUVAPixmapInfo*) const { return false; } in onQueryYUVAInfo() argument
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/core/
H A DSkYUVAPixmaps.cpp20 SkYUVAPixmapInfo::SupportedDataTypes::SupportedDataTypes(const GrImageContext& context) { in SupportedDataTypes()
52 std::tuple<int, SkYUVAPixmapInfo::DataType> SkYUVAPixmapInfo::NumChannelsAndDataType( in NumChannelsAndDataType()
79 SkYUVAPixmapInfo::SkYUVAPixmapInfo(const SkYUVAInfo& yuvaInfo, in SkYUVAPixmapInfo() function in SkYUVAPixmapInfo
120 SkYUVAPixmapInfo::SkYUVAPixmapInfo(const SkYUVAInfo& yuvaInfo, in SkYUVAPixmapInfo() function in SkYUVAPixmapInfo
129 *this = SkYUVAPixmapInfo(yuvaInfo, colorTypes, rowBytes); in SkYUVAPixmapInfo()
132 bool SkYUVAPixmapInfo::operator==(const SkYUVAPixmapInfo& that) const { in operator ==()
140 size_t SkYUVAPixmapInfo::computeTotalBytes(size_t planeSizes[kMaxPlanes]) const { in computeTotalBytes()
150 bool SkYUVAPixmapInfo::initPixmapsFromSingleAllocation(void* memory, in initPixmapsFromSingleAllocation()
192 SkYUVAPixmaps SkYUVAPixmaps::Allocate(const SkYUVAPixmapInfo& yuvaPixmapInfo) { in Allocate()
250 SkYUVAPixmapInfo yuvaPixmapInfo(yuvaInfo, colorTypes, rowBytes); in FromExternalPixmaps()
[all …]
H A DSkImageGenerator.cpp33 bool SkImageGenerator::queryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes, in queryYUVAInfo()
34 SkYUVAPixmapInfo* yuvaPixmapInfo) const { in queryYUVAInfo()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/graphics/
H A Dimage_frame_generator.cc241 const SkYUVAPixmapInfo::SupportedDataTypes& supported_data_types, in GetYUVAInfo()
242 SkYUVAPixmapInfo* info) { in GetYUVAInfo()
263 SkYUVAPixmapInfo::DataType dataType; in GetYUVAInfo()
266 SkYUVAPixmapInfo::DataType::kUnorm16)) { in GetYUVAInfo()
267 dataType = SkYUVAPixmapInfo::DataType::kUnorm16; in GetYUVAInfo()
269 config, SkYUVAPixmapInfo::DataType::kFloat16)) { in GetYUVAInfo()
270 dataType = SkYUVAPixmapInfo::DataType::kFloat16; in GetYUVAInfo()
275 config, SkYUVAPixmapInfo::DataType::kUnorm8)) { in GetYUVAInfo()
276 dataType = SkYUVAPixmapInfo::DataType::kUnorm8; in GetYUVAInfo()
280 *info = SkYUVAPixmapInfo(yuva_info, dataType, width_bytes); in GetYUVAInfo()
H A Ddecoding_image_generator.h81 const SkYUVAPixmapInfo::SupportedDataTypes& supported_data_types,
82 SkYUVAPixmapInfo* yuva_pixmap_info) const override;
H A Dimage_frame_generator.h120 const SkYUVAPixmapInfo::SupportedDataTypes& supported_data_types,
121 SkYUVAPixmapInfo* info);
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/test/
H A Dfake_paint_image_generator.h27 const SkYUVAPixmapInfo& yuva_pixmap_info,
45 const SkYUVAPixmapInfo::SupportedDataTypes& supported_data_types,
46 SkYUVAPixmapInfo* yuva_pixmap_info) const override;
73 SkYUVAPixmapInfo yuva_pixmap_info_;
H A Dskia_common.h46 SkYUVAPixmapInfo GetYUVAPixmapInfo(const gfx::Size& image_size,
48 SkYUVAPixmapInfo::DataType yuv_data_type,
58 SkYUVAPixmapInfo::DataType yuv_data_type =
59 SkYUVAPixmapInfo::DataType::kUnorm8);
H A Dskia_common.cc103 SkYUVAPixmapInfo GetYUVAPixmapInfo(const gfx::Size& image_size, in GetYUVAPixmapInfo()
105 SkYUVAPixmapInfo::DataType yuv_data_type, in GetYUVAPixmapInfo()
110 return SkYUVAPixmapInfo(); in GetYUVAPixmapInfo()
125 return SkYUVAPixmapInfo(); in GetYUVAPixmapInfo()
129 return SkYUVAPixmapInfo(yuva_info, yuv_data_type, /*row bytes*/ nullptr); in GetYUVAPixmapInfo()
139 SkYUVAPixmapInfo::DataType yuv_data_type) { in CreateDiscardablePaintImage()
149 SkYUVAPixmapInfo yuva_pixmap_info = in CreateDiscardablePaintImage()
H A Dfake_paint_image_generator.cc25 const SkYUVAPixmapInfo& yuva_pixmap_info, in FakePaintImageGenerator()
69 const SkYUVAPixmapInfo::SupportedDataTypes& supported_data_types, in QueryYUVA()
70 SkYUVAPixmapInfo* yuva_pixmap_info) const { in QueryYUVA()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tests/
H A DImageGeneratorTest.cpp65 SkYUVAPixmapInfo yuvaPixmapInfo; in DEF_TEST()
68 ig.queryYUVAInfo(SkYUVAPixmapInfo::SupportedDataTypes::All(), &yuvaPixmapInfo); in DEF_TEST()
73 yuvaPixmapInfo = SkYUVAPixmapInfo(yuvaInfo, in DEF_TEST()
74 SkYUVAPixmapInfo::DataType::kUnorm8, in DEF_TEST()
H A DYUVTest.cpp31 SkYUVAPixmapInfo yuvaPixmapInfo; in codec_yuv()
33 static constexpr auto kAllTypes = SkYUVAPixmapInfo::SupportedDataTypes::All(); in codec_yuv()
34 static constexpr auto kNoTypes = SkYUVAPixmapInfo::SupportedDataTypes(); in codec_yuv()
59 auto [numChannels, planeDataType] = SkYUVAPixmapInfo::NumChannelsAndDataType(planeCT); in codec_yuv()
H A DYUVCacheTest.cpp40 SkYUVAPixmapInfo yuvaPixmapInfo(yuvaInfo, in DEF_TEST()
41 SkYUVAPixmapInfo::DataType::kUnorm8, in DEF_TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/paint/
H A Dskia_paint_image_generator.h32 const SkYUVAPixmapInfo::SupportedDataTypes& supported_data_types,
33 SkYUVAPixmapInfo* yuva_pixmap_info) const override;
H A Dskia_paint_image_generator.cc37 const SkYUVAPixmapInfo::SupportedDataTypes& supported_data_types, in onQueryYUVAInfo()
38 SkYUVAPixmapInfo* yuva_pixmap_info) const { in onQueryYUVAInfo()
H A Dpaint_image_unittest.cc79 SkYUVAPixmapInfo yuva_pixmap_info(yuva_info, in TEST()
80 SkYUVAPixmapInfo::DataType::kUnorm8, in TEST()
94 SkYUVAPixmapInfo image_yuva_pixmap_info; in TEST()
95 ASSERT_TRUE(image.IsYuv(SkYUVAPixmapInfo::SupportedDataTypes::All(), in TEST()
H A Dpaint_image_generator.h52 const SkYUVAPixmapInfo::SupportedDataTypes& supported_data_types,
53 SkYUVAPixmapInfo* info) const = 0;
H A Dpaint_image.cc347 const SkYUVAPixmapInfo::SupportedDataTypes& supported_data_types, in IsYuv()
348 SkYUVAPixmapInfo* info) const { in IsYuv()
349 SkYUVAPixmapInfo temp_info; in IsYuv()
406 << " is YUV: " << IsYuv(SkYUVAPixmapInfo::SupportedDataTypes::All()); in ToString()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/codec/
H A DSkCodecImageGenerator.h101 bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes&,
102 SkYUVAPixmapInfo*) const override;
H A DSkJpegCodec.h47 bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes&,
48 SkYUVAPixmapInfo*) const override;
H A 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()
H A DSkCodecImageGenerator.cpp73 const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes, in onQueryYUVAInfo()
74 SkYUVAPixmapInfo* yuvaPixmapInfo) const { in onQueryYUVAInfo()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/include/codec/
H A DSkCodec.h394 bool queryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes,
395 SkYUVAPixmapInfo* yuvaPixmapInfo) const;
742 virtual bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes&, in onQueryYUVAInfo()
743 SkYUVAPixmapInfo*) const { return false; } in onQueryYUVAInfo() argument
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tools/gpu/
H A DYUVUtils.cpp100 bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& types, in onQueryYUVAInfo()
101 SkYUVAPixmapInfo* info) const override { in onQueryYUVAInfo()
165 SkYUVAPixmapInfo yuvaPixmapInfo; in reset()
166 if (!codec->queryYUVAInfo(SkYUVAPixmapInfo::SupportedDataTypes::All(), &yuvaPixmapInfo)) { in reset()

12