Home
last modified time | relevance | path

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

12345678910

/bsp/stm32/stm32l475-atk-pandora/board/ports/arduino/
A DST7789_adafruit_gfx_demo.cpp54 tft.drawLine(0, 0, x, tft.height()-1, color); in testlines()
56 for (int16_t y=0; y < tft.height(); y+=6) in testlines()
66 for (int16_t y=0; y < tft.height(); y+=6) in testlines()
74 tft.drawLine(0, tft.height()-1, x, 0, color); in testlines()
76 for (int16_t y=0; y < tft.height(); y+=6) in testlines()
86 for (int16_t y=0; y < tft.height(); y+=6) in testlines()
104 for (int16_t y=0; y < tft.height(); y+=5) in testfastlines()
110 tft.drawFastVLine(x, 0, tft.height(), color2); in testfastlines()
137 for (int16_t y=radius; y < tft.height(); y+=radius*2) in testfillcircles()
161 int x = tft.height()-1; in testtriangles()
[all …]
/bsp/hpmicro/libraries/hpm_sdk/drivers/src/
A Dhpm_pdma_drv.c494 output.height = height; in pdma_fill_color()
544 plane_src.height = height; in pdma_flip_rotate()
578 output.height = height; in pdma_flip_rotate()
631 plane_src.height = height; in pdma_blit()
637 plane_dst.height = height; in pdma_blit()
658 output.height = height; in pdma_blit()
739 plane_src.height = height; in pdma_scale()
756 plane_dst.height = height; in pdma_scale()
871 plane_src.height = src->height; in pdma_blit_ex()
885 plane_dst.height = dst->height; in pdma_blit_ex()
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/test/disp2/
A Ddisp_layer_cfg.c79 if (!width || !height) { in disp_layer_get_resolution()
160 test_cfg->layer_cfg.info.fb.size[1].height = in disp_layer_cfg()
164 test_cfg->layer_cfg.info.fb.size[2].height = in disp_layer_cfg()
197 test_cfg->layer_cfg.info.fb.size[1].height = in disp_layer_cfg()
201 test_cfg->layer_cfg.info.fb.size[2].height = in disp_layer_cfg()
234 test_cfg->layer_cfg.info.fb.size[1].height = in disp_layer_cfg()
238 test_cfg->layer_cfg.info.fb.size[2].height = in disp_layer_cfg()
316 test_cfg->height; in disp_layer_cfg()
325 test_cfg->height) in disp_layer_cfg()
327 test_cfg->height; in disp_layer_cfg()
[all …]
A Ddisp_layer_rgb_test.c17 static int show_layer(struct test_layer_cfg *cfg, u32 width, u32 height, in show_layer() argument
24 disp_mem(0, width, height, 0, filename); in show_layer()
35 cfg->layer_cfg.info.fb.size[0].height = height; in show_layer()
39 cfg->layer_cfg.info.fb.crop.height = height; in show_layer()
A Ddisp_layer_format_test.c16 static int show_layer(struct test_layer_cfg *cfg, u32 width, u32 height, in show_layer() argument
23 disp_mem(0, width, height, 0, filename); in show_layer()
33 cfg->layer_cfg.info.fb.size[0].height = height; in show_layer()
37 cfg->layer_cfg.info.fb.crop.height = height; in show_layer()
A Ddisp_layer_scal_test.c29 cfg->layer_cfg.info.fb.size[0].height = 720; in show_vi_layer()
33 cfg->layer_cfg.info.fb.crop.height = 720; in show_vi_layer()
42 cfg->layer_cfg.info.screen_win.height = screen_height; in show_vi_layer()
60 cfg->layer_cfg.info.fb.size[0].height = 161; in show_vi_layer2()
64 cfg->layer_cfg.info.fb.crop.height = 161; in show_vi_layer2()
73 cfg->layer_cfg.info.screen_win.height = screen_height; in show_vi_layer2()
/bsp/nxp/imx/imxrt/libraries/drivers/vglite/font/
A Dvg_lite_text.c47 uint16_t height; member
106 if (y < 0 || y >= s->height) return; in pixel_callback()
164 height = ((height+15)&(~15)); in alloc_font_buffer()
168 buffer->height = height; in alloc_font_buffer()
217 int height; in vg_lite_draw_text() local
254 height = 0; in vg_lite_draw_text()
256 text, &height, &text_width_in_pixels); in vg_lite_draw_text()
257 height *= attributes->font_height; in vg_lite_draw_text()
258 height += 4; in vg_lite_draw_text()
292 ctx_text.height = height; in vg_lite_draw_text()
[all …]
/bsp/qemu-vexpress-a9/drivers/
A Ddrv_clcd.c51 int height; member
87 info->height = lcd->height; in drv_clcd_control()
97 info->smem_len = lcd->width * lcd->height * 2; in drv_clcd_control()
110 info->yres = lcd->height; in drv_clcd_control()
142 _lcd.height = CLCD_HEIGHT; in drv_clcd_hw_init()
143 rt_kprintf("try to allocate fb... | w - %d, h - %d | ", _lcd.width, _lcd.height); in drv_clcd_hw_init()
145 _lcd.fb = rt_pages_alloc(rt_page_bits(_lcd.width * _lcd.height * 2)); in drv_clcd_hw_init()
147 _lcd.fb = rt_malloc(_lcd.width * _lcd.height * 2); in drv_clcd_hw_init()
156 memset(_lcd.fb, 0xff, _lcd.width * _lcd.height * 2); in drv_clcd_hw_init()
/bsp/nxp/imx/imxrt/libraries/drivers/vglite/elementary/src/
A Delm_init.c36 static int _initialize_elm(uint32_t width, uint32_t height);
39 static int _initialize_vglite(int32_t width, int32_t height) in _initialize_vglite() argument
43 error = vg_lite_init(width, height); in _initialize_vglite()
49 static int _initialize_elm(uint32_t width, uint32_t height) in _initialize_elm() argument
67 elm_tls->gContext.tessellation_height = height; in _initialize_elm()
123 BOOL ElmInitialize(uint32_t width, uint32_t height) in ElmInitialize() argument
128 result = _initialize_vglite((int32_t)width, (int32_t)height); in ElmInitialize()
133 result = _initialize_elm(width, height); in ElmInitialize()
A Delm_buffer.c94 ElmBuffer ElmCreateBuffer(unsigned int width, unsigned int height, ELM_BUFFER_FORMAT format) in ElmCreateBuffer() argument
112 buffer->height = height; in ElmCreateBuffer()
145 ElmBuffer ElmWrapBuffer(int width, int height, int stride, in ElmWrapBuffer() argument
162 buffer->height = height; in ElmWrapBuffer()
312 …elm_tls->gContext.elmFB[i].handle = ElmWrapBuffer(buffer->width, buffer->height, buffer->stride, b… in ElmGetBuffer()
/bsp/samd21/sam_d2x_asflib/common2/services/gfx_mono/
A Dgfx_mono_text.c101 glyph_size = char_row_size * font->height; in gfx_mono_draw_char_hugemem()
104 rows_left = font->height; in gfx_mono_draw_char_hugemem()
189 rows_left = font->height; in gfx_mono_draw_char_progmem()
273 y += font->height + 1; in gfx_mono_draw_string()
317 y += font->height + 1; in gfx_mono_draw_progmem_string()
341 gfx_coord_t *width, gfx_coord_t *height) in gfx_mono_get_string_bounding_box() argument
344 gfx_coord_t font_height = font->height; in gfx_mono_get_string_bounding_box()
372 *height = max_height; in gfx_mono_get_string_bounding_box()
388 gfx_coord_t *height) in gfx_mono_get_progmem_string_bounding_box() argument
391 gfx_coord_t font_height = font->height; in gfx_mono_get_progmem_string_bounding_box()
[all …]
/bsp/nuvoton/libraries/n9h30/rtt_port/
A Ddrv_ge2d.c781 GFX_HEIGHT = height; in ge2dInit()
947 srcy = srcy + height - 1; in ge2dBitblt_ScreenToScreen()
964 srcy = srcy + height - 1; in ge2dBitblt_ScreenToScreen()
985 dimension = height << 16 | width; in ge2dBitblt_ScreenToScreen()
1080 srcy = srcy + height - 1; in ge2dBitblt_ScreenToScreenRop()
2414 for (i = 0; i < height; i++) in ge2dHostBlt_Read()
2518 for (i = 0; i < height; i++) in ge2dHostBlt_Sprite()
3114 for (i = 0; i < height; i++) in ge2dHostColorExpansionBlt()
3359 UINT32 width, height; in ge2dFont_PutChar() local
3385 height = 16; in ge2dFont_PutChar()
[all …]
/bsp/k210/drivers/
A Ddrv_lcd.c211 lcd->lcd_info.height = BSP_LCD_X_MAX; in drv_lcd_set_direction()
216 lcd->lcd_info.height = BSP_LCD_Y_MAX; in drv_lcd_set_direction()
254 drv_lcd_set_area(lcd, 0, 0, lcd->lcd_info.width - 1, lcd->lcd_info.height - 1); in drv_lcd_clear()
274 if (height <= 0) { in rt_bitblt()
281 sy1 = sy0 + height - 1; in rt_bitblt()
285 dy1 = dy0 + height - 1; in rt_bitblt()
372 if(x1 == 0 && y1 == 0 && width == lcd->lcd_info.width && height == lcd->lcd_info.height) in drv_lcd_rect_update()
374 drv_lcd_set_area(lcd, x1, y1, x1 + width - 1, y1 + height - 1); in drv_lcd_rect_update()
379 rt_bitblt(rect_buffer, width, height, 0, 0, width, height, in drv_lcd_rect_update()
381 drv_lcd_set_area(lcd, x1, y1, x1 + width - 1, y1 + height - 1); in drv_lcd_rect_update()
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/de/
A Ddisp_display.c978 return height; in bsp_disp_get_screen_physical_height()
990 s32 height = 0; in bsp_disp_get_screen_height() local
993 return height; in bsp_disp_get_screen_height()
1023 height = 480; in bsp_disp_get_screen_width_from_output_type()
1029 height = 576; in bsp_disp_get_screen_width_from_output_type()
1034 height = 720; in bsp_disp_get_screen_width_from_output_type()
1067 height = 600; in bsp_disp_get_screen_width_from_output_type()
1071 height = 768; in bsp_disp_get_screen_width_from_output_type()
1075 height = 768; in bsp_disp_get_screen_width_from_output_type()
1079 height = 800; in bsp_disp_get_screen_width_from_output_type()
[all …]
A Ddisp_private.c43 data->config.info.fb.size[0].height, in dump_layer_config()
45 data->config.info.fb.size[0].height, in dump_layer_config()
47 data->config.info.fb.size[0].height); in dump_layer_config()
53 (int) (data->config.info.fb.crop.height >> 32)); in dump_layer_config()
59 data->config.info.screen_win.height); in dump_layer_config()
/bsp/allwinner/libraries/drivers/
A Ddrv_lcd.c220 lcd_drv->lcd_info.height = (rt_uint16_t)disp_ioctl(DISP_GET_SCN_HEIGHT, arg); in _lcd_drv_init()
329 layer_cfg.info.fb.crop.height = lcd_drv->lcd_info.height; in _lcd_layer_init()
331 layer_cfg.info.fb.crop.height = layer_cfg.info.fb.crop.height << 32; in _lcd_layer_init()
340 layer_cfg.info.screen_win.height = lcd_drv->lcd_info.height; in _lcd_layer_init()
343 layer_cfg.info.fb.size[0].height = lcd_drv->lcd_info.height; in _lcd_layer_init()
345 layer_cfg.info.fb.size[1].height = lcd_drv->lcd_info.height; in _lcd_layer_init()
347 layer_cfg.info.fb.size[2].height = lcd_drv->lcd_info.height; in _lcd_layer_init()
652 info->yres = lcd_drv->lcd_info.height; in fb_control()
769 if (y >= lcd_drv->lcd_info.height) in lcd_draw_point()
770 y = lcd_drv->lcd_info.height - 1; in lcd_draw_point()
[all …]
/bsp/qemu-virt64-aarch64/applications/
A Dgraphic.c101 rect_info.height = graphic_info.height; in graphic_thread()
107 rt_memset(graphic_info.framebuffer, 0xff, graphic_info.pitch * graphic_info.height); in graphic_thread()
110 cur_last_points[1] = graphic_info.height / 2; in graphic_thread()
113 … virtio_gpu_graphic_ops->draw_vline((char *)&color[1], cur_last_points[0], 0, graphic_info.height); in graphic_thread()
160 cur_max[1] = graphic_info.height; in graphic_thread()
181 … virtio_gpu_graphic_ops->draw_vline((char *)&white, cur_last_points[0], 0, graphic_info.height); in graphic_thread()
187 … virtio_gpu_graphic_ops->draw_vline((char *)&color[1], cur_last_points[0], 0, graphic_info.height); in graphic_thread()
/bsp/raspberry-pi/raspi4-32/driver/lcd/
A Dlcd_console.c46 if (fb->y == (fb->height / CHAR_H)) in newline()
51 for (i = 0; i < ((fb->height - CHAR_H) * fb->pitch); i++) in newline()
58 uint32_t *addr_32bit = (uint32_t*) (fb->vaddr) + (fb->height - CHAR_H) * fb->width; in newline()
67 uint16_t *addr_16bit = (uint16_t*) (fb->vaddr) + (fb->height - CHAR_H) * fb->width; in newline()
213 virt_buffer = (rt_uint8_t* )rt_malloc(info.width * info.height * (info.bits_per_pixel/8)); in lcd_console_init()
214 rt_memset(virt_buffer, 0 , info.width * info.height * (info.bits_per_pixel/8)); in lcd_console_init()
216 console_fb.height = info.height; in lcd_console_init()
220 console_fb.size = info.width * info.height * (info.bits_per_pixel/8); in lcd_console_init()
/bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/de/lowlevel_v2x/
A Dde_enhance.c120 tmp_win.h = config->info.window.height; in de_enhance_info2data()
275 tmp_win.h = size[ch_id].height; in de_enhance_set_size()
282 tmp_win.h = size[ch_id].height; in de_enhance_set_size()
287 size[ch_id].height); in de_enhance_set_size()
290 g_ce_status[screen_id][ch_id]->height = size[ch_id].height; in de_enhance_set_size()
294 size[ch_id].height); in de_enhance_set_size()
299 size[ch_id].height); in de_enhance_set_size()
304 size[ch_id].height); in de_enhance_set_size()
309 size[ch_id].height); in de_enhance_set_size()
314 || (size->height != g_size[screen_id].height)) { in de_enhance_set_size()
[all …]
/bsp/hpmicro/libraries/hpm_sdk/drivers/inc/
A Dhpm_pdma_drv.h110 uint16_t height; /**< height */ member
125 uint16_t height; /**< plane height */ member
128 uint16_t height; /**< output plane height */ member
149 uint32_t height; /**< plane height */ member
276 uint32_t width, uint32_t height,
303 uint32_t width, uint32_t height,
329 uint32_t x, uint32_t y, uint32_t width, uint32_t height,
357 uint32_t x, uint32_t y, uint32_t width, uint32_t height,
/bsp/raspberry-pi/raspi3-32/driver/
A Ddrv_fb.c166 if (fb->y == (fb->height / CHAR_H)) in newline()
172 for (i = 0; i < ((fb->height - CHAR_H) * fb->pitch); i++) in newline()
177 uint32_t *addr = (uint32_t*) (fb->addr) + (fb->height - CHAR_H) * fb->width; in newline()
192 if (line > fb->height / CHAR_H) in clear_line()
417 fb_info.height, fb_info.depth, fb_info.addr, fb_info.size); in print_fb_info()
471 _hdmi.fb.height = mbox[6]; in hdmi_fb_init()
484 fb_info.height = _hdmi.fb.height; in hdmi_fb_init()
492 _hdmi_info.height = _hdmi.fb.height; in hdmi_fb_init()
/bsp/nxp/imx/imxrt/imxrt1170-nxp-evk/board/
A Dvglite_window.c99 window->height = DEMO_BUFFER_HEIGHT; in VGLITE_CreateWindow()
107 g_fbInfo->bufInfo.height = window->height; in VGLITE_CreateWindow()
118 vg_buffer->height = g_fbInfo->bufInfo.height; in VGLITE_CreateWindow()
134 memset(buffer, 0, g_fbInfo->bufInfo.height * g_fbInfo->bufInfo.strideBytes); in VGLITE_CreateWindow()
/bsp/raspberry-pi/raspi4-64/drivers/
A Ddrv_hdmi.c119 lcd_info->height = lcd->height; in hdmi_fb_control()
120 …(void *)lwp_map_user_phy(lwp_self(), RT_NULL, lcd->fb, lcd->width * lcd->height * sizeof(rt_uint32… in hdmi_fb_control()
135 info->smem_len = lcd->width * lcd->height * sizeof(rt_uint32_t); in hdmi_fb_control()
270 void *bcm271x_mbox_fb_alloc(int width, int height, int bpp, int nrender) in bcm271x_mbox_fb_alloc() argument
285 mbox[11] = height; in bcm271x_mbox_fb_alloc()
291 mbox[16] = height * nrender; in bcm271x_mbox_fb_alloc()
341 _hdmi.height = LCD_HEIGHT; in hdmi_fb_init()
/bsp/stm32/stm32f407-atk-explorer/board/ports/touch/
A Ddrv_touch_xpt.c52 for (rt_uint32_t y = 0; y < lcd_info.height; ++y) in xpt2046_calibration()
58 …rt_uint32_t cross_size = (lcd_info.width > lcd_info.height ? lcd_info.height : lcd_info.width) / 1… in xpt2046_calibration()
64 rt_uint32_t y2 = lcd_info.height - cross_size; in xpt2046_calibration()
66 rt_uint32_t y3 = lcd_info.height - cross_size; in xpt2046_calibration()
94 for (rt_uint32_t y = 0; y < lcd_info.height; ++y) in xpt2046_calibration()
114 … rt_graphix_ops(lcd)->draw_vline((const char *)(&black), x2, y2 - cross_size, lcd_info.height); in xpt2046_calibration()
119 … rt_graphix_ops(lcd)->draw_vline((const char *)(&black), x3, y3 - cross_size, lcd_info.height); in xpt2046_calibration()
145 touch->parent.info.range_y = lcd_info.height; in xpt2046_calibration()
/bsp/tkm32F499/drivers/
A Ddrv_lcd.c90 info->height = lcd->lcd_info.height; in drv_lcd_control()
153 temp = lcd->lcd_info.height * xStart; in Lcd_ColorBox()
157 LTDC_Buf[yStart + i + lcd->lcd_info.height * j + temp] = Color; in Lcd_ColorBox()
167 Xstart = lcd->lcd_info.height * x; in LCD_Fill_Pic()
171 LTDC_Buf[Xstart + i + lcd->lcd_info.height * j + y] = pic[k++]; in LCD_Fill_Pic()
178 LTDC_Buf[y + lcd->lcd_info.height * x] = Color; in DrawPixel()
202 _lcd.lcd_info.height = LCD_HEIGHT; in drv_lcd_hw_init()

Completed in 67 milliseconds

12345678910