X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fvideo.h;h=43f2e2c02f0f5294bb3f75788536ea2efeb593a2;hb=c56289ddafce3d1ec442fb18064f136c2c47d0bb;hp=32afb26a45ba0e83f9be6d71891d3b4171a2aa04;hpb=e90322f87c97a4829c44fe77435c9faca87cbfc8;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/video.h b/include/video.h index 32afb26..43f2e2c 100644 --- a/include/video.h +++ b/include/video.h @@ -286,6 +286,15 @@ void video_set_flush_dcache(struct udevice *dev, bool flush); */ void video_set_default_colors(struct udevice *dev, bool invert); +/** + * video_default_font_height() - Get the default font height + * + * @dev: video device + * Returns: Default font height in pixels, which depends on which console driver + * is in use + */ +int video_default_font_height(struct udevice *dev); + #ifdef CONFIG_VIDEO_COPY /** * vidconsole_sync_copy() - Sync back to the copy framebuffer @@ -337,4 +346,13 @@ bool video_is_active(void); */ void *video_get_u_boot_logo(void); +/* + * bmp_display() - Display BMP (bitmap) data located in memory + * + * @addr: address of the bmp data + * @x: Position of bitmap from the left side, in pixels + * @y: Position of bitmap from the top, in pixels + */ +int bmp_display(ulong addr, int x, int y); + #endif