mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
add ShowPig libspark
Origin commit data
------------------
Branch: master
Commit: 06eda228fc
Author: Frankenstone <dampf_acc@online.de>
Date: 2021-05-09 (Sun, 09 May 2021)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -102,6 +102,14 @@ static const char *VMPEG_framerate[] = {
|
||||
"/proc/stb/vmpeg/1/framerate"
|
||||
};
|
||||
|
||||
static const char *VMPEG_visible[] = {
|
||||
"/proc/stb/vmpeg/0/visible",
|
||||
"/proc/stb/vmpeg/1/visible",
|
||||
"/proc/stb/vmpeg/2/visible",
|
||||
"/proc/stb/vmpeg/3/visible"
|
||||
};
|
||||
|
||||
|
||||
static const char *vid_modes[] = {
|
||||
"pal", // VIDEO_STD_NTSC
|
||||
"pal", // VIDEO_STD_SECAM
|
||||
@@ -813,6 +821,13 @@ void cVideo::VideoParamWatchdog(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
void cVideo::ShowPig(int _x)
|
||||
{
|
||||
char buffer[64];
|
||||
sprintf(buffer, "%d", _x);
|
||||
proc_put(VMPEG_visible[devnum], buffer, strlen(buffer));
|
||||
}
|
||||
|
||||
void cVideo::Pig(int x, int y, int w, int h, int osd_w, int osd_h, int startx, int starty, int endx, int endy)
|
||||
{
|
||||
char buffer[64];
|
||||
|
Reference in New Issue
Block a user