Searched refs:bits (Results 1 – 9 of 9) sorted by relevance
/lvgl-3.5.0/src/extra/libs/qrcode/ |
D | qrcodegen.c | 492 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.5.0/src/extra/libs/png/ |
D | lodepng.c | 606 static unsigned reverseBits(unsigned bits, unsigned num) { in reverseBits() argument 609 for(i = 0; i < num; i++) result |= ((bits >> (num - i - 1u)) & 1u) << i; in reverseBits() 813 unsigned bits, n; in HuffmanTree_makeFromLengths2() local 823 for(bits = 0; bits != tree->numcodes; ++bits) ++blcount[tree->lengths[bits]]; in HuffmanTree_makeFromLengths2() 825 for(bits = 1; bits <= tree->maxbitlen; ++bits) { in HuffmanTree_makeFromLengths2() 826 nextcode[bits] = (nextcode[bits - 1] + blcount[bits - 1]) << 1u; in HuffmanTree_makeFromLengths2() 3095 static void addColorBits(unsigned char* out, size_t index, unsigned bits, unsigned in) { in addColorBits() argument 3096 unsigned m = bits == 1 ? 7 : bits == 2 ? 3 : 1; /*8 / bits - 1*/ in addColorBits() 3099 in &= (1u << bits) - 1u; /*filter out any other bits of the input value*/ in addColorBits() 3100 in = in << (bits * (m - p)); in addColorBits() [all …]
|
D | lodepng.h | 714 …unsigned bits; /*bits per channel (not for palette). 1,2 or 4 for grayscale only. 16 if 16-bit per… member
|
/lvgl-3.5.0/src/misc/ |
D | lv_tlsf.c | 201 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.5.0/docs/overview/ |
D | font.md | 9 Fonts have a **bpp (bits per pixel)** property. It shows how many bits are used to describe a pixel… 245 * each pixel is represented by `bpp` bits */
|
D | image.md | 16 - *always zero* 3 bits which need to be always zero 36 …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. 37 - **LV_IMG_CF_ALPHA_1/2/4/8BIT** **Only stores the Alpha value with 1, 2, 4 or 8 bits.** The pixels…
|
/lvgl-3.5.0/ |
D | Kconfig | 198 …The increase in memory consumption is (32 bits * object width) plus 24 bits * object width if usin… 205 The increase in memory consumption is (24 bits * object's width)
|
D | README_pt_BR.md | 67 <td colspan="2">Microcontrolador ou processador de 16, 32 ou 64 bits</td>
|
/lvgl-3.5.0/docs/porting/ |
D | display.md | 105 …n `lv_disp_draw_buf_t` can be smaller to hold only the required number of bits for the given area …
|