Searched refs:getBit (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/src/libs/qrcode/ |
D | qrcodegen.c | 83 static bool getBit(int x, int i); 542 setModule(qrcode, 8, i, getBit(bits, i)); in drawFormatBits() 543 setModule(qrcode, 8, 7, getBit(bits, 6)); in drawFormatBits() 544 setModule(qrcode, 8, 8, getBit(bits, 7)); in drawFormatBits() 545 setModule(qrcode, 7, 8, getBit(bits, 8)); in drawFormatBits() 547 setModule(qrcode, 14 - i, 8, getBit(bits, i)); in drawFormatBits() 552 setModule(qrcode, qrsize - 1 - i, 8, getBit(bits, i)); in drawFormatBits() 554 setModule(qrcode, 8, qrsize - 15 + i, getBit(bits, i)); in drawFormatBits() 606 bool black = getBit(data[i >> 3], 7 - (i & 7)); in drawCodewords() 809 return getBit(qrcode[(index >> 3) + 1], index & 7); in getModule() [all …]
|