| 435 | } |
| 436 | |
| 437 | static BitMatrix FlippedL(const BitMatrix& bits) |
| 438 | { |
| 439 | BitMatrix res(bits.height(), bits.width()); |
| 440 | for (int y = 0; y < res.height(); ++y) |
| 441 | for (int x = 0; x < res.width(); ++x) |
| 442 | res.set(x, y, bits.get(bits.width() - 1 - y, bits.height() - 1 - x)); |
| 443 | return res; |
| 444 | } |
| 445 | |
| 446 | DecoderResult Decode(const BitMatrix& bits) |
| 447 | { |