Searched refs:appendBitsToBuffer (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/src/libs/qrcode/ |
D | qrcodegen.c | 57 testable void appendBitsToBuffer(unsigned int val, int numBits, uint8_t buffer[], int * bitLen); 190 testable void appendBitsToBuffer(unsigned int val, int numBits, uint8_t buffer[], int * bitLen) in appendBitsToBuffer() function 243 appendBitsToBuffer((int)seg->mode, 4, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 244 appendBitsToBuffer(seg->numChars, numCharCountBits(seg->mode, version), qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 246 appendBitsToBuffer((seg->data[j >> 3] >> (7 - (j & 7))) & 1, 1, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 256 appendBitsToBuffer(0, terminatorBits, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 257 appendBitsToBuffer(0, (8 - bitLen % 8) % 8, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 262 appendBitsToBuffer(padByte, 8, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 955 appendBitsToBuffer(accumData, 10, buf, &result.bitLength); in qrcodegen_makeNumeric() 961 appendBitsToBuffer(accumData, accumCount * 3 + 1, buf, &result.bitLength); in qrcodegen_makeNumeric() [all …]
|