Home
last modified time | relevance | path

Searched refs:encode_data (Results 1 – 3 of 3) sorted by relevance

/external/skia/gm/
Dencode-platform.cpp59 static sk_sp<SkData> encode_data(SkEncodedImageFormat type, const SkBitmap& bitmap) { in encode_data() function
106 auto opaqueImage = SkImage::MakeFromEncoded(encode_data(type, opaqueBm)); in onDraw()
107 auto premulImage = SkImage::MakeFromEncoded(encode_data(type, premulBm)); in onDraw()
108 auto unpremulImage = SkImage::MakeFromEncoded(encode_data(type, unpremulBm)); in onDraw()
Dencode-srgb.cpp112 static sk_sp<SkData> encode_data(const SkBitmap& bitmap, SkEncodedImageFormat format) { in encode_data() function
188 auto image = SkImage::MakeFromEncoded(encode_data(bitmap, fEncodedFormat)); in onDraw()
/external/skia/tools/debugger/
DSkDrawCommand.cpp644 static void encode_data(const void* bytes, size_t count, const char* contentType, in encode_data() function
658 encode_data(data, buffer.bytesWritten(), "application/octet-stream", urlDataManager, &jsonData); in flatten()
733 encode_data(encoded->data(), encoded->size(), "image/png", urlDataManager, &jsonData); in flatten()
1113 encode_data(data, buffer.bytesWritten(), "application/octet-stream", urlDataManager, in apply_paint_typeface()