Home
last modified time | relevance | path

Searched full:pixels (Results 1 – 25 of 62) sorted by relevance

123

/Zephyr-Core-3.5.0/include/zephyr/drivers/
Dled_strip.h61 struct led_rgb *pixels,
85 * @brief Update an LED strip made of RGB pixels
88 * This routine may overwrite @a pixels.
91 * given pixels array.
94 * @param pixels Array of pixel data
95 * @param num_pixels Length of pixels array
97 * @warning May overwrite @a pixels
100 struct led_rgb *pixels, in led_strip_update_rgb() argument
105 return api->update_rgb(dev, pixels, num_pixels); in led_strip_update_rgb()
Dvideo.h44 /** frame width in pixels. */
46 /** frame height in pixels. */
68 /** minimum supported frame width in pixels. */
70 /** maximum supported frame width in pixels. */
72 /** minimum supported frame height in pixels. */
74 /** maximum supported frame height in pixels. */
76 /** width step size in pixels. */
78 /** height step size in pixels. */
/Zephyr-Core-3.5.0/cmake/
Dcfb.cmake8 width # Width of the CFB font elements in pixels
9 height # Height of the CFB font elements in pixels
32 width # Width of the CFB font elements in pixels
33 height # Height of the CFB font elements in pixels
50 width # Width of the CFB font elements in pixels
51 height # Height of the CFB font elements in pixels
/Zephyr-Core-3.5.0/samples/drivers/led_ws2812/src/
Dmain.c34 struct led_rgb pixels[STRIP_NUM_PIXELS]; variable
52 memset(&pixels, 0x00, sizeof(pixels)); in main()
53 memcpy(&pixels[cursor], &colors[color], sizeof(struct led_rgb)); in main()
54 rc = led_strip_update_rgb(strip, pixels, STRIP_NUM_PIXELS); in main()
/Zephyr-Core-3.5.0/drivers/led_strip/
Dapa102.c52 static int apa102_update_rgb(const struct device *dev, struct led_rgb *pixels, in apa102_update_rgb() argument
55 uint8_t *p = (uint8_t *)pixels; in apa102_update_rgb()
62 uint8_t r = pixels[i].r; in apa102_update_rgb()
63 uint8_t g = pixels[i].g; in apa102_update_rgb()
64 uint8_t b = pixels[i].b; in apa102_update_rgb()
73 return apa102_update(dev, pixels, sizeof(struct led_rgb) * count); in apa102_update_rgb()
Dlpd880x.c87 struct led_rgb *pixels, in lpd880x_strip_update_rgb() argument
90 uint8_t *px = (uint8_t *)pixels; in lpd880x_strip_update_rgb()
95 * Overwrite a prefix of the pixels array with its on-wire in lpd880x_strip_update_rgb()
99 r = 0x80 | (pixels[i].r >> 1); in lpd880x_strip_update_rgb()
100 g = 0x80 | (pixels[i].g >> 1); in lpd880x_strip_update_rgb()
101 b = 0x80 | (pixels[i].b >> 1); in lpd880x_strip_update_rgb()
112 return lpd880x_update(dev, pixels, 3 * num_pixels); in lpd880x_strip_update_rgb()
Dws2812_gpio.c147 struct led_rgb *pixels, in ws2812_gpio_update_rgb() argument
151 uint8_t *ptr = (uint8_t *)pixels; in ws2812_gpio_update_rgb()
165 *ptr++ = pixels[i].r; in ws2812_gpio_update_rgb()
168 *ptr++ = pixels[i].g; in ws2812_gpio_update_rgb()
171 *ptr++ = pixels[i].b; in ws2812_gpio_update_rgb()
179 return send_buf(dev, (uint8_t *)pixels, num_pixels * config->num_colors); in ws2812_gpio_update_rgb()
Dtlc5971.c41 * @brief Number of RGB pixels per TLC5791 device
180 * @param pixels pixel RGB data for daisy chain
181 * @param num_pixels number of pixels in daisy chain
183 static void tlc5971_fill_data_buffer(const struct device *dev, struct led_rgb *pixels, in tlc5971_fill_data_buffer() argument
209 &pixels[(device * TLC5971_PIXELS_PER_DEVICE) + pixel]; in tlc5971_fill_data_buffer()
249 static int tlc5971_update_rgb(const struct device *dev, struct led_rgb *pixels, size_t num_pixels) in tlc5971_update_rgb() argument
254 LOG_ERR("invalid number of pixels, %zu vs actual %i", num_pixels, cfg->num_pixels); in tlc5971_update_rgb()
258 tlc5971_fill_data_buffer(dev, pixels, num_pixels); in tlc5971_update_rgb()
Dws2812_spi.c95 struct led_rgb *pixels, in ws2812_strip_update_rgb() argument
132 pixel = pixels[i].r; in ws2812_strip_update_rgb()
135 pixel = pixels[i].g; in ws2812_strip_update_rgb()
138 pixel = pixels[i].b; in ws2812_strip_update_rgb()
Dws2812_i2s.c69 static int ws2812_strip_update_rgb(const struct device *dev, struct led_rgb *pixels, in ws2812_strip_update_rgb() argument
118 pixel = pixels[i].r; in ws2812_strip_update_rgb()
121 pixel = pixels[i].g; in ws2812_strip_update_rgb()
124 pixel = pixels[i].b; in ws2812_strip_update_rgb()
/Zephyr-Core-3.5.0/dts/bindings/display/
Ddisplay-controller.yaml11 Height of the panel driven by the controller, with the units in pixels.
17 Width of the panel driven by the controller, with the units in pixels.
Dsitronix,st7789v.yaml35 description: The column offset in pixels of the LCD to the controller memory
40 description: The row offset in pixels of the LCD to the controller memory
Dftdi,ft800.yaml52 description: Number of visible lines of pixels in one frame
89 Number of PCLK cycles before pixels are scanned out for
Dsitronix,st7735r.yaml31 description: The column offset in pixels of the LCD to the controller memory
36 description: The row offset in pixels of the LCD to the controller memory
/Zephyr-Core-3.5.0/include/zephyr/display/
Dcfb.h62 * @param _width Width of the font in pixels
63 * @param _height Height of the font in pixels.
150 * @brief Invert Pixels.
159 * @brief Invert Pixels in selected area.
164 * @param width Width of area in pixels
165 * @param height Height of area in pixels
174 * invert or reorder pixels if necessary.
/Zephyr-Core-3.5.0/include/zephyr/drivers/dma/
Ddma_mcux_pxp.h24 * source burst length: height of source buffer in pixels
26 * dest burst length: height of destination buffer in pixels
/Zephyr-Core-3.5.0/dts/bindings/led_strip/
Dti,tlc5971.yaml8 tree node. Length of daisy chains in pixels is defined by the chain-length
14 Example device tree node w. 24 pixels (6 TLC5971 devices):
/Zephyr-Core-3.5.0/dts/bindings/display/panel/
Dpanel-timing.yaml44 controller, in pixels
58 in pixels
71 in pixels
/Zephyr-Core-3.5.0/include/zephyr/drivers/misc/ft8xx/
Dft8xx_copro.h91 * @param x x-coordinate of text base, in pixels
92 * @param y y-coordinate of text base, in pixels
116 * @param x x-coordinate of text base, in pixels
117 * @param y y-coordinate of text base, in pixels
/Zephyr-Core-3.5.0/drivers/display/
Ddisplay_ili9488.h29 /** X resolution (pixels). */
31 /** Y resolution (pixels). */
Ddisplay_ili9340.h33 /** X resolution (pixels). */
35 /** Y resolution (pixels). */
Ddisplay_ili9342c.h45 /** X resolution (pixels). */
47 /** Y resolution (pixels). */
DKconfig.nrf_led_matrix15 to pixels are specified in properties of a "nordic,nrf-led-matrix"
/Zephyr-Core-3.5.0/samples/boards/bbc_microbit/display/
DREADME.rst27 through all pixels one-by-one, displays a smiley face, some animations,
/Zephyr-Core-3.5.0/scripts/build/
Dgen_cfb_font_header.py20 pixels = blackwhite.load()
41 if pixels[col, row]:
54 if pixels[col, row]:
240 help="width of the CFB font elements in pixels")
243 help="height of the CFB font elements in pixels")

123