| 44 | } |
| 45 | |
| 46 | static int GetMinCodewordWidth(const std::array<Nullable<ResultPoint>, 8>& p) |
| 47 | { |
| 48 | return std::min(std::min(GetMinWidth(p[0], p[4]), GetMinWidth(p[6], p[2]) * CodewordDecoder::MODULES_IN_CODEWORD / MODULES_IN_STOP_PATTERN), |
| 49 | std::min(GetMinWidth(p[1], p[5]), GetMinWidth(p[7], p[3]) * CodewordDecoder::MODULES_IN_CODEWORD / MODULES_IN_STOP_PATTERN)); |
| 50 | } |
| 51 | |
| 52 | static int GetMaxWidth(const Nullable<ResultPoint>& p1, const Nullable<ResultPoint>& p2) |
| 53 | { |
no test coverage detected