MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / bb_getBit

Function bb_getBit

Libraries/QRCode/src/qrcode.c:244–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244static bool bb_getBit(BitBucket *bitGrid, uint8_t x, uint8_t y) {
245 uint32_t offset = y * bitGrid->bitOffsetOrWidth + x;
246 return (bitGrid->data[offset >> 3] & (1 << (7 - (offset & 0x07)))) != 0;
247}
248
249
250

Callers 3

applyMaskFunction · 0.85
drawCodewordsFunction · 0.85
getPenaltyScoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected