MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / getBitDepth

Method getBitDepth

lib/Xtc/Xtc.cpp:504–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502}
503
504uint8_t Xtc::getBitDepth() const {
505 if (!loaded || !parser) {
506 return 1; // Default to 1-bit
507 }
508 return parser->getBitDepth();
509}
510
511size_t Xtc::loadPage(uint32_t pageIndex, uint8_t* buffer, size_t bufferSize) const {
512 if (!loaded || !parser) {

Callers 3

generateCoverBmpMethod · 0.45
generateThumbBmpMethod · 0.45
renderPageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected