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

Method bit_depth

dlib/image_loader/jxl_loader.cpp:69–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 bool jxl_loader::is_rgb() const { return depth == 3; }
68 bool jxl_loader::is_rgba() const { return depth == 4; }
69 unsigned int jxl_loader::bit_depth() const { return bits_per_sample; };
70 long jxl_loader::nr() const { return static_cast<long>(height); };
71 long jxl_loader::nc() const { return static_cast<long>(width); };
72

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected