Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 9 of 9) sorted by relevance

/lvgl-3.4.0/src/extra/libs/qrcode/
Dqrcodegen.c492 long bits = (long)version << 12 | rem; // uint18 in drawWhiteFunctionModules() local
493 assert(bits >> 18 == 0); in drawWhiteFunctionModules()
499 setModule(qrcode, k, i, (bits & 1) != 0); in drawWhiteFunctionModules()
500 setModule(qrcode, i, k, (bits & 1) != 0); in drawWhiteFunctionModules()
501 bits >>= 1; in drawWhiteFunctionModules()
519 int bits = (data << 10 | rem) ^ 0x5412; // uint15 in drawFormatBits() local
520 assert(bits >> 15 == 0); in drawFormatBits()
524 setModule(qrcode, 8, i, getBit(bits, i)); in drawFormatBits()
525 setModule(qrcode, 8, 7, getBit(bits, 6)); in drawFormatBits()
526 setModule(qrcode, 8, 8, getBit(bits, 7)); in drawFormatBits()
[all …]
/lvgl-3.4.0/src/extra/libs/png/
Dlodepng.c608 static unsigned reverseBits(unsigned bits, unsigned num) { in reverseBits() argument
611 for(i = 0; i < num; i++) result |= ((bits >> (num - i - 1u)) & 1u) << i; in reverseBits()
815 unsigned bits, n; in HuffmanTree_makeFromLengths2() local
825 for(bits = 0; bits != tree->numcodes; ++bits) ++blcount[tree->lengths[bits]]; in HuffmanTree_makeFromLengths2()
827 for(bits = 1; bits <= tree->maxbitlen; ++bits) { in HuffmanTree_makeFromLengths2()
828 nextcode[bits] = (nextcode[bits - 1] + blcount[bits - 1]) << 1u; in HuffmanTree_makeFromLengths2()
3097 static void addColorBits(unsigned char* out, size_t index, unsigned bits, unsigned in) { in addColorBits() argument
3098 unsigned m = bits == 1 ? 7 : bits == 2 ? 3 : 1; /*8 / bits - 1*/ in addColorBits()
3101 in &= (1u << bits) - 1u; /*filter out any other bits of the input value*/ in addColorBits()
3102 in = in << (bits * (m - p)); in addColorBits()
[all …]
Dlodepng.h714 …unsigned bits; /*bits per channel (not for palette). 1,2 or 4 for grayscale only. 16 if 16-bit per… member
/lvgl-3.4.0/src/misc/
Dlv_tlsf.c201 int bits = 0; in tlsf_fls_sizet() local
203 bits = 32 + tlsf_fls(high); in tlsf_fls_sizet()
206 bits = tlsf_fls((int)size & 0xffffffff); in tlsf_fls_sizet()
209 return bits; in tlsf_fls_sizet()
/lvgl-3.4.0/zephyr/
DKconfig.memory13 Number of bits per pixel.
/lvgl-3.4.0/docs/overview/
Dfont.md13 Fonts have a **bpp (bits per pixel)** property. It shows how many bits are used to describe a pixel…
249 * each pixel is represented by `bpp` bits */
Dimage.md20 - *always zero* 3 bits which need to be always zero
40 …1/2/4/8BIT** Uses a palette with 2, 4, 16 or 256 colors and stores each pixel in 1, 2, 4 or 8 bits.
41 - **LV_IMG_CF_ALPHA_1/2/4/8BIT** **Only stores the Alpha value with 1, 2, 4 or 8 bits.** The pixels…
/lvgl-3.4.0/
DKconfig191 …The increase in memory consumption is (32 bits * object width) plus 24 bits * object width if usin…
198 The increase in memory consumption is (24 bits * object's width)
/lvgl-3.4.0/docs/porting/
Ddisplay.md109 …n `lv_disp_draw_buf_t` can be smaller to hold only the required number of bits for the given area …