Searched refs:appendBitsToBuffer (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/src/extra/libs/qrcode/ |
D | qrcodegen.c | 55 testable void appendBitsToBuffer(unsigned int val, int numBits, uint8_t buffer[], int *bitLen); 184 testable void appendBitsToBuffer(unsigned int val, int numBits, uint8_t buffer[], int *bitLen) { in appendBitsToBuffer() function 234 appendBitsToBuffer((int)seg->mode, 4, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 235 appendBitsToBuffer(seg->numChars, numCharCountBits(seg->mode, version), qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 237 appendBitsToBuffer((seg->data[j >> 3] >> (7 - (j & 7))) & 1, 1, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 247 appendBitsToBuffer(0, terminatorBits, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 248 appendBitsToBuffer(0, (8 - bitLen % 8) % 8, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 253 appendBitsToBuffer(padByte, 8, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 898 appendBitsToBuffer(accumData, 10, buf, &result.bitLength); in qrcodegen_makeNumeric() 904 appendBitsToBuffer(accumData, accumCount * 3 + 1, buf, &result.bitLength); in qrcodegen_makeNumeric() [all …]
|