Home
last modified time | relevance | path

Searched refs:pixel (Results 1 – 25 of 80) sorted by relevance

1234

/Zephyr-latest/drivers/display/
Ddisplay_sdl.c113 uint32_t pixel; in sdl_display_write_rgb888() local
123 pixel = *byte_ptr << 16; in sdl_display_write_rgb888()
124 pixel |= *(byte_ptr + 1) << 8; in sdl_display_write_rgb888()
125 pixel |= *(byte_ptr + 2); in sdl_display_write_rgb888()
126 *((uint32_t *)disp_buf) = pixel | 0xFF000000; in sdl_display_write_rgb888()
137 uint32_t pixel; in sdl_display_write_rgb565() local
149 pixel = (((rgb565 >> 11) & 0x1F) * 255 / 31) << 16; in sdl_display_write_rgb565()
150 pixel |= (((rgb565 >> 5) & 0x3F) * 255 / 63) << 8; in sdl_display_write_rgb565()
151 pixel |= (rgb565 & 0x1F) * 255 / 31; in sdl_display_write_rgb565()
152 *((uint32_t *)disp_buf) = pixel | 0xFF000000; in sdl_display_write_rgb565()
[all …]
DKconfig.stm32_ltdc19 prompt "Color pixel format"
23 Specify the color pixel format for the STM32 LCD-TFT display controller.
28 One pixel consists of 8-bit alpha, 8-bit red, 8-bit green and 8-bit blue value
29 (4 bytes per pixel)
34 One pixel consists of 8-bit red, 8-bit green and 8-bit blue value
35 (3 bytes per pixel)
40 One pixel consists of 5-bit red, 6-bit green and 5-bit blue value
41 (2 bytes per pixel)
DKconfig.sdl17 prompt "Default pixel format"
20 Default pixel format to be used by the display
59 If selected, set the MSB to represent the first pixel.
60 This applies when the pixel format is MONO01/MONO10.
DKconfig.st7789v15 prompt "Color pixel format"
19 Specify the color pixel format for the ST7789V display controller.
/Zephyr-latest/drivers/led_strip/
Dtlc5971.c206 for (int pixel = (TLC5971_PIXELS_PER_DEVICE - 1); pixel >= 0; pixel--) { in tlc5971_fill_data_buffer() local
209 &pixels[(device * TLC5971_PIXELS_PER_DEVICE) + pixel]; in tlc5971_fill_data_buffer()
263 int tlc5971_set_global_brightness(const struct device *dev, struct led_rgb pixel) in tlc5971_set_global_brightness() argument
269 if ((pixel.r <= TLC5971_GLOBAL_BRIGHTNESS_CONTROL_MAX) && in tlc5971_set_global_brightness()
270 (pixel.g <= TLC5971_GLOBAL_BRIGHTNESS_CONTROL_MAX) && in tlc5971_set_global_brightness()
271 (pixel.b <= TLC5971_GLOBAL_BRIGHTNESS_CONTROL_MAX)) { in tlc5971_set_global_brightness()
272 data->gbc_color_1 = tlc5971_map_color(cfg->color_mapping[0], &pixel); in tlc5971_set_global_brightness()
273 data->gbc_color_2 = tlc5971_map_color(cfg->color_mapping[1], &pixel); in tlc5971_set_global_brightness()
274 data->gbc_color_3 = tlc5971_map_color(cfg->color_mapping[2], &pixel); in tlc5971_set_global_brightness()
Dws2812_spi.c104 uint8_t pixel; in ws2812_strip_update_rgb() local
109 pixel = 0; in ws2812_strip_update_rgb()
112 pixel = pixels[i].r; in ws2812_strip_update_rgb()
115 pixel = pixels[i].g; in ws2812_strip_update_rgb()
118 pixel = pixels[i].b; in ws2812_strip_update_rgb()
123 ws2812_spi_ser(px_buf, pixel, one, zero); in ws2812_strip_update_rgb()
Dtlc59731.c105 static int tlc59731_led_set_color(const struct device *dev, struct led_rgb *pixel) in tlc59731_led_set_color() argument
112 rgb_write_data(led_gpio, pixel->r); in tlc59731_led_set_color()
113 rgb_write_data(led_gpio, pixel->g); in tlc59731_led_set_color()
114 rgb_write_data(led_gpio, pixel->b); in tlc59731_led_set_color()
Dws2812_i2s.c97 uint8_t pixel; in ws2812_strip_update_rgb() local
102 pixel = 0; in ws2812_strip_update_rgb()
105 pixel = pixels[i].r; in ws2812_strip_update_rgb()
108 pixel = pixels[i].g; in ws2812_strip_update_rgb()
111 pixel = pixels[i].b; in ws2812_strip_update_rgb()
116 *tx_buf = ws2812_i2s_ser(pixel, sym_one, sym_zero) ^ reset_word; in ws2812_strip_update_rgb()
/Zephyr-latest/samples/boards/bbc/microbit/display/src/
Dmain.c80 struct mb_image pixel = {}; in main() local
81 pixel.row[y] = BIT(x); in main()
83 &pixel, 1); in main()
/Zephyr-latest/boards/shields/rk055hdmipi4m/
Drk055hdmipi4m.overlay61 pixel-format = <PANEL_PIXEL_FORMAT_BGR_565>;
70 dpi-pixel-packet = "24-bit";
76 * (pixel clock * bits per pixel) / MIPI data lanes
87 pixel-format = <MIPI_DSI_PIXFMT_RGB565>;
/Zephyr-latest/boards/shields/rk055hdmipi4ma0/
Drk055hdmipi4ma0.overlay61 pixel-format = <PANEL_PIXEL_FORMAT_BGR_565>;
70 dpi-pixel-packet = "24-bit";
76 * (pixel clock * bits per pixel) / MIPI data lanes
87 pixel-format = <MIPI_DSI_PIXFMT_RGB565>;
/Zephyr-latest/boards/shields/ssd1306/doc/
Dindex.rst9 This is a generic shield for 128x64(/32) pixel resolution OLED displays
22 | 128x64 pixel | ssd1306 | |
25 | 128x32 pixel | ssd1306 | |
28 | 128x64 pixel | ssd1306 | |
/Zephyr-latest/boards/shields/rtkmipilcdb00000be/
Drtkmipilcdb00000be.overlay39 pixel-format = <MIPI_DSI_PIXFMT_RGB888>;
47 input-pixel-format = <PANEL_PIXEL_FORMAT_RGB_888>;
48 output-pixel-format = <PANEL_PIXEL_FORMAT_RGB_888>;
/Zephyr-latest/samples/drivers/video/capture/src/
Dcheck_test_pattern.h124 uint32_t *pixel = in is_colorbar_ok() local
128 sum_lab(&colorbars[i], xrgb32_to_lab(*(pixel + j))); in is_colorbar_ok()
131 uint16_t *pixel = in is_colorbar_ok() local
135 sum_lab(&colorbars[i], rgb565_to_lab(*(pixel + j))); in is_colorbar_ok()
/Zephyr-latest/include/zephyr/drivers/led_strip/
Dtlc5971.h25 int tlc5971_set_global_brightness(const struct device *dev, struct led_rgb pixel);
/Zephyr-latest/tests/drivers/build_all/display/
Dapp.overlay41 pixel-format = <0>;
133 pixel-format = <16>;
179 pixel-format = <0>;
200 pixel-format = <0>;
212 pixel-format = <0>;
225 pixel-format = <0>;
239 pixel-format = <0>;
250 pixel-format = <0>;
/Zephyr-latest/boards/shields/st_b_lcd40_dsi1_mb1166/
Dst_b_lcd40_dsi1_mb1166.overlay32 pixel-format = <MIPI_DSI_PIXFMT_RGB888>;
41 pixel-format = <PANEL_PIXEL_FORMAT_RGB_888>;
Dst_b_lcd40_dsi1_mb1166_a09.overlay32 pixel-format = <MIPI_DSI_PIXFMT_RGB888>;
41 pixel-format = <PANEL_PIXEL_FORMAT_RGB_888>;
/Zephyr-latest/tests/drivers/display/display_read_write/
Dadafruit_2_8_tft_touch_rgb565.overlay10 pixel-format = <ILI9XXX_PIXEL_FORMAT_RGB565>;
/Zephyr-latest/boards/adi/max32680evkit/
DKconfig.defconfig19 default LV_COLOR_DEPTH_16 # 16 bit per pixel
/Zephyr-latest/boards/adi/max32672evkit/
DKconfig.defconfig19 default LV_COLOR_DEPTH_16 # 16 bit per pixel
/Zephyr-latest/boards/adi/max32690evkit/
DKconfig.defconfig19 default LV_COLOR_DEPTH_16 # 16 bit per pixel
/Zephyr-latest/boards/adi/max32662evkit/
DKconfig.defconfig19 default LV_COLOR_DEPTH_16 # 16 bit per pixel
/Zephyr-latest/drivers/video/
Dvideo_sw_generator.c130 uint16_t *pixel = (uint16_t *)&vbuf->buffer[i]; in __fill_buffer_colorbar() local
131 *pixel = rgb565_colorbar_value[color_idx]; in __fill_buffer_colorbar()
134 uint32_t *pixel = (uint32_t *)&vbuf->buffer[i]; in __fill_buffer_colorbar() local
135 *pixel = xrgb32_colorbar_value[color_idx]; in __fill_buffer_colorbar()
/Zephyr-latest/boards/adi/max32672fthr/
DKconfig.defconfig29 default LV_COLOR_DEPTH_1 # 1 byte per pixel

1234