Home
last modified time | relevance | path

Searched refs:getBit (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.6.0/src/extra/libs/qrcode/
Dqrcodegen.c81 static bool getBit(int x, int i);
524 setModule(qrcode, 8, i, getBit(bits, i)); in drawFormatBits()
525 setModule(qrcode, 8, 7, getBit(bits, 6)); in drawFormatBits()
526 setModule(qrcode, 8, 8, getBit(bits, 7)); in drawFormatBits()
527 setModule(qrcode, 7, 8, getBit(bits, 8)); in drawFormatBits()
529 setModule(qrcode, 14 - i, 8, getBit(bits, i)); in drawFormatBits()
534 setModule(qrcode, qrsize - 1 - i, 8, getBit(bits, i)); in drawFormatBits()
536 setModule(qrcode, 8, qrsize - 15 + i, getBit(bits, i)); in drawFormatBits()
585 bool black = getBit(data[i >> 3], 7 - (i & 7)); in drawCodewords()
761 return getBit(qrcode[(index >> 3) + 1], index & 7); in getModule()
[all …]