Lines Matching refs:SkYUVAInfo
11 #include "include/core/SkYUVAInfo.h"
17 * A description of a set GrBackendTextures that hold the planar data described by a SkYUVAInfo.
21 static constexpr auto kMaxPlanes = SkYUVAInfo::kMaxPlanes;
28 * planes indicated by the SkYUVAInfo. The texture dimensions are taken from the SkYUVAInfo's
32 * passed formats' channels don't agree with SkYUVAInfo.
34 GrYUVABackendTextureInfo(const SkYUVAInfo&,
46 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; }
61 * Returns true if this has been configured with a valid SkYUVAInfo with compatible texture
70 SkYUVAInfo::YUVALocations toYUVALocations() const;
73 SkYUVAInfo fYUVAInfo;
80 * A set of GrBackendTextures that hold the planar data for an image described a SkYUVAInfo.
91 GrYUVABackendTextures(const SkYUVAInfo&,
92 const GrBackendTexture[SkYUVAInfo::kMaxPlanes],
95 const std::array<GrBackendTexture, SkYUVAInfo::kMaxPlanes>& textures() const {
100 SkASSERT(i >= 0 && i < SkYUVAInfo::kMaxPlanes);
104 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; }
116 SkYUVAInfo::YUVALocations toYUVALocations() const;
119 SkYUVAInfo fYUVAInfo;
120 std::array<GrBackendTexture, SkYUVAInfo::kMaxPlanes> fTextures;