Lines Matching refs:encoded
38 decoded in a raster bitmap, encoded in a SkPicture or compressed data stream,
42 storage as needed; for instance, an encoded SkImage may decode when drawn.
47 SkImage may be created from SkBitmap, SkPixmap, SkSurface, SkPicture, encoded streams,
148 /** Creates SkImage from encoded data.
152 SkImage is returned if format of the encoded data is recognized and supported.
155 @param encoded data of SkImage to decode
159 static sk_sp<SkImage> MakeFromEncoded(sk_sp<SkData> encoded, const SkIRect* subset = nullptr);
242 /** Creates SkImage from encoded data. SkImage is uploaded to GPU back-end using context.
252 dstColorSpace. SkColorSpace of SkImage is determined by encoded data.
497 or was parsed from encoded data.
508 or was parsed from encoded data. SkColorSpace returned may be ignored when SkImage
522 or was parsed from encoded data. SkColorSpace returned may be ignored when SkImage
737 for the encoded format.
750 @return encoded SkImage, or nullptr
754 /** Encodes SkImage pixels, returning result as SkData. Returns existing encoded data
755 if present; otherwise, SkImage is encoded with SkEncodedImageFormat::kPNG. Skia
758 Returns nullptr if existing encoded data is missing or invalid, and
761 @return encoded SkImage, or nullptr
765 /** Returns encoded SkImage pixels as SkData, if SkImage was created from supported
766 encoded stream format. Platform support for formats vary and may require building
769 Returns nullptr if SkImage contents are not encoded.
771 @return encoded SkImage, or nullptr
809 or if encoded in a stream.