Home
last modified time | relevance | path

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

1234

/rk3399_rockchip-uboot/scripts/kconfig/lxdialog/
H A Dyesno.c15 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
18 int y = height - 2; in print_buttons()
30 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument
36 if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) in dialog_yesno()
43 y = (getmaxy(stdscr) - height) / 2; in dialog_yesno()
45 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
47 dialog = newwin(height, width, y, x); in dialog_yesno()
50 draw_box(dialog, 0, 0, height, width, in dialog_yesno()
53 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_yesno()
64 print_buttons(dialog, height, width, 0); in dialog_yesno()
[all …]
H A Dtextbox.c13 static void print_page(WINDOW *win, int height, int width, update_text_fn
49 int height, width, boxh, boxw; in dialog_textbox() local
70 getmaxyx(stdscr, height, width); in dialog_textbox()
71 if (height < TEXTBOX_HEIGTH_MIN || width < TEXTBOX_WIDTH_MIN) in dialog_textbox()
74 height = initial_height; in dialog_textbox()
76 if (height > 4) in dialog_textbox()
77 height -= 4; in dialog_textbox()
79 height = 0; in dialog_textbox()
90 y = (getmaxy(stdscr) - height) / 2; in dialog_textbox()
92 draw_shadow(stdscr, y, x, height, width); in dialog_textbox()
[all …]
H A Dinputbox.c17 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
20 int y = height - 2; in print_buttons()
32 int dialog_inputbox(const char *title, const char *prompt, int height, int width, in dialog_inputbox() argument
47 if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGTH_MIN)) in dialog_inputbox()
54 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox()
56 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
58 dialog = newwin(height, width, y, x); in dialog_inputbox()
61 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
64 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox()
83 print_buttons(dialog, height, width, 0); in dialog_inputbox()
[all …]
H A Dmenubox.c100 int height) in print_arrows() argument
120 y = y + height + 1; in print_arrows()
124 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows()
143 static void print_buttons(WINDOW * win, int height, int width, int selected) in print_buttons() argument
146 int y = height - 2; in print_buttons()
176 int height, width, menu_height; in dialog_menu() local
182 height = getmaxy(stdscr); in dialog_menu()
184 if (height < MENUBOX_HEIGTH_MIN || width < MENUBOX_WIDTH_MIN) in dialog_menu()
187 height -= 4; in dialog_menu()
189 menu_height = height - 10; in dialog_menu()
[all …]
H A Dchecklist.c54 int y, int x, int height) in print_arrows() argument
70 y = y + height + 1; in print_arrows()
73 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows()
89 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
92 int y = height - 2; in print_buttons()
105 int dialog_checklist(const char *title, const char *prompt, int height, in dialog_checklist() argument
123 if (getmaxy(stdscr) < (height + CHECKLIST_HEIGTH_MIN)) in dialog_checklist()
132 y = (getmaxy(stdscr) - height) / 2; in dialog_checklist()
134 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
136 dialog = newwin(height, width, y, x); in dialog_checklist()
[all …]
H A Ddialog.h209 void attr_clear(WINDOW * win, int height, int width, chtype attr);
214 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
216 void draw_shadow(WINDOW * win, int y, int x, int height, int width);
219 int dialog_yesno(const char *title, const char *prompt, int height, int width);
220 int dialog_msgbox(const char *title, const char *prompt, int height,
231 int dialog_checklist(const char *title, const char *prompt, int height,
233 int dialog_inputbox(const char *title, const char *prompt, int height,
H A Dutil.c230 void attr_clear(WINDOW * win, int height, int width, chtype attr) in attr_clear() argument
235 for (i = 0; i < height; i++) { in attr_clear()
305 int height, width; in init_dialog() local
312 getmaxyx(stdscr, height, width); in init_dialog()
313 if (height < WINDOW_HEIGTH_MIN || width < WINDOW_WIDTH_MIN) { in init_dialog()
465 draw_box(WINDOW * win, int y, int x, int height, int width, in draw_box() argument
471 for (i = 0; i < height; i++) { in draw_box()
476 else if (i == height - 1 && !j) in draw_box()
480 else if (i == height - 1 && j == width - 1) in draw_box()
484 else if (i == height - 1) in draw_box()
[all …]
/rk3399_rockchip-uboot/drivers/video/drm/
H A Dbmp_helper.c52 int width, int height, int bits, int x_off, in decode_rle8_bitmap() argument
63 y = height - 1; in decode_rle8_bitmap()
103 if (y >= height || x >= width) { in decode_rle8_bitmap()
120 if (y < height) { in decode_rle8_bitmap()
146 int stride, padded_width, bpp, i, width, height; in bmpdecoder() local
160 height = get_unaligned_le32(&bmp->header.height); in bmpdecoder()
164 if (height < 0) in bmpdecoder()
165 height = 0 - height; in bmpdecoder()
193 decode_rle8_bitmap(src, dst, cmap, width, height, in bmpdecoder()
200 dst += stride * (height - 1); in bmpdecoder()
[all …]
H A Dlibnsbmp.c80 int32_t width, height; in bmp_info_header_parse() local
109 height = read_int16(data, 6); in bmp_info_header_parse()
110 if ((width <= 0) || (height == 0)) in bmp_info_header_parse()
112 if (height < 0) { in bmp_info_header_parse()
114 height = -height; in bmp_info_header_parse()
123 if ((width > 256) || (height > 512)) { in bmp_info_header_parse()
127 bmp->height = height / 2; in bmp_info_header_parse()
131 bmp->height = height; in bmp_info_header_parse()
186 height = read_int32(data, 8); in bmp_info_header_parse()
187 if ((width <= 0) || (height == 0)) in bmp_info_header_parse()
[all …]
H A Dlibnsbmp.h54 typedef void* (*bmp_bitmap_cb_create)(int width, int height, unsigned int state);
82 uint32_t height; member
135 uint16_t height; member
236 bmp_image *ico_find(ico_collection *ico, uint16_t width, uint16_t height);
H A Drockchip_display.c1049 crtc_state->src_rect.h = logo->height; in display_logo()
1286 logo->height = get_unaligned_le32(&header->height); in load_bmp_logo_legacy()
1287 dst_size = logo->width * logo->height * logo->bpp >> 3; in load_bmp_logo_legacy()
1289 if (logo->height < 0) in load_bmp_logo_legacy()
1290 logo->height = -logo->height; in load_bmp_logo_legacy()
1317 dst_size = logo->width * logo->height * logo->bpp >> 3; in load_bmp_logo_legacy()
1355 static void *bitmap_create(int width, int height, unsigned int state) in bitmap_create() argument
1358 if (width > 4096 || height > 4096) in bitmap_create()
1361 return calloc(width * height, BYTES_PER_PIXEL); in bitmap_create()
1381 for (row = 0; row != bmp->height; row++) { in bmp_copy()
[all …]
/rk3399_rockchip-uboot/drivers/video/
H A Dvideo_bmp.c47 ulong width, height; in video_display_rle8_bitmap() local
54 height = get_unaligned_le32(&bmp->header.height); in video_display_rle8_bitmap()
58 y = height - 1; in video_display_rle8_bitmap()
88 if (y < height) { in video_display_rle8_bitmap()
106 if (y < height) { in video_display_rle8_bitmap()
202 unsigned long width, height, byte_width; in video_bmp_display() local
216 height = get_unaligned_le32(&bmp->header.height); in video_bmp_display()
246 (int)width, (int)height, (int)colours, 1 << bpix); in video_bmp_display()
255 video_splash_align_axis(&y, priv->ysize, height); in video_bmp_display()
260 if ((y + height) > priv->ysize) in video_bmp_display()
[all …]
H A Dbus_vcxk.c114 int vcxk_init(unsigned long width, unsigned long height) in vcxk_init() argument
128 display_height = height; in vcxk_init()
363 unsigned long height; in vcxk_display_bitmap() local
376 height = le32_to_cpu(bmp->header.height); in vcxk_display_bitmap()
386 if (display_height < (height + y)) in vcxk_display_bitmap()
389 c_height = height; in vcxk_display_bitmap()
393 if (c_height < height) in vcxk_display_bitmap()
394 dataptr = dataptr + lw * (height - c_height); in vcxk_display_bitmap()
H A Dda8xx-fb.c194 .height = -1,
481 static int lcd_cfg_frame_buffer(struct da8xx_fb_par *par, u32 width, u32 height, in lcd_cfg_frame_buffer() argument
514 reg = ((height - 1) & 0x3ff) | (reg & 0xfffffc00); in lcd_cfg_frame_buffer()
520 reg |= ((height - 1) & 0x400) << 16; in lcd_cfg_frame_buffer()
715 (unsigned int)panel->height, bpp, in lcd_init()
879 gpanel.winSizeY = lcd_panel->height; in video_hw_init()
881 gpanel.plnSizeY = lcd_panel->height; in video_hw_init()
948 par->vram_size = lcd_panel->width * lcd_panel->height * in video_hw_init()
971 par->dma_end = par->dma_start + lcd_panel->height * in video_hw_init()
989 da8xx_fb_var.yres = lcd_panel->height; in video_hw_init()
[all …]
/rk3399_rockchip-uboot/tools/
H A Dbmp_logo.c10 uint16_t height; member
69 b->width, b->height, n_colors, in gen_info()
115 if (fread (&b->height, sizeof (uint16_t), 1, fp) != 1) in main()
127 b->height = le_short(b->height); in main()
151 if ((b->data = (uint8_t *)malloc(b->width * b->height)) == NULL) in main()
180 for (i=(b->height-1)*b->width; i>=0; i-=b->width) { in main()
187 for (i=0; i<(b->height*b->width); ++i) { in main()
/rk3399_rockchip-uboot/common/
H A Dlcd.c458 ulong width, height; in lcd_display_rle8_bitmap() local
464 height = get_unaligned_le32(&bmp->header.height); in lcd_display_rle8_bitmap()
468 y = height - 1; in lcd_display_rle8_bitmap()
498 if (y < height) { in lcd_display_rle8_bitmap()
516 if (y < height) { in lcd_display_rle8_bitmap()
577 unsigned long width, height, byte_width; in lcd_display_bitmap() local
592 height = get_unaligned_le32(&bmp->header.height); in lcd_display_bitmap()
621 (int)width, (int)height, (int)colors, 1 << bpix); in lcd_display_bitmap()
630 splash_align_axis(&y, panel_info.vl_row, height); in lcd_display_bitmap()
635 if ((y + height) > panel_info.vl_row) in lcd_display_bitmap()
[all …]
/rk3399_rockchip-uboot/tools/easylogo/
H A Deasylogo.c53 int width, height, pixels, bpp, pixel_size, size, palette_size, yuyv; member
171 image->height = header.ImageHeight; in image_load_tga()
187 image->pixels = image->width * image->height; in image_load_tga()
222 for (i = 0; i < image->height; in image_load_tga()
229 printlogo_rgb (image->data, image->width, image->height); in image_load_tga()
253 yuyv_image->height = rgb_image->height; in image_rgb_to_yuyv()
254 yuyv_image->pixels = yuyv_image->width * yuyv_image->height; in image_rgb_to_yuyv()
274 yuyv_image->height); in image_rgb_to_yuyv()
289 rgb565_image->height = rgb888_image->height; in image_rgb888_to_rgb565()
290 rgb565_image->pixels = rgb565_image->width * rgb565_image->height; in image_rgb888_to_rgb565()
[all …]
/rk3399_rockchip-uboot/doc/device-tree-bindings/video/
H A Dsimple-framebuffer.txt11 - height: The height of the framebuffer in pixels.
22 height = <1200>;
/rk3399_rockchip-uboot/arch/sandbox/include/asm/
H A Dsdl.h24 int sandbox_sdl_init_display(int width, int height, int log2_bpp);
80 static inline int sandbox_sdl_init_display(int width, int height, in sandbox_sdl_init_display() argument
/rk3399_rockchip-uboot/lib/efi_loader/
H A Defi_gop.c63 unsigned long height, unsigned long delta) in gop_blt() argument
70 buffer, operation, sx, sy, dx, dy, width, height, delta); in gop_blt()
87 for (i = 0; i < height; i++) { in gop_blt()
102 for (i = 0; i < height; i++) { in gop_blt()
203 gopobj->info.height = row;
/rk3399_rockchip-uboot/drivers/video/rk_eink/
H A Drk_ebc_tcon.c369 u32 width, height, vir_width, vir_height; in ebc_tcon_enable() local
373 height = panel->height / 2; in ebc_tcon_enable()
378 height = panel->height; in ebc_tcon_enable()
400 WIN_VIR_HEIGHT(height) | in ebc_tcon_enable()
403 WIN_ACT_HEIGHT(height) | in ebc_tcon_enable()
406 WIN_DSP_HEIGHT(height) | in ebc_tcon_enable()
591 u32 width, height, vir_width, vir_height; in rk3576_ebc_tcon_enable() local
597 height = panel->height / 2; in rk3576_ebc_tcon_enable()
602 height = panel->height; in rk3576_ebc_tcon_enable()
624 RK3576_WIN_VIR_HEIGHT(height) | in rk3576_ebc_tcon_enable()
[all …]
/rk3399_rockchip-uboot/arch/arm/mach-bcm283x/
H A Dmsg.c104 *heightp = msg_query->physical_w_h.body.resp.height; in bcm2835_get_video_size()
119 msg_setup->physical_w_h.body.req.height = *heightp; in bcm2835_set_video_params()
122 msg_setup->virtual_w_h.body.req.height = *heightp; in bcm2835_set_video_params()
147 *heightp = msg_setup->physical_w_h.body.resp.height; in bcm2835_set_video_params()
/rk3399_rockchip-uboot/arch/sandbox/cpu/
H A Dsdl.c16 int height; member
62 int sandbox_sdl_init_display(int width, int height, int log2_bpp) in sandbox_sdl_init_display() argument
79 sdl.height = height; in sandbox_sdl_init_display()
82 sdl.screen = SDL_SetVideoMode(width, height, 0, 0); in sandbox_sdl_init_display()
92 frame = SDL_CreateRGBSurfaceFrom(lcd_base, sdl.width, sdl.height, in sandbox_sdl_sync()
/rk3399_rockchip-uboot/arch/arm/mach-bcm283x/include/mach/
H A Dmbox.h305 u32 height; member
309 u32 height; member
325 u32 height; member
329 u32 height; member
/rk3399_rockchip-uboot/include/
H A Dvideo_easylogo.h20 int height; member

1234