Home
last modified time | relevance | path

Searched refs:HashAndEncode (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/tools/
H A DHashAndEncode.h10 // HashAndEncode transforms any SkBitmap into a standard format, currently
14 class HashAndEncode { class
16 explicit HashAndEncode(const SkBitmap&);
H A DHashAndEncode.cpp6 #include "tools/HashAndEncode.h"
13 HashAndEncode::HashAndEncode(const SkBitmap& bitmap) : fSize(bitmap.info().dimensions()) { in HashAndEncode() function in HashAndEncode
88 void HashAndEncode::feedHash(SkWStream* st) const { in feedHash()
100 // NOTE: HashAndEncode uses libpng directly rather than through an abstraction
104 bool HashAndEncode::encodePNG(SkWStream* st, in encodePNG()
125 png_error(png, "HashAndEncode::encodePNG() failed writing stream"); in encodePNG()
/third_party/skia/modules/canvaskit/
H A Dgm_bindings.cpp29 #include "tools/HashAndEncode.h"
167 std::unique_ptr<HashAndEncode> hashAndEncode = std::make_unique<HashAndEncode>(bitmap); in RunGM()
/third_party/skia/dm/
H A DDM.cpp30 #include "tools/HashAndEncode.h"
1154 std::unique_ptr<HashAndEncode> hashAndEncode; in Run()
1163 hashAndEncode = std::make_unique<HashAndEncode>(bitmap); in Run()
1222 hashAndEncode = std::make_unique<HashAndEncode>(rasterized); in Run()
1328 const HashAndEncode* hashAndEncode) { in WriteToDisk()
/third_party/skia/tools/fm/
H A Dfm.cpp25 #include "tools/HashAndEncode.h"
639 HashAndEncode hashAndEncode{bitmap}; in main()

Completed in 6 milliseconds