Searched refs:encodedData (Results 1 – 8 of 8) sorted by relevance
25 public static Image fromEncoded(byte[] encodedData) { in fromEncoded() argument26 long nativeImage = nCreate(encodedData); in fromEncoded()38 byte[] encodedData = new byte[encodedStream.available()]; in fromStream()39 encodedStream.read(encodedData); in fromStream()41 return fromEncoded(encodedData); in fromStream()86 private static native long nCreate(byte[] encodedData); in nCreate() argument
25 sk_sp<SkData> encodedData = GetResourceAsData("images/mandrill_256.png"); variable26 if (!encodedData) {38 images[0] = SkImage::MakeFromEncoded(encodedData);
27 sk_sp<SkData> encodedData = GetResourceAsData("images/mandrill_256.png"); variable28 if (!encodedData) {34 images[0] = SkImage::MakeFromEncoded(encodedData);
9 sk_sp<SkData> encodedData = image->encodeToData(SkEncodedImageFormat::kJPEG, quality); in draw() local10 sk_sp<SkImage> image = SkImage::MakeFromEncoded(encodedData); in draw()
127 sk_sp<SkData> encodedData = tmp.detachAsData(); in Encode() local128 WebPData encoded = { encodedData->bytes(), encodedData->size() }; in Encode()
194 sk_sp<SkData> encodedData = tmp.detachAsData(); in Encode() local195 WebPData encoded = { encodedData->bytes(), encodedData->size() }; in Encode()
155 func Decode(encodedData []byte) ([]byte, error) {160 in: encodedData,