Home
last modified time | relevance | path

Searched refs:encodedData (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DImage.java25 public static Image fromEncoded(byte[] encodedData) { in fromEncoded() argument
26 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
/third_party/skia/gm/
Dcrosscontextimage.cpp25 sk_sp<SkData> encodedData = GetResourceAsData("images/mandrill_256.png"); variable
26 if (!encodedData) {
38 images[0] = SkImage::MakeFromEncoded(encodedData);
/third_party/flutter/skia/gm/
Dcrosscontextimage.cpp27 sk_sp<SkData> encodedData = GetResourceAsData("images/mandrill_256.png"); variable
28 if (!encodedData) {
34 images[0] = SkImage::MakeFromEncoded(encodedData);
/third_party/flutter/skia/docs/examples/
DImage_MakeFromEncoded.cpp9 sk_sp<SkData> encodedData = image->encodeToData(SkEncodedImageFormat::kJPEG, quality); in draw() local
10 sk_sp<SkImage> image = SkImage::MakeFromEncoded(encodedData); in draw()
/third_party/skia/docs/examples/
DImage_MakeFromEncoded.cpp9 sk_sp<SkData> encodedData = image->encodeToData(SkEncodedImageFormat::kJPEG, quality); in draw() local
10 sk_sp<SkImage> image = SkImage::MakeFromEncoded(encodedData); in draw()
/third_party/skia/src/images/
DSkWebpEncoder.cpp127 sk_sp<SkData> encodedData = tmp.detachAsData(); in Encode() local
128 WebPData encoded = { encodedData->bytes(), encodedData->size() }; in Encode()
/third_party/flutter/skia/src/images/
DSkWebpEncoder.cpp194 sk_sp<SkData> encodedData = tmp.detachAsData(); in Encode() local
195 WebPData encoded = { encodedData->bytes(), encodedData->size() }; in Encode()
/third_party/skia/third_party/externals/brotli/go/cbrotli/
Dreader.go155 func Decode(encodedData []byte) ([]byte, error) {
160 in: encodedData,