Searched refs:qrcodegen_BUFFER_LEN_FOR_VERSION (Results 1 – 3 of 3) sorted by relevance
139 #define qrcodegen_BUFFER_LEN_FOR_VERSION(n) ((((n) * 4 + 17) * ((n) * 4 + 17) + 7) / 8 + 1) macro144 #define qrcodegen_BUFFER_LEN_MAX qrcodegen_BUFFER_LEN_FOR_VERSION(qrcodegen_VERSION_MAX)
104 uint8_t * qr0 = lv_mem_alloc(qrcodegen_BUFFER_LEN_FOR_VERSION(qr_version)); in lv_qrcode_update()106 uint8_t * data_tmp = lv_mem_alloc(qrcodegen_BUFFER_LEN_FOR_VERSION(qr_version)); in lv_qrcode_update()
134 size_t bufLen = qrcodegen_BUFFER_LEN_FOR_VERSION(maxVersion); in qrcodegen_encodeText()230 memset(qrcode, 0, qrcodegen_BUFFER_LEN_FOR_VERSION(version) * sizeof(qrcode[0])); in qrcodegen_encodeSegmentsAdvanced()