Home
last modified time | relevance | path

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

123456

/Zephyr-Core-3.6.0/tests/drivers/display/display_read_write/src/
Dmain.c16 static const uint32_t display_height = DT_PROP(DT_CHOSEN(zephyr_display), height);
18 DT_PROP(DT_CHOSEN(zephyr_display), height) * 4];
42 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
45 .height = height, in verify_bytes_of_area()
48 .buf_size = height * width * bpp, in verify_bytes_of_area()
56 zassert_mem_equal(data, disp_buffer, width * height / 8, NULL); in verify_bytes_of_area()
58 zassert_mem_equal(data, disp_buffer, width * height * bpp, NULL); in verify_bytes_of_area()
62 static void verify_background_color(int x, int y, size_t width, size_t height, uint32_t color) in verify_background_color() argument
64 size_t buf_size = is_tiled ? (height * width / 8) : (height * width * bpp); in verify_background_color()
66 .height = height, in verify_background_color()
[all …]
/Zephyr-Core-3.6.0/tests/lib/json/src/
Dmain.c36 int height; member
80 JSON_OBJ_DESCR_PRIM(struct elt, height, JSON_TOK_NUMBER),
327 [0] = { { .name = "Sim\303\263n Bol\303\255var", .height = 168 } }, in ZTEST()
328 [1] = { { .name = "Pel\303\251", .height = 173 } }, in ZTEST()
329 [2] = { { .name = "Usain Bolt", .height = 195 } }, in ZTEST()
369 zassert_equal(obj_array_array_ts.objects_array[0].objects.height, 168, in ZTEST()
374 zassert_equal(obj_array_array_ts.objects_array[1].objects.height, 173, in ZTEST()
379 zassert_equal(obj_array_array_ts.objects_array[2].objects.height, 195, in ZTEST()
387 [0] = { .name = "Sim\303\263n Bol\303\255var", .height = 168 }, in ZTEST()
388 [1] = { .name = "Muggsy Bogues", .height = 160 }, in ZTEST()
[all …]
/Zephyr-Core-3.6.0/drivers/display/
Ddisplay_sdl.c26 uint16_t height; member
80 int rc = sdl_display_init_bottom(config->height, config->width, sdl_display_zoom_pct, in sdl_display_init()
98 __ASSERT((desc->pitch * 4U * desc->height) <= desc->buf_size, in sdl_display_write_argb8888()
101 memcpy(disp_buf, buf, desc->pitch * 4U * desc->height); in sdl_display_write_argb8888()
112 __ASSERT((desc->pitch * 3U * desc->height) <= desc->buf_size, in sdl_display_write_rgb888()
115 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_write_rgb888()
137 __ASSERT((desc->pitch * 2U * desc->height) <= desc->buf_size, in sdl_display_write_rgb565()
140 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_write_rgb565()
162 __ASSERT((desc->pitch * 2U * desc->height) <= desc->buf_size, in sdl_display_write_bgr565()
165 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_write_bgr565()
[all …]
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()
103 capabilities->y_resolution = config->height; in dummy_display_get_capabilities()
136 .height = DT_INST_PROP(n, height), \
Ddisplay_sdl_bottom.c14 int sdl_display_init_bottom(uint16_t height, uint16_t width, uint16_t zoom_pct, in sdl_display_init_bottom() argument
20 height * zoom_pct / 100, SDL_WINDOW_SHOWN); in sdl_display_init_bottom()
44 SDL_RenderSetLogicalSize(*renderer, width, height); in sdl_display_init_bottom()
47 SDL_TEXTUREACCESS_STATIC, width, height); in sdl_display_init_bottom()
54 SDL_TEXTUREACCESS_TARGET, width, height); in sdl_display_init_bottom()
67 void sdl_display_write_bottom(const uint16_t height, const uint16_t width, in sdl_display_write_bottom() argument
78 rect.h = height; in sdl_display_write_bottom()
97 int sdl_display_read_bottom(const uint16_t height, const uint16_t width, in sdl_display_read_bottom() argument
108 rect.h = height; in sdl_display_read_bottom()
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_sdl_bottom.h23 int sdl_display_init_bottom(uint16_t height, uint16_t width, uint16_t zoom_pct,
26 void sdl_display_write_bottom(const uint16_t height, const uint16_t width,
30 int sdl_display_read_bottom(const uint16_t height, const uint16_t width,
Ddisplay_max7219.c154 __ASSERT((desc->pitch * desc->height) <= (desc->buf_size * 8U), "Input buffer to small"); in max7219_write()
157 __ASSERT(desc->height <= max_height, "Height in descriptor is larger than screen size"); in max7219_write()
160 __ASSERT(y + desc->height <= max_height, in max7219_write()
163 if (desc->width > desc->pitch || (desc->pitch * desc->height) > (desc->buf_size * 8U)) { in max7219_write()
167 if ((x + desc->pitch) > max_width || (y + desc->height) > max_height) { in max7219_write()
172 const uint16_t end_y = y + desc->height; in max7219_write()
312 .height = dev_config->num_cascading * MAX7219_DIGITS_PER_DEVICE, in max7219_init()
Ddisplay_mcux_dcnano_lcdif.c56 __ASSERT((data->pixel_bytes * desc->pitch * desc->height) <= in mcux_dcnano_lcdif_write()
59 LOG_DBG("W=%d, H=%d @%d,%d", desc->width, desc->height, x, y); in mcux_dcnano_lcdif_write()
63 (desc->height == config->dpi_config.panelHeight) && in mcux_dcnano_lcdif_write()
88 for (h_idx = 0; h_idx < desc->height; h_idx++) { in mcux_dcnano_lcdif_write()
262 DT_INST_PROP(n, height) * MCUX_DCNANO_LCDIF_PIXEL_BYTES(n)
275 DT_INST_PROP(n, height) * \
307 .panelHeight = DT_INST_PROP(n, height), \
/Zephyr-Core-3.6.0/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-Core-3.6.0/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);
Ddoxygen-awesome-zephyr.css25 --top-height: 220px;
87 height: 95px;
88 max-height: none !important;
98 padding-top: calc(var(--top-height) - 180px);
/Zephyr-Core-3.6.0/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 …]
Dintegration_diagram_simplified.drawio8 <mxGeometry x="527" y="-207" width="195" height="261" as="geometry" />
11 <mxGeometry x="574" y="-81" width="164" height="30" as="geometry" />
14 <mxGeometry x="271" y="-122" width="116" height="348" as="geometry" />
17 <mxGeometry x="714" y="173" width="108" height="51" as="geometry" />
20 <mxGeometry x="584" y="22" width="164" height="30" as="geometry" />
23 <mxGeometry x="596" y="128" width="164" height="30" as="geometry" />
26 <mxGeometry x="397" y="208" width="164" height="30" as="geometry" />
32 <mxGeometry x="552" y="-35" width="147" height="50" as="geometry" />
38 <mxGeometry x="549" y="-148" width="147" height="50" as="geometry" />
41 <mxGeometry x="341" y="-8" width="164" height="30" as="geometry" />
[all …]
/Zephyr-Core-3.6.0/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-Core-3.6.0/include/zephyr/display/
Dcfb.h48 uint8_t height; member
74 .height = _height, \
170 uint16_t width, uint16_t height);
224 uint8_t *height);
/Zephyr-Core-3.6.0/doc/safety/images/
Dzephyr-safety-process.svg1height="749px" viewBox="-0.5 -0.5 999 749" content="&lt;mxfile scale=&quot;1&quot; border=&quot;10…
/Zephyr-Core-3.6.0/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 …]
/Zephyr-Core-3.6.0/doc/services/zbus/images/
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"/>
10 <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"/>
15 <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"/>
20 <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 …]
Dzbus_observation_mask.svg1 <svg width="970" height="759" viewBox="0 0 970 759" fill="none" xmlns="http://www.w3.org/2000/svg">
2 <rect x="503" y="60" width="467" height="128" rx="5" fill="#6931D0"/>
4 <rect x="636" y="92" width="51" height="64" rx="5" fill="#3A8BF1"/>
6 <rect x="696.75" y="92" width="53" height="64" rx="5" fill="#3A8BF1"/>
8 <rect x="759.5" y="92" width="53" height="64" rx="5" fill="#3A8BF1"/>
10 <rect x="822.25" y="92" width="53" height="64" rx="5" fill="#3A8BF1"/>
12 <rect x="885" y="92" width="53" height="64" rx="5" fill="#3A8BF1"/>
15 <rect x="636.5" y="316.5" width="301" height="49" rx="4.5" fill="#EBEBEB"/>
18 <rect x="636.5" y="316.5" width="301" height="49" rx="4.5" stroke="#DEDEDE"/>
22 <rect x="651" y="216" width="20" height="40" rx="10" fill="#607D8B"/>
[all …]
/Zephyr-Core-3.6.0/subsys/fb/
Dcfb.c70 (fptr->width * fptr->height / 8U); in get_glyph_ptr()
77 return glyph_ptr[x * (fptr->height / 8U) + y]; in get_glyph_byte()
111 for (size_t g_y = 0; g_y < fptr->height; g_y++) { in draw_char_vtmono()
153 const size_t lines = ((fptr->height - g_y) < 8) ? offset : 8; in draw_char_vtmono()
249 if (fptr->height % 8) { in draw_text()
258 y += fptr->height; in draw_text()
312 uint16_t width, uint16_t height) in cfb_invert_area() argument
336 if (y + height > fb->y_res) { in cfb_invert_area()
337 height = fb->y_res - y; in cfb_invert_area()
341 for (size_t j = y; j < (y + height); j++) { in cfb_invert_area()
[all …]
/Zephyr-Core-3.6.0/doc/connectivity/bluetooth/autopts/
Dautopts-linux.rst35 :height: 350
75 :height: 400
82 :height: 400
89 :height: 150
103 :height: 400
111 :height: 400
124 :height: 400
136 :height: 300
141 :height: 300
153 :height: 350
[all …]
Dautopts-win10.rst31 :height: 300
36 :height: 300
48 :height: 350
60 :height: 250
82 :height: 350
90 :height: 400
95 :height: 700
105 :height: 400
166 :height: 400
173 :height: 400
[all …]
/Zephyr-Core-3.6.0/samples/subsys/display/cfb_shell/
DREADME.rst34 get_param :<all, height, width, ppt, rows, cols>
62 **get_param**: get the display parameters where height, width and ppt
71 param: height=120
77 **get_fonts**: print the index, height and width in pixels of the static
85 idx=0 height=32 width=20
86 idx=1 height=24 width=15
87 idx=2 height=16 width=10
97 Font idx=0 height=32 width=20 set
/Zephyr-Core-3.6.0/doc/_extensions/zephyr/kconfig/static/
Dkconfig.css14 height: 60px;
21 height: 100%;
37 height: 100%;

123456