MCPcopy Create free account
hub / github.com/devilsen/CZXing / EstimateLineCount

Function EstimateLineCount

czxing/src/main/cpp/zxing/src/oned/ODDataBarCommon.cpp:162–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162int EstimateLineCount(const Pair& first, const Pair& last)
163{
164 // see incrementLineCount() in ODReader.cpp for the -1 here
165 return std::min(first.count, last.count) - 1 + IsStacked(first, last);
166}
167
168} // namespace ZXing::OneD::DataBar

Callers 2

decodePatternMethod · 0.85
decodePatternMethod · 0.85

Calls 2

IsStackedFunction · 0.85
minFunction · 0.50

Tested by

no test coverage detected