Searched refs:encode_data (Results 1 – 6 of 6) sorted by relevance
/external/skqp/gm/ |
D | encode-platform.cpp | 40 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()
|
D | encode-srgb.cpp | 55 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/ |
D | encode_platform.cpp | 63 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()
|
D | encode_srgb.cpp | 65 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/ |
D | DrawCommand.cpp | 605 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/ |
D | SkDrawCommand.cpp | 673 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()
|