Home
last modified time | relevance | path

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

/external/skqp/gm/
Dencode-platform.cpp40 static sk_sp<SkData> encode_data(SkEncodedImageFormat type, const SkBitmap& bitmap) { in encode_data() function
100 auto opaqueImage = SkImage::MakeFromEncoded(encode_data(type, opaqueBm)); in onDraw()
101 auto premulImage = SkImage::MakeFromEncoded(encode_data(type, premulBm)); in onDraw()
102 auto unpremulImage = SkImage::MakeFromEncoded(encode_data(type, unpremulBm)); in onDraw()
Dencode-srgb.cpp55 static sk_sp<SkData> encode_data(const SkBitmap& bitmap, SkEncodedImageFormat format) { in encode_data() function
124 auto image = SkImage::MakeFromEncoded(encode_data(bitmap, fEncodedFormat)); in onDraw()
/external/skia/gm/
Dencode_platform.cpp63 static sk_sp<SkData> encode_data(SkEncodedImageFormat type, const SkBitmap& bitmap, int quality) { in encode_data() function
131 auto opaqueImage = SkImage::MakeFromEncoded(encode_data(fmt, opaqueBm, q)); in onDraw()
132 auto premulImage = SkImage::MakeFromEncoded(encode_data(fmt, premulBm, q)); in onDraw()
133 auto unpremulImage = SkImage::MakeFromEncoded(encode_data(fmt, unpremulBm, q)); in onDraw()
Dencode_srgb.cpp65 static sk_sp<SkData> encode_data(const SkBitmap& bitmap, SkEncodedImageFormat format) { in encode_data() function
134 auto image = SkImage::MakeFromEncoded(encode_data(bitmap, fEncodedFormat)); in onDraw()
/external/skia/tools/debugger/
DDrawCommand.cpp605 static SkString encode_data(const void* bytes, in encode_data() function
621 encode_data(data, buffer.bytesWritten(), "application/octet-stream", urlDataManager); in flatten()
688 SkString url = encode_data(encoded->data(), encoded->size(), "image/png", urlDataManager); in flatten()
891 SkString url = encode_data( in apply_font_typeface()
/external/skqp/tools/debugger/
DSkDrawCommand.cpp673 static SkString encode_data(const void* bytes, size_t count, const char* contentType, in encode_data() function
685 SkString url = encode_data(data, buffer.bytesWritten(), "application/octet-stream", in flatten()
725 SkString url = encode_data(encoded->data(), encoded->size(), "image/png", urlDataManager); in flatten()
960 SkString url = encode_data(data, buffer.bytesWritten(), "application/octet-stream", in apply_font_typeface()