Home
last modified time | relevance | path

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

/lvgl-3.6.0/src/extra/libs/qrcode/
Dqrcodegen.c212 int dataCapacityBits = getNumDataCodewords(version, ecl) * 8; // Number of data bits available in qrcodegen_encodeSegmentsAdvanced() local
214 if (dataUsedBits != -1 && dataUsedBits <= dataCapacityBits) in qrcodegen_encodeSegmentsAdvanced()
242 int dataCapacityBits = getNumDataCodewords(version, ecl) * 8; in qrcodegen_encodeSegmentsAdvanced() local
243 LV_ASSERT(bitLen <= dataCapacityBits); in qrcodegen_encodeSegmentsAdvanced()
244 int terminatorBits = dataCapacityBits - bitLen; in qrcodegen_encodeSegmentsAdvanced()
252 for (uint8_t padByte = 0xEC; bitLen < dataCapacityBits; padByte ^= 0xEC ^ 0x11) in qrcodegen_encodeSegmentsAdvanced()
1020 int dataCapacityBits = getNumDataCodewords(version, ecl) * 8; // Number of data bits available in qrcodegen_getMinFitVersion() local
1022 if (dataUsedBits != -1 && dataUsedBits <= dataCapacityBits) in qrcodegen_getMinFitVersion()