/u-boot/include/ |
H A D | video_font_data.h | 9 #define VIDEO_FONT_CHAR_PIXEL_BYTES(width, height) (height * VIDEO_FONT_BYTE_WIDTH(width)) 10 #define VIDEO_FONT_SIZE(chars, width, height) (chars * VIDEO_FONT_CHAR_PIXEL_BYTES(width, height)) 15 int height; member in struct:video_fontdata 25 .height = _font_height, \
|
H A D | bus_vcxk.h | 10 extern int vcxk_init(unsigned long width, unsigned long height);
|
H A D | bmp_layout.h | 32 __u32 height; member in struct:bmp_header
|
H A D | video_osd.h | 13 /* The height of the OSD display in rows */ 14 uint height; member in struct:video_osd_info
|
/u-boot/scripts/kconfig/lxdialog/ |
H A D | yesno.c | 14 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument 17 int y = height - 2; 29 int dialog_yesno(const char *title, const char *prompt, int height, int width) argument 35 if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) 42 y = (getmaxy(stdscr) - height) / 2; 44 draw_shadow(stdscr, y, x, height, width); 46 dialog = newwin(height, width, y, x); 49 draw_box(dialog, 0, 0, height, width, 52 mvwaddch(dialog, height - 3, 0, ACS_LTEE); 63 print_buttons(dialog, height, widt [all...] |
H A D | inputbox.c | 16 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument 19 int y = height - 2; 31 int dialog_inputbox(const char *title, const char *prompt, int height, int width, argument 46 if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGTH_MIN)) 53 y = (getmaxy(stdscr) - height) / 2; 55 draw_shadow(stdscr, y, x, height, width); 57 dialog = newwin(height, width, y, x); 60 draw_box(dialog, 0, 0, height, width, 63 mvwaddch(dialog, height - 3, 0, ACS_LTEE); 82 print_buttons(dialog, height, widt [all...] |
H A D | textbox.c | 12 static void print_page(WINDOW *win, int height, int width, update_text_fn 48 int height, width, boxh, boxw; local 69 getmaxyx(stdscr, height, width); 70 if (height < TEXTBOX_HEIGTH_MIN || width < TEXTBOX_WIDTH_MIN) 73 height = initial_height; 75 if (height > 4) 76 height -= 4; 78 height = 0; 89 y = (getmaxy(stdscr) - height) / 2; 91 draw_shadow(stdscr, y, x, height, widt 299 print_page(WINDOW *win, int height, int width, update_text_fn update_text, void *data) argument [all...] |
H A D | checklist.c | 53 int y, int x, int height) 69 y = y + height + 1; 72 if ((height < item_no) && (scroll + choice < item_no - 1)) { 88 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument 91 int y = height - 2; 104 int dialog_checklist(const char *title, const char *prompt, int height, argument 122 if (getmaxy(stdscr) < (height + CHECKLIST_HEIGTH_MIN)) 131 y = (getmaxy(stdscr) - height) / 2; 133 draw_shadow(stdscr, y, x, height, width); 135 dialog = newwin(height, widt 52 print_arrows(WINDOW * win, int choice, int item_no, int scroll, int y, int x, int height) argument [all...] |
H A D | dialog.h | 202 void attr_clear(WINDOW * win, int height, int width, chtype attr); 207 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box, 209 void draw_shadow(WINDOW * win, int y, int x, int height, int width); 212 int dialog_yesno(const char *title, const char *prompt, int height, int width); 213 int dialog_msgbox(const char *title, const char *prompt, int height, 224 int dialog_checklist(const char *title, const char *prompt, int height, 226 int dialog_inputbox(const char *title, const char *prompt, int height,
|
H A D | menubox.c | 99 int height) 119 y = y + height + 1; 123 if ((height < item_no) && (scroll + height < item_no)) { 142 static void print_buttons(WINDOW * win, int height, int width, int selected) argument 145 int y = height - 2; 175 int height, width, menu_height; local 181 height = getmaxy(stdscr); 183 if (height < MENUBOX_HEIGTH_MIN || width < MENUBOX_WIDTH_MIN) 186 height 98 print_arrows(WINDOW * win, int item_no, int scroll, int y, int x, int height) argument [all...] |
/u-boot/drivers/video/meson/ |
H A D | meson_canvas.c | 29 u32 stride, u32 height, 40 (height << CANVAS_HEIGHT_BIT) | 27 meson_canvas_setup(struct meson_vpu_priv *priv, u32 canvas_index, u32 addr, u32 stride, u32 height, unsigned int wrap, unsigned int blkmode) argument
|
/u-boot/board/friendlyarm/nanopi2/ |
H A D | lcds.c | 95 .height = 1280, 122 .height = 480, 149 .height = 480, 176 .height = 480, 203 .height = 480, 230 .height = 800, 257 .height = 600, 283 .height = 600, 310 .height = 768, 336 .height 547 int height; member in struct:hdmi_config [all...] |
H A D | nxp-fb.h | 52 * @height: vertical resolution 54 * @p_height: height of lcd in mm 64 int height; member in struct:nxp_lcd
|
/u-boot/arch/sandbox/include/asm/ |
H A D | sdl.h | 18 * @height Window height in pixels 26 int sandbox_sdl_init_display(int width, int height, int log2_bpp, 108 static inline int sandbox_sdl_init_display(int width, int height, int log2_bpp, argument
|
/u-boot/drivers/video/ |
H A D | sandbox_osd.c | 16 uint height; member in struct:sandbox_osd_priv 35 info->height = priv->height; 52 if (pos >= 2 * (priv->width * priv->height)) 68 priv->height = row; 69 size = priv->width * priv->height; 98 if (col >= priv->width || row >= priv->height) 133 uint memsize = 2 * (priv->width * priv->height);
|
H A D | simplefb.c | 23 u32 width, height, rot; local 45 ret = ret ?: ofnode_read_u32(node, "height", &height); 46 if (ret || !width || !height) { 47 log_err("%s: invalid width or height: %d\n", __func__, ret); 53 uc_priv->ysize = height;
|
H A D | video_bmp.c | 130 ulong width, ulong height) 144 y = height - 1; 174 if (y < height) { 192 if (y < height) { 252 *heightp = get_unaligned_le32(&bmp->header.height); 265 unsigned long width, height, byte_width; local 280 video_bmp_get_info(bmp, &width, &height, &bmp_bpix); 313 (int)width, (int)height, (int)colours, 1 << bpix); 319 video_splash_align_axis(&y, priv->ysize, height); 324 if ((y + height) > pri 126 video_display_rle8_bitmap(struct udevice *dev, struct bmp_image *bmp, uint bpix, struct bmp_color_table_entry *palette, uchar *fb, int x_off, int y_off, ulong width, ulong height) argument [all...] |
H A D | console_rotate.c | 14 #include <video_font.h> /* Get font data, width and height */ 28 (row + 1) * fontdata->height * pbytes; 32 for (i = 0; i < fontdata->height; i++) 55 (rowdst + count) * fontdata->height * pbytes; 57 (rowsrc + count) * fontdata->height * pbytes; 61 fontdata->height * pbytes * count); 111 int pixels = fontdata->height * vid_priv->xsize; 116 (row + 1) * fontdata->height * vid_priv->line_length; 140 dst = end - (rowdst + count) * fontdata->height * 142 src = end - (rowsrc + count) * fontdata->height * [all...] |
H A D | console_core.c | 30 debug("height: %d\n", fontdata->height); 34 vc_priv->y_charsize = fontdata->height; 37 vc_priv->rows = vid_priv->xsize / fontdata->height; 41 vc_priv->rows = vid_priv->ysize / fontdata->height; 98 for (int row = 0; row < fontdata->height; row++) { 162 for (int row = 0; row < fontdata->height; row++) { 180 uint height, bool direction) 201 for (int row = 0; row < height; row++) { 247 printf("no such font: %s, make sure it's name has <width>x<height> forma 179 draw_cursor_vertically(void **line, struct video_priv *vid_priv, uint height, bool direction) argument [all...] |
H A D | console_normal.c | 14 #include <video_font.h> /* Get font data, width and height */ 23 int pixels = fontdata->height * vid_priv->xsize; 32 line = vid_priv->fb + row * fontdata->height * vid_priv->line_length; 57 dst = vid_priv->fb + rowdst * fontdata->height * vid_priv->line_length; 58 src = vid_priv->fb + rowsrc * fontdata->height * vid_priv->line_length; 59 size = fontdata->height * vid_priv->line_length * count;
|
H A D | vidconsole_internal.h | 103 * @height: height of the cursor in pixels 120 uint height, bool direction);
|
/u-boot/tools/ |
H A D | bmp_logo.c | 11 uint16_t height; member in struct:bitmap_s 71 b->width, b->height, n_colors, 110 * read width and height of the image, and the number of colors used; 125 if (fread (&b->height, sizeof (uint16_t), 1, fp) != 1) 126 error ("Couldn't read bitmap height", fp); 137 b->height = le_short(b->height); 139 size = b->width * b->height; 204 for (i = (b->height - 1) * b->width; i >= 0; i -= b->width) {
|
/u-boot/lib/efi_loader/ |
H A D | efi_gop.c | 114 efi_uintn_t height, 144 sy + height > gopobj->info.height) 157 dy + height > gopobj->info.height) 197 for (i = 0; i < height; i++) { 283 efi_uintn_t height, efi_uintn_t delta, 287 dy, width, height, delta, vid_bpp); 295 efi_uintn_t height, efi_uintn_t delta) 298 dy, width, height, delt 108 gop_blt_int(struct efi_gop *this, struct efi_gop_pixel *bufferp, u32 operation, efi_uintn_t sx, efi_uintn_t sy, efi_uintn_t dx, efi_uintn_t dy, efi_uintn_t width, efi_uintn_t height, efi_uintn_t delta, efi_uintn_t vid_bpp) argument 278 gop_blt_video_fill(struct efi_gop *this, struct efi_gop_pixel *buffer, u32 foo, efi_uintn_t sx, efi_uintn_t sy, efi_uintn_t dx, efi_uintn_t dy, efi_uintn_t width, efi_uintn_t height, efi_uintn_t delta, efi_uintn_t vid_bpp) argument 290 gop_blt_buf_to_vid16(struct efi_gop *this, struct efi_gop_pixel *buffer, u32 foo, efi_uintn_t sx, efi_uintn_t sy, efi_uintn_t dx, efi_uintn_t dy, efi_uintn_t width, efi_uintn_t height, efi_uintn_t delta) argument 301 gop_blt_buf_to_vid30(struct efi_gop *this, struct efi_gop_pixel *buffer, u32 foo, efi_uintn_t sx, efi_uintn_t sy, efi_uintn_t dx, efi_uintn_t dy, efi_uintn_t width, efi_uintn_t height, efi_uintn_t delta) argument 312 gop_blt_buf_to_vid32(struct efi_gop *this, struct efi_gop_pixel *buffer, u32 foo, efi_uintn_t sx, efi_uintn_t sy, efi_uintn_t dx, efi_uintn_t dy, efi_uintn_t width, efi_uintn_t height, efi_uintn_t delta) argument 323 gop_blt_vid_to_vid(struct efi_gop *this, struct efi_gop_pixel *buffer, u32 foo, efi_uintn_t sx, efi_uintn_t sy, efi_uintn_t dx, efi_uintn_t dy, efi_uintn_t width, efi_uintn_t height, efi_uintn_t delta, efi_uintn_t vid_bpp) argument 335 gop_blt_vid_to_buf(struct efi_gop *this, struct efi_gop_pixel *buffer, u32 foo, efi_uintn_t sx, efi_uintn_t sy, efi_uintn_t dx, efi_uintn_t dy, efi_uintn_t width, efi_uintn_t height, efi_uintn_t delta, efi_uintn_t vid_bpp) argument 403 gop_blt(struct efi_gop *this, struct efi_gop_pixel *buffer, u32 operation, efi_uintn_t sx, efi_uintn_t sy, efi_uintn_t dx, efi_uintn_t dy, efi_uintn_t width, efi_uintn_t height, efi_uintn_t delta) argument [all...] |
/u-boot/test/dm/ |
H A D | osd.c | 31 static void print_mem(u8 *mem, uint width, uint height) argument 40 for (i = 0; i < width * height; i++) { 48 for (i = 0; i < width * height; i++) { 68 ut_asserteq(10, info.height); 153 ut_asserteq(5, info.height);
|
/u-boot/arch/sandbox/cpu/ |
H A D | sdl.c | 33 * @height: Height of simulated LCD display 35 * @vis_height: Visible height (may be larger to allow for scaling up) 54 int height; member in struct:sdl_info 124 int sandbox_sdl_init_display(int width, int height, int log2_bpp, argument 143 sdl.height = height; 146 sdl.vis_height = sdl.height * 2; 149 sdl.vis_height = sdl.height; 181 width, height); 223 for (y = 0; y < sdl.height; [all...] |