summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
Diffstat (limited to 'softhddev.c')
-rw-r--r--softhddev.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/softhddev.c b/softhddev.c
index ff44b8c..db9c4c9 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -2029,6 +2029,10 @@ int Flush(int timeout)
/**
** Get OSD size and aspect.
+**
+** @param width[OUT] width of OSD
+** @param height[OUT] height of OSD
+** @param aspect[OUT] aspect ratio (4/3, 16/9, ...) of OSD
*/
void GetOsdSize(int *width, int *height, double *aspect)
{
@@ -2060,9 +2064,17 @@ void OsdClose(void)
/**
** Draw an OSD pixmap.
+**
+** @param x x-coordinate on screen of argb image
+** @param y y-coordinate on screen of argb image
+** @paran height height in pixel of argb image
+** @paran width width in pixel of argb image
+** @param argb height * width 32bit ARGB image data
*/
void OsdDrawARGB(int x, int y, int height, int width, const uint8_t * argb)
{
+ // wakeup display for showing remote learning dialog
+ VideoDisplayWakeup();
VideoOsdDrawARGB(x, y, height, width, argb);
}