Searched refs:assignVal (Results 1 – 2 of 2) sorted by relevance
/lvgl-latest/src/extra/libs/qrcode/ |
D | qrcodegen.c | 946 struct qrcodegen_Segment qrcodegen_makeEci(long assignVal, uint8_t buf[]) { in qrcodegen_makeEci() argument 951 if (assignVal < 0) { in qrcodegen_makeEci() 953 } else if (assignVal < (1 << 7)) { in qrcodegen_makeEci() 955 appendBitsToBuffer(assignVal, 8, buf, &result.bitLength); in qrcodegen_makeEci() 956 } else if (assignVal < (1 << 14)) { in qrcodegen_makeEci() 959 appendBitsToBuffer(assignVal, 14, buf, &result.bitLength); in qrcodegen_makeEci() 960 } else if (assignVal < 1000000L) { in qrcodegen_makeEci() 963 appendBitsToBuffer(assignVal >> 10, 11, buf, &result.bitLength); in qrcodegen_makeEci() 964 appendBitsToBuffer(assignVal & 0x3FF, 10, buf, &result.bitLength); in qrcodegen_makeEci()
|
D | qrcodegen.h | 287 struct qrcodegen_Segment qrcodegen_makeEci(long assignVal, uint8_t buf[]);
|