summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-03-09 12:08:56 +0100
committerJohns <johns98@gmx.net>2012-03-09 12:08:56 +0100
commitc2938c7ef3942b281ac1fc3dc5975e18ac397559 (patch)
treeddfd1eab7d39d7d626f1065099c171cb8369c0e5 /softhddev.c
parentd65fe88c83020b5dc5211b186989266bc16992e0 (diff)
downloadvdr-plugin-softhddevice-c2938c7ef3942b281ac1fc3dc5975e18ac397559.tar.gz
vdr-plugin-softhddevice-c2938c7ef3942b281ac1fc3dc5975e18ac397559.tar.bz2
Wakeup display to show OSD for remote learning.
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);
}