Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 406) sorted by relevance

12345678910>>...17

/Zephyr-latest/tests/drivers/display/display_read_write/src/
Dmain.c15 static const uint32_t display_width = DT_PROP(DT_CHOSEN(zephyr_display), width);
20 static uint8_t disp_buffer[DT_PROP(DT_CHOSEN(zephyr_display), width) *
46 static void verify_bytes_of_area(uint8_t *data, int cmp_x, int cmp_y, size_t width, size_t height) in verify_bytes_of_area() argument
50 .pitch = width, in verify_bytes_of_area()
51 .width = width, in verify_bytes_of_area()
52 .buf_size = height * width * bpp, in verify_bytes_of_area()
60 zassert_mem_equal(data, disp_buffer, width * height / 8, NULL); in verify_bytes_of_area()
62 zassert_mem_equal(data, disp_buffer, width * height * bpp, NULL); in verify_bytes_of_area()
66 static void verify_background_color(int x, int y, size_t width, size_t height, uint32_t color) in verify_background_color() argument
68 size_t buf_size = is_tiled ? (height * width / 8) : (height * width * bpp); in verify_background_color()
[all …]
/Zephyr-latest/tests/subsys/display/cfb/basic/src/
Dutils.c17 static const uint32_t display_width = DT_PROP(DT_CHOSEN(zephyr_display), width);
19 uint8_t read_buffer[DT_PROP(DT_CHOSEN(zephyr_display), width) *
45 uint32_t image_pixel(const uint32_t *img, size_t width, int x, int y) in image_pixel() argument
47 const uint32_t *ptr = img + (width * y + x); in image_pixel()
57 .width = display_width, in verify_pixel()
66 bool verify_image(int cmp_x, int cmp_y, const uint32_t *img, size_t width, size_t height) in verify_image() argument
71 .width = display_width, in verify_image()
78 for (size_t x = 0; x < width; x++) { in verify_image()
80 uint32_t img_pix = image_pixel(img, width, x, y); in verify_image()
85 LOG_INF("disp@(0, %d) %p", y, read_buffer + (y * width / 8)); in verify_image()
[all …]
Dutils.h14 extern uint8_t read_buffer[DT_PROP(DT_CHOSEN(zephyr_display), width) *
18 uint32_t image_pixel(const uint32_t *img, size_t width, int x, int y);
20 bool verify_image(int x, int y, const uint32_t *img, size_t width, size_t height);
21 bool verify_color_inside_rect(int x, int y, size_t width, size_t height, uint32_t color);
22 bool verify_color_outside_rect(int x, int y, size_t width, size_t height, uint32_t color);
23 bool verify_image_and_bg(int x, int y, const uint32_t *img, size_t width, size_t height,
/Zephyr-latest/samples/drivers/video/capture_to_lvgl/
DREADME.rst47 [00:00:02.779,000] <inf> main: RGBP width [160; 160; 0] height [120; 120; 0]
48 [00:00:02.779,000] <inf> main: RGBP width [176; 176; 0] height [144; 144; 0]
49 [00:00:02.780,000] <inf> main: RGBP width [240; 240; 0] height [160; 160; 0]
50 [00:00:02.780,000] <inf> main: RGBP width [320; 320; 0] height [240; 240; 0]
51 [00:00:02.780,000] <inf> main: RGBP width [352; 352; 0] height [288; 288; 0]
52 [00:00:02.780,000] <inf> main: RGBP width [640; 640; 0] height [480; 480; 0]
53 [00:00:02.780,000] <inf> main: RGBP width [800; 800; 0] height [600; 600; 0]
54 [00:00:02.780,000] <inf> main: RGBP width [1024; 1024; 0] height [768; 768; 0]
55 [00:00:02.780,000] <inf> main: RGBP width [1280; 1280; 0] height [1024; 1024; 0]
56 [00:00:02.780,000] <inf> main: RGBP width [1600; 1600; 0] height [1200; 1200; 0]
[all …]
/Zephyr-latest/doc/_doxygen/
Ddoxygen-awesome-sidebar-only.css31 /* side nav width. MUST be = `TREEVIEW_WIDTH`.
34 --side-nav-fixed-width: 335px;
47 @media screen and (min-width: 768px) {
53 min-width: var(--side-nav-fixed-width);
54 max-width: var(--side-nav-fixed-width);
72 max-width: var(--side-nav-fixed-width);
83 width: 1px !important;
91 left: var(--side-nav-fixed-width);
93 width: auto;
101 margin-left: var(--side-nav-fixed-width) !important;
[all …]
/Zephyr-latest/drivers/display/
Ddisplay_dummy.c18 uint16_t width; member
41 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in dummy_display_write()
42 __ASSERT(desc->pitch <= config->width, in dummy_display_write()
46 __ASSERT(x + desc->pitch <= config->width, in dummy_display_write()
51 if (desc->width > desc->pitch || in dummy_display_write()
52 x + desc->pitch > config->width || in dummy_display_write()
89 capabilities->x_resolution = config->width; in dummy_display_get_capabilities()
122 .width = DT_INST_PROP(n, width), \
Ddisplay_sdl_bottom.c16 int sdl_display_init_bottom(uint16_t height, uint16_t width, uint16_t zoom_pct, in sdl_display_init_bottom() argument
23 SDL_WINDOWPOS_UNDEFINED, width * zoom_pct / 100, in sdl_display_init_bottom()
48 SDL_RenderSetLogicalSize(*renderer, width, height); in sdl_display_init_bottom()
51 SDL_TEXTUREACCESS_STATIC, width, height); in sdl_display_init_bottom()
59 SDL_TEXTUREACCESS_TARGET, width, height); in sdl_display_init_bottom()
66 SDL_TEXTUREACCESS_STREAMING, width, height); in sdl_display_init_bottom()
84 for (int x = 0; x < width; x++) { in sdl_display_init_bottom()
105 void sdl_display_write_bottom(const uint16_t height, const uint16_t width, const uint16_t x, in sdl_display_write_bottom() argument
115 rect.w = width; in sdl_display_write_bottom()
136 int sdl_display_read_bottom(const uint16_t height, const uint16_t width, in sdl_display_read_bottom() argument
[all …]
Ddisplay_led_strip_matrix.c26 uint16_t width; member
40 const size_t mods_per_row = config->width / config->module_width; in pixel_index()
91 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in check_descriptor()
92 __ASSERT(desc->pitch <= config->width, "Pitch in descriptor is larger than screen size"); in check_descriptor()
94 __ASSERT(x + desc->pitch <= config->width, in check_descriptor()
99 if (desc->width > desc->pitch || x + desc->pitch > config->width || in check_descriptor()
121 for (size_t xpos = x; xpos < (x + desc->width); xpos++) { in led_strip_matrix_write()
141 buf_ptr += (desc->pitch - desc->width) * in led_strip_matrix_write()
147 config->width * config->height); in led_strip_matrix_write()
170 for (size_t xpos = x; xpos < (x + desc->width); xpos++) { in led_strip_matrix_read()
[all …]
Ddisplay_sdl.c27 uint16_t width; member
81 int rc = sdl_display_init_bottom(config->height, config->width, sdl_display_zoom_pct, in sdl_display_init()
120 for (w_idx = 0U; w_idx < desc->width; ++w_idx) { in sdl_display_write_rgb888()
145 for (w_idx = 0U; w_idx < desc->width; ++w_idx) { in sdl_display_write_rgb565()
170 for (w_idx = 0U; w_idx < desc->width; ++w_idx) { in sdl_display_write_bgr565()
206 for (w_idx = 0U; w_idx < desc->width; ++w_idx) { in sdl_display_write_mono()
217 disp_buf += (desc->width * 4U); in sdl_display_write_mono()
222 disp_buf += 7 * (desc->width * 4U); in sdl_display_write_mono()
234 LOG_DBG("Writing %dx%d (w,h) bitmap @ %dx%d (x,y)", desc->width, in sdl_display_write()
237 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in sdl_display_write()
[all …]
Ddisplay_intel_multibootfb.c20 uint16_t width; member
56 caps->x_resolution = config->width; in framebuf_get_capabilities()
78 (void) memcpy(dst, src, desc->width * sizeof(uint32_t)); in framebuf_write()
100 (void) memcpy(dst, src, desc->width * sizeof(uint32_t)); in framebuf_read()
123 (info->fb_width >= config->width) && in multiboot_framebuf_init()
136 adj_x = info->fb_width - config->width; in multiboot_framebuf_init()
152 .width = DT_INST_PROP(0, width),
Ddisplay_sdl_bottom.h23 int sdl_display_init_bottom(uint16_t height, uint16_t width, uint16_t zoom_pct,
28 void sdl_display_write_bottom(const uint16_t height, const uint16_t width, const uint16_t x,
32 int sdl_display_read_bottom(const uint16_t height, const uint16_t width, const uint16_t x,
Dssd1327.c31 uint16_t width; member
151 config->width - 1 in ssd1327_set_display()
178 uint8_t x_position[] = { x, x + desc->width - 1 }; in ssd1327_write()
181 if (desc->pitch < desc->width) { in ssd1327_write()
188 buf_len = MIN(desc->buf_size, desc->height * desc->width / 2); in ssd1327_write()
195 if (desc->pitch > desc->width) { in ssd1327_write()
205 mipi_desc.width = desc->width; in ssd1327_write()
208 desc->width, desc->height, buf_len); in ssd1327_write()
239 caps->x_resolution = config->width; in ssd1327_get_capabilities()
339 .width = DT_PROP(node_id, width), \
/Zephyr-latest/scripts/build/
Dgen_cfb_font_header.py22 width, height = image.size
37 for octet in range(0, int(width / 8)):
48 for col in range(0, width):
93 width = 8 * int((fw_max + 7) / 8)
96 width = fw_max
100 if width != args.width:
101 raise Exception('text width {} mismatch with -x {}'.format(width, args.width))
106 image = Image.new('1', (width, height), 'white')
118 xpos = (width - fw) / 2 + 1
130 glyph = image.crop((x_offset, 0, x_offset + args.width, args.height))
[all …]
/Zephyr-latest/subsys/shell/modules/
Ddevmem_service.c43 static int memory_dump(const struct shell *sh, mem_addr_t phys_addr, size_t size, uint8_t width) in memory_dump() argument
48 const size_t vsize = width / BITS_PER_BYTE; in memory_dump()
64 switch (width) { in memory_dump()
102 size_t width = 32; in cmd_dump() local
126 width = (size_t)shell_strtoul(optarg, 0, &err); in cmd_dump()
148 return memory_dump(sh, addr, size, width); in cmd_dump()
258 static int memory_read(const struct shell *sh, mem_addr_t addr, uint8_t width) in memory_read() argument
263 switch (width) { in memory_read()
286 static int memory_write(const struct shell *sh, mem_addr_t addr, uint8_t width, uint64_t value) in memory_write() argument
290 switch (width) { in memory_write()
[all …]
/Zephyr-latest/soc/litex/litex_vexriscv/
Dsoc.h21 #error CSR data width less than 8 in litex_read8()
33 #error Unsupported CSR data width in litex_read16()
47 #error Unsupported CSR data width in litex_read32()
67 #error Unsupported CSR data width in litex_read64()
76 #error CSR data width less than 8 in litex_write8()
88 #error Unsupported CSR data width in litex_write16()
102 #error Unsupported CSR data width in litex_write32()
123 #error Unsupported CSR data width in litex_write64()
/Zephyr-latest/tests/drivers/build_all/display/
Dapp.overlay43 width = <320>;
52 width = <480>;
70 width = <160>;
79 width = <128>;
106 width = <250>;
115 width = <400>;
135 width = <240>;
144 width = <240>;
158 width = <128>;
181 width = <320>;
[all …]
/Zephyr-latest/modules/lvgl/
Dlvgl_display_mono.c15 static ALWAYS_INLINE void set_px_at_pos(uint8_t *dst_buf, uint32_t x, uint32_t y, uint32_t width, in set_px_at_pos() argument
22 buf = dst_buf + x + y / 8 * width; in set_px_at_pos()
30 buf = dst_buf + x / 8 + y * width / 8; in set_px_at_pos()
46 static void lvgl_transform_buffer(uint8_t **px_map, uint32_t width, uint32_t height, in lvgl_transform_buffer() argument
56 uint32_t stride = (width + CONFIG_LV_DRAW_BUF_STRIDE_ALIGN - 1) & in lvgl_transform_buffer()
60 for (uint32_t x = 0; x < width; x++) { in lvgl_transform_buffer()
65 set_px_at_pos(mono_conv_buf, x, y, width, caps); in lvgl_transform_buffer()
97 .width = w, in lvgl_flush_cb_mono()
/Zephyr-latest/tests/drivers/video/api/src/
Dvideo_common.c37 fmt.width = 100; in ZTEST()
44 fmt.width = 1000; in ZTEST()
51 fmt.width = 1920; in ZTEST()
58 fmt.width = 1001; in ZTEST()
64 fmt.width = 1000; in ZTEST()
70 fmt.width = 1280; in ZTEST()
79 fmt.width = 1000; in ZTEST()
85 fmt.width = 1280; in ZTEST()
/Zephyr-latest/doc/connectivity/bluetooth/img/
Datt_timeout.svg1width="421.4523278203424" height="300.077684621"><desc>participant%20App%0Aparticipant%20Host%0Apa…
/Zephyr-latest/doc/services/ipc/ipc_service/backends/
Dicbmsg_memory.svg1 …w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="649px" height="26…
4 … <rect x="7" y="120" width="120" height="40" fill="none" stroke="#000000" pointer-events="all"/>
7 …<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.or…
8 …isplay: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1p…
21 … <rect x="127" y="120" width="200" height="40" fill="none" stroke="#000000" pointer-events="all"/>
24 …<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.or…
25 …isplay: flex; align-items: unsafe center; justify-content: unsafe center; width: 198px; height: 1p…
38 … <rect x="47" y="220" width="80" height="40" fill="none" stroke="#000000" pointer-events="all"/>
41 …<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.or…
42 …isplay: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px…
[all …]
Dicbmsg_message.svg1 …w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="561px" height="18…
4 <rect x="0" y="1" width="80" height="40" fill="none" stroke="#000000" pointer-events="all"/>
7 …<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.or…
8 …isplay: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px…
21 … <rect x="80" y="1" width="80" height="40" fill="none" stroke="#000000" pointer-events="all"/>
24 …<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.or…
25 …isplay: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px…
38 … <rect x="160" y="1" width="80" height="40" fill="none" stroke="#000000" pointer-events="all"/>
41 …<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.or…
42 …isplay: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px…
[all …]
/Zephyr-latest/drivers/video/
Dvideo_emul_imager.c140 #define EMUL_IMAGER_VIDEO_FORMAT_CAP(width, height, format) \ argument
143 .width_min = (width), \
144 .width_max = (width), \
229 *(int64_t *)value = (int64_t)data->fmt.width * data->fmt.pitch * data->mode->fps; in emul_imager_get_ctrl()
334 for (size_t i = 0; i < fmt->width; i++) { in emul_imager_fill_framebuffer()
335 y = pattern_8bars_yuv[i * 8 / fmt->width][0]; in emul_imager_fill_framebuffer()
336 uv = pattern_8bars_yuv[i * 8 / fmt->width][1 + i % 2]; in emul_imager_fill_framebuffer()
341 for (size_t i = 0; i < fmt->width; i++) { in emul_imager_fill_framebuffer()
342 r = pattern_8bars_rgb[i * 8 / fmt->width][0] >> (8 - 5); in emul_imager_fill_framebuffer()
343 g = pattern_8bars_rgb[i * 8 / fmt->width][1] >> (8 - 6); in emul_imager_fill_framebuffer()
[all …]
/Zephyr-latest/drivers/dma/
Ddma_mcux_lpc.c49 uint32_t width; member
147 uint32_t width = data->width; in dma_mcux_lpc_queue_descriptors() local
148 uint32_t max_xfer_bytes = NXP_LPC_DMA_MAX_XFER * width; in dma_mcux_lpc_queue_descriptors()
217 width = sizeof(uint32_t); in dma_mcux_lpc_queue_descriptors()
248 width, in dma_mcux_lpc_queue_descriptors()
293 width, in dma_mcux_lpc_queue_descriptors()
321 data->width = 0; in dma_mcux_lpc_clear_channel_data()
338 uint8_t width; in dma_mcux_lpc_configure() local
356 width = config->dest_data_size; in dma_mcux_lpc_configure()
366 max_xfer_bytes = NXP_LPC_DMA_MAX_XFER * width; in dma_mcux_lpc_configure()
[all …]
/Zephyr-latest/doc/connectivity/networking/conn_mgr/figures/
Dintegration_diagram_detailed.drawio8 <mxGeometry x="516" y="-192" width="465" height="407" as="geometry" />
11 <mxGeometry x="544" y="260" width="310" height="177" as="geometry" />
14 <mxGeometry x="646" y="-68" width="164" height="30" as="geometry" />
17 <mxGeometry x="285" y="-122" width="116" height="559" as="geometry" />
20 <mxGeometry x="634" y="273" width="208" height="75" as="geometry" />
23 <mxGeometry x="641" y="289" width="60" height="30" as="geometry" />
26 <mxGeometry x="775" y="289" width="60" height="30" as="geometry" />
29 <mxGeometry x="708" y="289" width="60" height="30" as="geometry" />
32 <mxGeometry x="634" y="361" width="208" height="70" as="geometry" />
35 <mxGeometry x="641" y="389" width="60" height="30" as="geometry" />
[all …]
/Zephyr-latest/cmake/
Dcfb.cmake8 width # Width of the CFB font elements in pixels
20 --width ${width}
32 width # Width of the CFB font elements in pixels
38 generate_cfb_font(${input_file} ${output_file} ${width} ${height} ${ARGN})
50 width # Width of the CFB font elements in pixels
64 ${width} ${height} ${generated_target_name} ${ARGN})

12345678910>>...17