Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 220) sorted by relevance

123456789

/Zephyr-latest/tests/drivers/display/display_read_write/src/
Dmain.c16 static const uint32_t display_height = DT_PROP(DT_CHOSEN(zephyr_display), height);
21 DT_PROP(DT_CHOSEN(zephyr_display), height) * 4]
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
49 .height = height, 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()
70 .height = height, in verify_background_color()
[all …]
/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/tests/lib/json/src/
Dmain.c42 int height; member
104 JSON_OBJ_DESCR_PRIM(struct elt, height, JSON_TOK_NUMBER),
432 [0] = { { .name = "Sim\303\263n Bol\303\255var", .height = 168 } }, in ZTEST()
433 [1] = { { .name = "Pel\303\251", .height = 173 } }, in ZTEST()
434 [2] = { { .name = "Usain Bolt", .height = 195 } }, in ZTEST()
475 zassert_equal(obj_array_array_ts.objects_array[0].objects.height, 168, in ZTEST()
480 zassert_equal(obj_array_array_ts.objects_array[1].objects.height, 173, in ZTEST()
485 zassert_equal(obj_array_array_ts.objects_array[2].objects.height, 195, in ZTEST()
493 [0] = { .name = "Sim\303\263n Bol\303\255var", .height = 168 }, in ZTEST()
494 [1] = { .name = "Muggsy Bogues", .height = 160 }, in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/display/cfb/basic/src/
Dutils.c18 static const uint32_t display_height = DT_PROP(DT_CHOSEN(zephyr_display), height);
20 DT_PROP(DT_CHOSEN(zephyr_display), height) * 4];
55 .height = display_height, 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
69 .height = display_height, in verify_image()
77 for (size_t y = 0; y < height; y++) { in verify_image()
97 bool verify_color_inside_rect(int x, int y, size_t width, size_t height, uint32_t color) in verify_color_inside_rect() argument
100 .height = display_height, in verify_color_inside_rect()
108 for (size_t y_ = 0; y_ < height; y_++) { in verify_color_inside_rect()
121 bool verify_color_outside_rect(int x, int y, size_t width, size_t height, uint32_t color) in verify_color_outside_rect() argument
[all …]
Dutils.h15 DT_PROP(DT_CHOSEN(zephyr_display), height) * 4];
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/drivers/display/
Ddisplay_dummy.c17 uint16_t height; member
44 __ASSERT(desc->height <= config->height, in dummy_display_write()
48 __ASSERT(y + desc->height <= config->height, in dummy_display_write()
53 y + desc->height > config->height) { in dummy_display_write()
90 capabilities->y_resolution = config->height; in dummy_display_get_capabilities()
121 .height = DT_INST_PROP(n, height), \
Ddisplay_sdl.c26 uint16_t height; member
81 int rc = sdl_display_init_bottom(config->height, config->width, sdl_display_zoom_pct, in sdl_display_init()
102 __ASSERT((desc->pitch * 4U * desc->height) <= desc->buf_size, in sdl_display_write_argb8888()
105 memcpy(disp_buf, buf, desc->pitch * 4U * desc->height); in sdl_display_write_argb8888()
116 __ASSERT((desc->pitch * 3U * desc->height) <= desc->buf_size, in sdl_display_write_rgb888()
119 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_write_rgb888()
141 __ASSERT((desc->pitch * 2U * desc->height) <= desc->buf_size, in sdl_display_write_rgb565()
144 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_write_rgb565()
166 __ASSERT((desc->pitch * 2U * desc->height) <= desc->buf_size, in sdl_display_write_bgr565()
169 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_write_bgr565()
[all …]
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
24 height * zoom_pct / 100, SDL_WINDOW_SHOWN); 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()
81 for (int y = 0; y < height; y++) { 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
116 rect.h = height; 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_intel_multibootfb.c21 uint16_t height; member
57 caps->y_resolution = config->height; in framebuf_get_capabilities()
77 for (row = 0; row < desc->height; ++row) { in framebuf_write()
99 for (row = 0; row < desc->height; ++row) { in framebuf_read()
124 (info->fb_height >= config->height) && in multiboot_framebuf_init()
137 adj_y = info->fb_height - config->height; in multiboot_framebuf_init()
153 .height = DT_INST_PROP(0, height),
Ddisplay_led_strip_matrix.c25 uint16_t height; member
93 __ASSERT(desc->height <= config->height, "Height in descriptor is larger than screen size"); in check_descriptor()
96 __ASSERT(y + desc->height <= config->height, in check_descriptor()
100 y + desc->height > config->height) { in check_descriptor()
120 for (size_t ypos = y; ypos < (y + desc->height); ypos++) { in led_strip_matrix_write()
147 config->width * config->height); in led_strip_matrix_write()
169 for (size_t ypos = y; ypos < (y + desc->height); ypos++) { in led_strip_matrix_read()
200 caps->y_resolution = config->height; in led_strip_matrix_get_capabilities()
247 (DT_INST_PROP(inst, height) / DT_INST_PROP(inst, vertical_modules))) == \
259 .height = DT_INST_PROP(inst, height), \
[all …]
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,
/Zephyr-latest/scripts/build/
Dgen_cfb_font_header.py22 width, height = image.size
35 for row in range(0, height):
50 for octet in range(0, int(height / 8)):
94 height = fh_max + args.y_offset
97 height = 8 * int((fh_max + args.y_offset + 7) / 8)
102 if height != args.height:
103 raise Exception('text height {} mismatch with -y {}'.format(height, args.height))
106 image = Image.new('1', (width, height), 'white')
130 glyph = image.crop((x_offset, 0, x_offset + args.width, args.height))
176 height=args.height,
[all …]
/Zephyr-latest/doc/safety/images/
DIEC-61508-basis.svg1height="515px" viewBox="-0.5 -0.5 802 515" style="background-color: rgb(255, 255, 255);"><defs><li…
Dzephyr-safety-process.svg1height="749px" viewBox="-0.5 -0.5 999 749" content="&lt;mxfile scale=&quot;1&quot; border=&quot;10…
/Zephyr-latest/doc/services/ipc/ipc_service/backends/
Dicbmsg_memory.svg1 …" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="649px" height="263px" viewBox="-…
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 …lign-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top:…
10 …lock; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-even…
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 …lign-items: unsafe center; justify-content: unsafe center; width: 198px; height: 1px; padding-top:…
27 …lock; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-even…
38 … <rect x="47" y="220" width="80" height="40" fill="none" stroke="#000000" pointer-events="all"/>
[all …]
Dicbmsg_message.svg1 …" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="561px" height="182px" viewBox="-…
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 …align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top:…
10 …lock; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-even…
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 …align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top:…
27 …lock; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-even…
38 … <rect x="160" y="1" width="80" height="40" fill="none" stroke="#000000" pointer-events="all"/>
[all …]
Dicbmsg_flows.svg1 …" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="632px" height="662px" viewBox="-…
4 …<rect x="150" y="50" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" point…
7 …<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.or…
8 …lign-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top:…
10 …lock; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-even…
23 …<rect x="350" y="50" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" point…
26 …<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.or…
27 …lign-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top:…
29 …lock; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-even…
46 …<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.or…
[all …]
/Zephyr-latest/tests/drivers/build_all/display/
Dapp.overlay44 height = <240>;
51 height = <320>;
71 height = <128>;
80 height = <128>;
107 height = <122>;
116 height = <300>;
136 height = <240>;
145 height = <240>;
159 height = <64>;
182 height = <240>;
[all …]
/Zephyr-latest/doc/_doxygen/
Ddoxygen-awesome-sidebar-only.css37 --top-height: 120px;
39 --toc-max-height: calc(100vh - 2 * var(--spacing-medium) - 25px);
55 top: var(--top-height);
60 height: calc(100vh - var(--top-height)) !important;
70 height: var(--top-height);
71 margin-bottom: calc(0px - var(--top-height));
85 box-shadow: 0 calc(-2 * var(--top-height)) 0 0 var(--separator-color);
97 height: calc(100vh - 31px) !important;
99 padding-top: calc(var(--top-height) - 80px);
/Zephyr-latest/tests/drivers/video/api/src/
Dvideo_common.c38 fmt.height = 100; in ZTEST()
45 fmt.height = 1000; in ZTEST()
52 fmt.height = 1080; in ZTEST()
59 fmt.height = 1000; in ZTEST()
65 fmt.height = 1001; in ZTEST()
71 fmt.height = 720; in ZTEST()
80 fmt.height = 1000; in ZTEST()
86 fmt.height = 720; in ZTEST()
/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.cmake9 height # Height of the CFB font elements in pixels
21 --height ${height}
33 height # Height of the CFB font elements in pixels
38 generate_cfb_font(${input_file} ${output_file} ${width} ${height} ${ARGN})
51 height # Height of the CFB font elements in pixels
64 ${width} ${height} ${generated_target_name} ${ARGN})
/Zephyr-latest/subsys/fb/
Dcfb.c74 (fptr->width * fptr->height / 8U); in get_glyph_ptr()
81 return glyph_ptr[x * (fptr->height / 8U) + y]; in get_glyph_byte()
116 for (size_t g_y = 0; g_y < fptr->height;) { in draw_char_vtmono()
125 const uint8_t bottom_lines = ((offset + fptr->height) % 8); in draw_char_vtmono()
179 if (((fptr->height - g_y) < 8) && (bottom_lines != 0)) { in draw_char_vtmono()
201 } else if ((fptr->height - g_y) >= 8) { in draw_char_vtmono()
275 if (fptr->height % 8) { in draw_text()
286 y += fptr->height; in draw_text()
340 uint16_t width, uint16_t height) in cfb_invert_area() argument
364 if (y + height > fb->y_res) { in cfb_invert_area()
[all …]
/Zephyr-latest/include/zephyr/display/
Dcfb.h48 uint8_t height; member
74 .height = _height, \
170 uint16_t width, uint16_t height);
224 uint8_t *height);
/Zephyr-latest/samples/subsys/zbus/priority_boost/
Dzbus_publishing_process_example_scenario.svg1 <svg width="447" height="281" viewBox="0 0 447 281" fill="none" xmlns="http://www.w3.org/2000/svg">
2 <rect y="77" width="330" height="128" rx="5" fill="#6931D0"/>
4 <rect x="163" y="109" width="137" height="64" rx="5" fill="#3A8BF1"/>
7 <rect x="226.5" y="231.5" width="106" height="49" rx="4.5" fill="#C8C000"/>
8 <rect x="226.5" y="231.5" width="106" height="49" rx="4.5" stroke="#BBB400"/>
12 <rect x="111.5" y="231.5" width="106" height="49" rx="4.5" fill="#C8C000"/>
13 <rect x="111.5" y="231.5" width="106" height="49" rx="4.5" stroke="#BBB400"/>
17 <rect x="358.5" y="144.5" width="88" height="49" rx="4.5" fill="#FF7A00"/>
18 <rect x="358.5" y="144.5" width="88" height="49" rx="4.5" stroke="#F27400"/>
22 <rect x="358.5" y="87.5" width="88" height="49" rx="4.5" fill="#FF7A00"/>
[all …]

123456789