aboutsummaryrefslogtreecommitdiff
path: root/include/video.h
diff options
context:
space:
mode:
authorSimon Glass2022-10-18 07:41:14 -0600
committerAnatolij Gustschin2022-10-30 20:07:16 +0100
commitf24404d85f2d226110a3fd9aa169f25f9f454e35 (patch)
treef0a19b3a035131f68898e45a0bd7257aaed354e2 /include/video.h
parentba97899349a2a90e8799c79fdc1ab906bf439db4 (diff)
video: Move bmp_display() prototype to video.h
The lcd.h header is about to be deleted, so move this prototype. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/video.h')
-rw-r--r--include/video.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/video.h b/include/video.h
index 529f9685183..43f2e2c02f0 100644
--- a/include/video.h
+++ b/include/video.h
@@ -346,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