Lines Matching refs:encoded
42 * change, if for example that image can be re-created via encoded data or
86 * Construct a new SkImage based on the specified encoded data. Returns NULL on failure,
87 * which can mean that the format of the encoded data was not recognized/supported.
89 * If a subset is specified, it must be contained within the encoded data's bounds.
91 static sk_sp<SkImage> MakeFromEncoded(sk_sp<SkData> encoded, const SkIRect* subset = nullptr);
172 * Decodes and uploads the encoded data to a GPU backed image using the supplied GrContext.
182 * from the encoded data.
326 * space that was parsed from encoded data. This color space is not guaranteed to be
430 * existing encoded data (see refEncodedData()), and will always attempt to encode the
431 * image using the specified encoded image format.
433 * If the image type cannot be encoded, or the requested encoder format is
440 * encoded data (as returned by refEncodedData). If there is no eisting data, the image
441 * will be encoded using PNG. On an error, this returns nullptr.
446 * If the image already has its contents in encoded form (e.g. PNG or JPEG), return that
447 * as SkData. If the image does not already has its contents in encoded form, return NULL.
449 * Note: to force the image to return its contents as encoded data, use encodeToData(...).
618 * be performed in the gamma encoded space. If it is kRespect, premultiplication is