| /Zephyr-4.2.1/tests/drivers/display/display_read_write/src/ |
| D | main.c | 16 static const uint32_t display_width = DT_PROP(DT_CHOSEN(zephyr_display), width); 21 static uint8_t disp_buffer[DT_PROP(DT_CHOSEN(zephyr_display), width) * 29 static inline size_t buffer_size(size_t width, size_t height) in buffer_size() argument 32 return DIV_ROUND_UP(width * height, 8U); in buffer_size() 35 return width * height * bpp; in buffer_size() 59 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 63 .pitch = width, in verify_bytes_of_area() 64 .width = width, in verify_bytes_of_area() 65 .buf_size = buffer_size(width, height), in verify_bytes_of_area() 72 zassert_mem_equal(data, disp_buffer, buffer_size(width, height)); in verify_bytes_of_area() [all …]
|
| /Zephyr-4.2.1/tests/subsys/display/cfb/basic/src/ |
| D | utils.c | 17 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 …]
|
| D | utils.h | 14 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-4.2.1/samples/drivers/video/capture_to_lvgl/ |
| D | README.rst | 57 [00:00:02.779,000] <inf> main: RGBP width [160; 160; 0] height [120; 120; 0] 58 [00:00:02.779,000] <inf> main: RGBP width [176; 176; 0] height [144; 144; 0] 59 [00:00:02.780,000] <inf> main: RGBP width [240; 240; 0] height [160; 160; 0] 60 [00:00:02.780,000] <inf> main: RGBP width [320; 320; 0] height [240; 240; 0] 61 [00:00:02.780,000] <inf> main: RGBP width [352; 352; 0] height [288; 288; 0] 62 [00:00:02.780,000] <inf> main: RGBP width [640; 640; 0] height [480; 480; 0] 63 [00:00:02.780,000] <inf> main: RGBP width [800; 800; 0] height [600; 600; 0] 64 [00:00:02.780,000] <inf> main: RGBP width [1024; 1024; 0] height [768; 768; 0] 65 [00:00:02.780,000] <inf> main: RGBP width [1280; 1280; 0] height [1024; 1024; 0] 66 [00:00:02.780,000] <inf> main: RGBP width [1600; 1600; 0] height [1200; 1200; 0] [all …]
|
| /Zephyr-4.2.1/drivers/video/ |
| D | video_sw_generator.c | 140 static inline int video_sw_generator_get_color_idx(uint16_t w, uint16_t width, bool hflip) in video_sw_generator_get_color_idx() argument 143 w = (hflip) ? (width - w - 1) : (w); in video_sw_generator_get_color_idx() 146 return 8 * w / width; in video_sw_generator_get_color_idx() 149 static uint16_t video_sw_generator_fill_yuyv(uint8_t *buffer, uint16_t width, bool hflip) in video_sw_generator_fill_yuyv() argument 151 if (width % 2 != 0) { in video_sw_generator_fill_yuyv() 156 for (size_t w = 0; w < width; w += 2) { in video_sw_generator_fill_yuyv() 157 int color_idx = video_sw_generator_get_color_idx(w, width, hflip); in video_sw_generator_fill_yuyv() 167 static uint16_t video_sw_generator_fill_xrgb32(uint8_t *buffer, uint16_t width, bool hflip) in video_sw_generator_fill_xrgb32() argument 169 for (size_t w = 0; w < width; w++) { in video_sw_generator_fill_xrgb32() 170 int color_idx = video_sw_generator_get_color_idx(w, width, hflip); in video_sw_generator_fill_xrgb32() [all …]
|
| /Zephyr-4.2.1/doc/_doxygen/ |
| D | doxygen-awesome-sidebar-only.css | 31 /* 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-4.2.1/drivers/display/ |
| D | display_dummy.c | 18 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), \
|
| D | display_hub12.c | 31 #define HUB12_BYTES_PER_ROW(width) (((width) / HUB12_PANEL_WIDTH) * HUB12_BYTES_PER_PANEL) argument 32 #define HUB12_CACHE_SIZE(width) (HUB12_ROWS * HUB12_BYTES_PER_ROW(width)) argument 45 uint16_t width; member 150 size_t fb_size = config->width * config->height / HUB12_PIXELS_PER_BYTE; in hub12_write() 152 if (x >= config->width || y >= config->height) { in hub12_write() 156 if ((x + desc->width) > config->width || (y + desc->height) > config->height) { in hub12_write() 160 if (desc->pitch != desc->width) { in hub12_write() 165 if (desc->buf_size < (desc->width * desc->height / HUB12_PIXELS_PER_BYTE)) { in hub12_write() 172 if (x == 0 && y == 0 && desc->width == config->width && desc->height == config->height) { in hub12_write() 177 size_t dest_pitch_bytes = config->width / HUB12_PIXELS_PER_BYTE; in hub12_write() [all …]
|
| D | display_led_strip_matrix.c | 26 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 …]
|
| D | display_intel_multibootfb.c | 20 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),
|
| D | display_sdl.c | 48 uint16_t width; member 89 .width = task->write.desc->width, in exec_sdl_task() 140 .width = config->width, in sdl_task_thread() 236 for (w_idx = 0U; w_idx < desc->width; ++w_idx) { in sdl_display_write_rgb888() 260 for (w_idx = 0U; w_idx < desc->width; ++w_idx) { in sdl_display_write_al88() 286 for (w_idx = 0U; w_idx < desc->width; ++w_idx) { in sdl_display_write_rgb565() 311 for (w_idx = 0U; w_idx < desc->width; ++w_idx) { in sdl_display_write_bgr565() 335 for (w_idx = 0U; w_idx < desc->width; ++w_idx) { in sdl_display_write_mono() 363 for (w_idx = 0U; w_idx < desc->width; ++w_idx) { in sdl_display_write_l8() 388 LOG_DBG("Writing %dx%d (w,h) bitmap @ %dx%d (x,y)", desc->width, in sdl_display_write() [all …]
|
| D | display_sdl_bottom.c | 16 static int sdl_create_rounded_display_mask(uint16_t width, uint16_t height, uint32_t mask_color, in sdl_create_rounded_display_mask() argument 20 SDL_TEXTUREACCESS_STREAMING, width, height); in sdl_create_rounded_display_mask() 38 float cx = width / 2.0f; in sdl_create_rounded_display_mask() 40 float rx = width / 2.0f; in sdl_create_rounded_display_mask() 46 for (int px = 0; px < width; px++) { in sdl_create_rounded_display_mask() 74 params->width * params->zoom_pct / 100, in sdl_display_init_bottom() 103 SDL_RenderSetLogicalSize(*params->renderer, params->width, params->height); in sdl_display_init_bottom() 107 SDL_TEXTUREACCESS_STATIC, params->width, params->height); in sdl_display_init_bottom() 116 SDL_TEXTUREACCESS_TARGET, params->width, params->height); in sdl_display_init_bottom() 124 SDL_TEXTUREACCESS_STREAMING, params->width, params->height); in sdl_display_init_bottom() [all …]
|
| D | display_st75256.c | 77 uint16_t width; member 138 static int st75256_set_window(const struct device *dev, int x, int y, int width, int height) in st75256_set_window() argument 142 uint8_t x_position[] = {x, x + width - 1}; in st75256_set_window() 187 st75256_set_window(dev, x, y + i * 8, desc->width, desc->height); in st75256_write_pixels_MONO01() 189 mipi_desc.buf_size = desc->width; in st75256_write_pixels_MONO01() 190 mipi_desc.width = desc->width; in st75256_write_pixels_MONO01() 216 st75256_set_window(dev, x, y, desc->width, desc->height); in st75256_write_pixels_L_8() 224 for (; l * desc->width / 4 < config->conversion_buf_size && in st75256_write_pixels_L_8() 229 for (int i = 0; i < desc->width && in st75256_write_pixels_L_8() 230 i + l * desc->width / 4 < config->conversion_buf_size; in st75256_write_pixels_L_8() [all …]
|
| /Zephyr-4.2.1/samples/subsys/usb/uvc/src/ |
| D | main.c | 78 static int app_add_format(uint32_t pixfmt, uint32_t width, uint32_t height, bool has_sup_fmts) in app_add_format() argument 83 .width = width, in app_add_format() 99 fmt.width, fmt.height, fmt.size); in app_add_format() 104 LOG_WRN("Skipping format %ux%u", fmt.width, fmt.height); in app_add_format() 117 uint16_t width; member 122 { .width = 160, .height = 120, }, /* QQVGA */ 123 { .width = 320, .height = 240, }, /* QVGA */ 124 { .width = 640, .height = 480, }, /* VGA */ 125 { .width = 854, .height = 480, }, /* WVGA */ 126 { .width = 800, .height = 600, }, /* SVGA */ [all …]
|
| /Zephyr-4.2.1/samples/drivers/pwm/capture/src/ |
| D | main.c | 28 uint32_t width = 0; in main() local 33 &period, &width, Z_TIMEOUT_MS(500)); in main() 47 width); in main() 51 (double)(width * 100) / (double)period); in main()
|
| /Zephyr-4.2.1/drivers/crc/ |
| D | crc_sf32lb.c | 43 uint8_t width; member 47 static inline uint32_t crc_sf32lb_mask(uint8_t width) in crc_sf32lb_mask() argument 49 if (width >= 32U) { in crc_sf32lb_mask() 53 return BIT_MASK(width); in crc_sf32lb_mask() 56 static int crc_sf32lb_prepare_config(const struct crc_ctx *ctx, uint8_t *polysize, uint8_t *width, in crc_sf32lb_prepare_config() argument 70 *width = 8U; in crc_sf32lb_prepare_config() 85 *width = 16U; in crc_sf32lb_prepare_config() 90 *width = 32U; in crc_sf32lb_prepare_config() 97 *width = 32U; in crc_sf32lb_prepare_config() 122 mask = crc_sf32lb_mask(data->width); in crc_sf32lb_get_result() [all …]
|
| /Zephyr-4.2.1/subsys/shell/modules/ |
| D | devmem_service.c | 35 static int memory_dump(const struct shell *sh, mem_addr_t phys_addr, size_t size, uint8_t width) in memory_dump() argument 40 const size_t vsize = width / BITS_PER_BYTE; in memory_dump() 56 switch (width) { in memory_dump() 92 size_t width = 32; in cmd_dump() local 115 width = (size_t)shell_strtoul(sys_getopt_optarg, 0, &err); in cmd_dump() 137 return memory_dump(sh, addr, size, width); in cmd_dump() 245 static int memory_read(const struct shell *sh, mem_addr_t addr, uint8_t width) in memory_read() argument 250 switch (width) { in memory_read() 278 static int memory_write(const struct shell *sh, mem_addr_t addr, uint8_t width, uint64_t value) in memory_write() argument 282 switch (width) { in memory_write() [all …]
|
| /Zephyr-4.2.1/tests/drivers/build_all/display/ |
| D | app.overlay | 43 width = <320>; 52 width = <480>; 70 width = <160>; 79 width = <128>; 106 width = <250>; 115 width = <400>; 135 width = <240>; 143 width = <128>; 159 width = <128>; 174 width = <256>; [all …]
|
| /Zephyr-4.2.1/scripts/build/ |
| D | gen_cfb_font_header.py | 21 width, height = image.size 36 for octet in range(0, int(width / 8)): 47 for col in range(0, width): 93 width = 8 * int((fw_max + 7) / 8) 96 width = fw_max 100 if width != args.width: 106 image = Image.new('1', (width, height), 'white') 118 xpos = (width - fw) / 2 + 1 131 glyph = image.crop((x_offset, 0, x_offset + args.width, args.height)) 133 x_offset += args.width [all …]
|
| /Zephyr-4.2.1/tests/drivers/video/api/src/ |
| D | video_common.c | 37 fmt.width = 100; in ZTEST() 43 fmt.width = 1000; in ZTEST() 49 fmt.width = 1920; in ZTEST() 55 fmt.width = 1001; in ZTEST() 60 fmt.width = 1000; in ZTEST() 65 fmt.width = 1280; in ZTEST() 73 fmt.width = 1000; in ZTEST() 78 fmt.width = 1280; in ZTEST()
|
| /Zephyr-4.2.1/modules/lvgl/ |
| D | lvgl_display_mono.c | 17 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 24 buf = dst_buf + x + y / 8 * width; in set_px_at_pos() 32 buf = dst_buf + x / 8 + y * width / 8; in set_px_at_pos() 52 static void lvgl_transform_buffer(uint8_t **px_map, uint32_t width, uint32_t height, in lvgl_transform_buffer() argument 67 uint32_t stride = (width + CONFIG_LV_DRAW_BUF_STRIDE_ALIGN - 1) & in lvgl_transform_buffer() 71 for (uint32_t x = 0; x < width; x++) { in lvgl_transform_buffer() 76 set_px_at_pos(mono_conv_buf, x, y, width, caps); in lvgl_transform_buffer() 108 .width = w, in lvgl_flush_cb_mono()
|
| /Zephyr-4.2.1/doc/connectivity/bluetooth/img/ |
| D | att_timeout.svg | 1 …width="421.4523278203424" height="300.077684621"><desc>participant%20App%0Aparticipant%20Host%0Apa…
|
| /Zephyr-4.2.1/dts/arm/microchip/sam/sam_d5x_e5x/common/ |
| D | samd5xe5x_j.dtsi | 18 max-bit-width = <16>; 29 max-bit-width = <16>; 41 max-bit-width = <16>; 53 max-bit-width = <16>;
|
| /Zephyr-4.2.1/doc/services/ipc/ipc_service/backends/ |
| D | icbmsg_memory.svg | 1 …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 …]
|
| /Zephyr-4.2.1/samples/drivers/video/capture_to_lvgl/src/ |
| D | main.c | 85 sel.rect.width = CONFIG_VIDEO_SOURCE_CROP_WIDTH; in main() 92 sel.rect.left, sel.rect.top, sel.rect.width, sel.rect.height); in main() 96 fmt.width = CONFIG_VIDEO_WIDTH; in main() 111 if (err == 0 && (sel.rect.width != fmt.width || sel.rect.height != fmt.height)) { in main() 115 sel.rect.width = fmt.width; in main() 130 (char)(fmt.pixelformat >> 16), (char)(fmt.pixelformat >> 24), fmt.width, fmt.height, in main()
|