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

Function FlippedL

czxing/src/main/cpp/zxing/src/datamatrix/DMDecoder.cpp:437–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435}
436
437static 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
446DecoderResult Decode(const BitMatrix& bits)
447{

Callers 1

DecodeFunction · 0.85

Calls 4

heightMethod · 0.45
widthMethod · 0.45
setMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected