MCPcopy Create free account
hub / github.com/davisking/dlib / webp_loader

Method webp_loader

dlib/image_loader/webp_loader.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28// ----------------------------------------------------------------------------------------
29
30 webp_loader::
31 webp_loader(const char* filename) : height_(0), width_(0)
32 {
33 data_ = load_contents(filename);
34 get_info();
35 }
36
37// ----------------------------------------------------------------------------------------
38

Callers

nothing calls this directly

Calls 4

load_contentsFunction · 0.70
memcpyFunction · 0.50
resizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected