Searched refs:encode_data (Results 1 – 3 of 3) sorted by relevance
/external/skia/gm/ |
D | encode-platform.cpp | 59 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()
|
D | encode-srgb.cpp | 112 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/ |
D | SkDrawCommand.cpp | 644 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()
|