Lines Matching refs:SkYUVAInfo
14 #include "include/core/SkYUVAInfo.h"
23 * SkYUVAInfo combined with per-plane SkColorTypes and row bytes. Fully specifies the SkPixmaps
28 static constexpr auto kMaxPlanes = SkYUVAInfo::kMaxPlanes;
30 using PlaneConfig = SkYUVAInfo::PlaneConfig;
31 using Subsampling = SkYUVAInfo::Subsampling;
93 * Initializes the SkYUVAPixmapInfo from a SkYUVAInfo with per-plane color types and row bytes.
94 * This will be invalid if the colorTypes aren't compatible with the SkYUVAInfo or if a
96 * row byte values beyond the number of planes in SkYUVAInfo are ignored. All SkColorTypes
101 SkYUVAPixmapInfo(const SkYUVAInfo&,
108 SkYUVAPixmapInfo(const SkYUVAInfo&, DataType, const size_t rowBytes[kMaxPlanes]);
117 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; }
151 * Returns true if this has been configured with a non-empty dimensioned SkYUVAInfo with
160 SkYUVAInfo fYUVAInfo;
203 * the SkYUVAInfo isn't compatible with the SkPixmap array (number of planes, plane dimensions,
206 static SkYUVAPixmaps FromExternalPixmaps(const SkYUVAInfo&, const SkPixmap[kMaxPlanes]);
217 /** Does have initialized pixmaps compatible with its SkYUVAInfo. */
220 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; }
245 SkYUVAInfo::YUVALocations toYUVALocations() const;
252 SkYUVAPixmaps(const SkYUVAInfo&, DataType, const SkPixmap[kMaxPlanes]);
256 SkYUVAInfo fYUVAInfo;
280 int n = SkYUVAInfo::NumPlanes(config);
282 auto c = static_cast<size_t>(SkYUVAInfo::NumChannelsInPlane(config, i));