Searched refs:assignVal (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/examples/common_components/qrcode/ |
D | qrcodegen.c | 959 struct qrcodegen_Segment qrcodegen_makeEci(long assignVal, uint8_t buf[]) { in qrcodegen_makeEci() argument 964 if (assignVal < 0) in qrcodegen_makeEci() 966 else if (assignVal < (1 << 7)) { in qrcodegen_makeEci() 968 appendBitsToBuffer((unsigned int)assignVal, 8, buf, &result.bitLength); in qrcodegen_makeEci() 969 } else if (assignVal < (1 << 14)) { in qrcodegen_makeEci() 972 appendBitsToBuffer((unsigned int)assignVal, 14, buf, &result.bitLength); in qrcodegen_makeEci() 973 } else if (assignVal < 1000000L) { in qrcodegen_makeEci() 976 appendBitsToBuffer((unsigned int)(assignVal >> 10), 11, buf, &result.bitLength); in qrcodegen_makeEci() 977 appendBitsToBuffer((unsigned int)(assignVal & 0x3FF), 10, buf, &result.bitLength); in qrcodegen_makeEci()
|
D | qrcodegen.h | 287 struct qrcodegen_Segment qrcodegen_makeEci(long assignVal, uint8_t buf[]);
|