/external/skia/gm/ |
encode-platform.cpp | 62 static sk_sp<SkData> encode_data(SkEncodedImageFormat type, const SkBitmap& bitmap) { function in namespace:skiagm 117 auto opaqueImage = SkImage::MakeFromEncoded(encode_data(type, opaqueBm)); 118 auto premulImage = SkImage::MakeFromEncoded(encode_data(type, premulBm)); 119 auto unpremulImage = SkImage::MakeFromEncoded(encode_data(type, unpremulBm));
|
encode-srgb.cpp | 67 static sk_sp<SkData> encode_data(const SkBitmap& bitmap, SkEncodedImageFormat format) { function in namespace:skiagm 143 auto image = SkImage::MakeFromEncoded(encode_data(bitmap, fEncodedFormat));
|
/external/skia/tools/debugger/ |
SkDrawCommand.cpp | 709 static void encode_data(const void* bytes, size_t count, const char* contentType, function 723 encode_data(data, buffer.bytesWritten(), "application/octet-stream", urlDataManager, &jsonData); 798 encode_data(encoded->data(), encoded->size(), "image/png", urlDataManager, &jsonData); [all...] |