Lines Matching defs:SkEncodedInfo
15 struct SkEncodedInfo { struct
22 const skcms_ICCProfile* profile() const { return &fProfile; } in profile()
26 skcms_ICCProfile fProfile;
27 sk_sp<SkData> fData;
30 enum Alpha {
47 enum Color {
96 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() argument
101 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() argument
159 SkImageInfo makeImageInfo() const { in makeImageInfo()
174 int width() const { return fWidth; } in width()
175 int height() const { return fHeight; } in height()
176 Color color() const { return fColor; } in color()
177 Alpha alpha() const { return fAlpha; } in alpha()
178 bool opaque() const { return fAlpha == kOpaque_Alpha; } in opaque()
179 const skcms_ICCProfile* profile() const { in profile()
184 uint8_t bitsPerComponent() const { return fBitsPerComponent; } in bitsPerComponent()
186 uint8_t bitsPerPixel() const { in bitsPerPixel()
214 SkEncodedInfo& operator=(const SkEncodedInfo&) = delete; argument
217 SkEncodedInfo& operator=(SkEncodedInfo&&) = default; argument
220 SkEncodedInfo copy() const { in copy() argument
229 SkEncodedInfo(int width, int height, Color color, Alpha alpha, in SkEncodedInfo() argument
239 int fWidth;
240 int fHeight;
241 Color fColor;
242 Alpha fAlpha;
243 uint8_t fBitsPerComponent;
244 std::unique_ptr<ICCProfile> fProfile;