mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
add ShowPig
Origin commit data
------------------
Branch: master
Commit: 1e233688ef
Author: TangoCash <eric@loxat.de>
Date: 2021-03-12 (Fri, 12 Mar 2021)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -141,6 +141,13 @@ static const char *VMPEG_framerate[] = {
|
|||||||
"/proc/stb/vmpeg/3/framerate"
|
"/proc/stb/vmpeg/3/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[] = {
|
static const char *vid_modes[] = {
|
||||||
"pal", // VIDEO_STD_NTSC
|
"pal", // VIDEO_STD_NTSC
|
||||||
"pal", // VIDEO_STD_SECAM
|
"pal", // VIDEO_STD_SECAM
|
||||||
@@ -759,6 +766,13 @@ int cVideo::getBlank(void)
|
|||||||
#endif
|
#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)
|
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];
|
char buffer[64];
|
||||||
|
@@ -245,6 +245,7 @@ class cVideo
|
|||||||
bool ShowPicture(const char * fname);
|
bool ShowPicture(const char * fname);
|
||||||
void StopPicture();
|
void StopPicture();
|
||||||
void Standby(unsigned int bOn);
|
void Standby(unsigned int bOn);
|
||||||
|
void ShowPig(int _x);
|
||||||
void Pig(int x, int y, int w, int h, int osd_w = 1064, int osd_h = 600, int startx = 0, int starty = 0, int endx = 1279, int endy = 719);
|
void Pig(int x, int y, int w, int h, int osd_w = 1064, int osd_h = 600, int startx = 0, int starty = 0, int endx = 1279, int endy = 719);
|
||||||
void SetControl(int, int);
|
void SetControl(int, int);
|
||||||
void setContrast(int val);
|
void setContrast(int val);
|
||||||
|
Reference in New Issue
Block a user