Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 22 of 22) sorted by relevance

/lvgl-3.7.0/src/draw/
Dlv_img_buf.c57 uint8_t bit = x & 0x7; in lv_img_buf_get_px_color() local
64 p_color.full = (buf_u8[px] & (1 << (7 - bit))) >> (7 - bit); in lv_img_buf_get_px_color()
68 uint8_t bit = (x & 0x3) * 2; in lv_img_buf_get_px_color() local
75 p_color.full = (buf_u8[px] & (3 << (6 - bit))) >> (6 - bit); in lv_img_buf_get_px_color()
79 uint8_t bit = (x & 0x1) * 4; in lv_img_buf_get_px_color() local
86 p_color.full = (buf_u8[px] & (0xF << (4 - bit))) >> (4 - bit); in lv_img_buf_get_px_color()
109 uint8_t bit = x & 0x7; in lv_img_buf_get_px_alpha() local
116 uint8_t px_opa = (buf_u8[px] & (1 << (7 - bit))) >> (7 - bit); in lv_img_buf_get_px_alpha()
122 uint8_t bit = (x & 0x3) * 2; in lv_img_buf_get_px_alpha() local
129 uint8_t px_opa = (buf_u8[px] & (3 << (6 - bit))) >> (6 - bit); in lv_img_buf_get_px_alpha()
[all …]
/lvgl-3.7.0/docs/overview/
Dcolor.md7 …65* colors. You may need this when sending 16-bit colors via a byte-oriented interface like SPI. A…
105 - `lv_color8_t` A structure to store R (3 bit),G (3 bit),B (2 bit) components for 8-bit colors (1 b…
106 - `lv_color16_t` A structure to store R (5 bit),G (6 bit),B (5 bit) components for 16-bit colors (2…
107 - `lv_color32_t` A structure to store R (8 bit),G (8 bit), B (8 bit) components for 24-bit colors (…
135 c8.full = lv_color_to8(c); /*Give a 8 bit number with the converted color*/
138 c16.full = lv_color_to16(c); /*Give a 16 bit number with the converted color*/
141 c32.full = lv_color_to32(c); /*Give a 32 bit number with the converted color*/
Dimage.md41 For 32-bit color depth:
47 For 16-bit color depth:
48 - Byte 0: Green 3 lower bit, Blue 5 bit
49 - Byte 1: Red 5 bit, Green 3 higher bit
52 For 8-bit color depth:
53 - Byte 0: Red 3 bit, Green 3 bit, Blue 2 bit
83 - RGB332 for 8-bit color depth
84 - RGB565 for 16-bit color depth
85 - RGB565 Swap for 16-bit color depth (two bytes are swapped)
86 - RGB888 for 32-bit color depth
Ddisplay.md66 The Alpha channel of 32-bit colors will be 0 where there are no objects and 255 where there are sol…
Dobject.md87 lv_obj_set_x(obj1, -30); /*Move the child a little bit off the parent*/
/lvgl-3.7.0/src/misc/
Dlv_tlsf.c88 const int bit = 32 - __builtin_clz(reverse); in tlsf_ffs() local
89 return bit - 1; in tlsf_ffs()
103 const int bit = word ? 32 - __builtin_clz(word) : 0; in tlsf_fls() local
104 return bit - 1; in tlsf_fls()
134 const int bit = 32 - _CountLeadingZeros(word); in tlsf_fls() local
135 return bit - 1; in tlsf_fls()
141 const int bit = 32 - _CountLeadingZeros(reverse); in tlsf_ffs() local
142 return bit - 1; in tlsf_ffs()
151 const int bit = 32 - __clz(reverse); in tlsf_ffs() local
152 return bit - 1; in tlsf_ffs()
[all …]
/lvgl-3.7.0/src/draw/nxp/vglite/
Dlv_vglite_buf.c47 #error Only 16bit and 32bit color depth are supported. Set LV_COLOR_DEPTH to 16 or 32.
/lvgl-3.7.0/docs/get-started/os/
Dnuttx.md6 It is scalable from 8-bit to 64-bit microcontrollers and microprocessors and compliant with the Por…
13 …s many architectures (ARM, ARM Thumb, AVR, MIPS, OpenRISC, RISC-V 32-bit and 64-bit, RX65N, x86-64…
/lvgl-3.7.0/docs/get-started/platforms/
Dpc-simulator.md61 If you are using **Windows** firstly you need to install MinGW ([64 bit version](http://mingw-w64.o…
65 …ile and go to _x86_64-w64-mingw32_ directory (for 64 bit MinGW) or to _i686-w64-mingw32_ (for 32 b…
Drenesas.md2 The [HMI-Board](https://bit.ly/3I9nfUo) development board SDK now comes with LVGL integration for q…
/lvgl-3.7.0/tests/
DREADME.md55 - 32 bit color depth
/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c417 #define WRITEBIT(writer, bit){\ argument
423 (writer->data->data[writer->data->size - 1]) |= (bit << ((writer->bp) & 7u));\
2454 static void setBitOfReversedStream(size_t* bitpointer, unsigned char* bitstream, unsigned char bit)… in setBitOfReversedStream() argument
2456 …if(bit == 0) bitstream[(*bitpointer) >> 3u] &= (unsigned char)(~(1u << (7u - ((*bitpointer) & 7u)… in setBitOfReversedStream()
3135 int bit = 0; in color_tree_get() local
3136 for(bit = 0; bit < 8; ++bit) { in color_tree_get()
3137 … int i = 8 * ((r >> bit) & 1) + 4 * ((g >> bit) & 1) + 2 * ((b >> bit) & 1) + 1 * ((a >> bit) & 1); in color_tree_get()
3155 int bit; in color_tree_add() local
3156 for(bit = 0; bit < 8; ++bit) { in color_tree_add()
3157 … int i = 8 * ((r >> bit) & 1) + 4 * ((g >> bit) & 1) + 2 * ((b >> bit) & 1) + 1 * ((a >> bit) & 1); in color_tree_add()
[all …]
/lvgl-3.7.0/tests/unity/
Dunity.h157 …ST_ASSERT_BIT_HIGH(bit, actual) UNITY_TES… argument
158 …ST_ASSERT_BIT_LOW(bit, actual) UNITY_TES… argument
424 …SERT_BIT_HIGH_MESSAGE(bit, actual, message) UNITY_TEST_ASS… argument
425 …SERT_BIT_LOW_MESSAGE(bit, actual, message) UNITY_TEST_ASS… argument
/lvgl-3.7.0/docs/porting/
Ddisplay.md49 In the display driver (`lv_disp_drv_t`) enabling the `full_refresh` bit will force LVGL to always r…
104 …he draw buffer if the display has a special color format. (e.g. 1-bit monochrome, 2-bit grayscale …
173 * For example it writes only 1-bit for monochrome displays mapped vertically.*/
/lvgl-3.7.0/src/draw/nxp/pxp/
Dlv_draw_pxp_blend.c63 #error Only 16bit and 32bit color depth are supported. Set LV_COLOR_DEPTH to 16 or 32.
/lvgl-3.7.0/docs/intro/
Dindex.md28 <li> 16, 32 or 64 bit microcontroller or processor</li>
135 - TFTs with 16 or 32 bit color depth
191 If you are using 16-bit colors with SPI (or another byte-oriented interface) you probably need to s…
/lvgl-3.7.0/src/font/
Dlv_font_loader.c208 int8_t bit = (it->byte_value & 0x80) ? 1 : 0; in read_bits() local
210 value |= (bit << n_bits); in read_bits()
/lvgl-3.7.0/env_support/cmsis-pack/
DREADME.md141 /*Use RGB565A8 images with 16 bit color depth instead of ARGB8565*/
/lvgl-3.7.0/
DREADME.md61 <td colspan="2">16, 32 or 64 bit microcontroller or processor</td>
DKconfig41 … bool "Swap the 2 bytes of RGB565 color. Useful if the display has an 8-bit interface (e.g. SPI)."
1107 bool "Use RGB565A8 images with 16 bit color depth instead of ARGB8565"
/lvgl-3.7.0/docs/
DCHANGELOG.md153 - docs(faq): don't say 24 bit is support as LVGL can't render in RGB888 directly [`227ac02`](https:…
749 - fix: use unsigned integer literal for bit shifing. [`2888`](https://github.com/littlevgl/lvgl/pul…
1017 - fix(core) add L suffix to enums to ensure 16-bit compatibility [`2760`](https://github.com/lvgl/l…
1020 - fix(mem): ALIGN_MASK should equal 0x3 on 32bit platform [`2748`](https://github.com/lvgl/lvgl/pul…
1069 - fix(zoom) multiplication overflow on 16-bit platforms [`2536`](https://github.com/lvgl/lvgl/pull/…
1130 - fix(color) remove extraneous cast for 8-bit color [`157534c`](https://github.com/lvgl/lvgl/commit…
1135 - fix(color) overflow with 16-bit color depth [`fe6d8d7`](https://github.com/lvgl/lvgl/commit/fe6d8…
1141 - fix(draw) with additive blending with 32-bit color depth [`786db2a`](https://github.com/lvgl/lvgl…
1188 - fix(color) fox color premult precision with 16-bit color depth [`f334226`](https://github.com/lvg…
1519 - fix(color) remove extraneous cast for 8-bit color
[all …]
/lvgl-3.7.0/scripts/
DDoxyfile997 # will make the HTML file larger and loading of large files a bit slower, you