mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
spark: remove unused cVideo() functions
Origin commit data
------------------
Branch: master
Commit: 027308e310
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-23 (Thu, 23 Feb 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -485,52 +485,6 @@ int cVideo::SetStreamType(VIDEO_FORMAT type)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void cVideo::routeVideo(int standby)
|
||||
{
|
||||
#if 0
|
||||
lt_debug("%s(%d)\n", __FUNCTION__, standby);
|
||||
|
||||
int avsfd = open("/dev/stb/tdsystem", O_RDONLY);
|
||||
if (avsfd < 0)
|
||||
{
|
||||
perror("open tdsystem");
|
||||
return;
|
||||
}
|
||||
|
||||
/* in standby, we always route VCR scart to the TV. Once there is a UI
|
||||
to configure this, we can think more about this... */
|
||||
if (standby)
|
||||
{
|
||||
lt_info("%s set fastblank and pin8 to follow VCR SCART, route VCR to TV\n", __FUNCTION__);
|
||||
if (ioctl(avsfd, IOC_AVS_FASTBLANK_SET, (unsigned char)3) < 0)
|
||||
perror("IOC_AVS_FASTBLANK_SET, 3");
|
||||
/* TODO: should probably depend on aspect ratio setting */
|
||||
if (ioctl(avsfd, IOC_AVS_SCART_PIN8_FOLLOW_VCR) < 0)
|
||||
perror("IOC_AVS_SCART_PIN8_FOLLOW_VCR");
|
||||
if (ioctl(avsfd, IOC_AVS_ROUTE_VCR2TV) < 0)
|
||||
perror("IOC_AVS_ROUTE_VCR2TV");
|
||||
} else {
|
||||
unsigned char fblk = 1;
|
||||
lt_info("%s set fastblank=%d pin8=%dV, route encoder to TV\n", __FUNCTION__, fblk, scartvoltage);
|
||||
if (ioctl(avsfd, IOC_AVS_FASTBLANK_SET, fblk) < 0)
|
||||
perror("IOC_AVS_FASTBLANK_SET, fblk");
|
||||
if (!noscart && ioctl(avsfd, IOC_AVS_SCART_PIN8_SET, scartvoltage) < 0)
|
||||
perror("IOC_AVS_SCART_PIN8_SET");
|
||||
if (ioctl(avsfd, IOC_AVS_ROUTE_ENC2TV) < 0)
|
||||
perror("IOC_AVS_ROUTE_ENC2TV");
|
||||
}
|
||||
close(avsfd);
|
||||
#endif
|
||||
}
|
||||
|
||||
void cVideo::FastForwardMode(int mode)
|
||||
{
|
||||
#if 0
|
||||
lt_debug("%s\n", __FUNCTION__);
|
||||
fop(ioctl, MPEG_VID_FASTFORWARD, mode);
|
||||
#endif
|
||||
}
|
||||
|
||||
int64_t cVideo::GetPTS(void)
|
||||
{
|
||||
int64_t pts = 0;
|
||||
|
@@ -132,7 +132,6 @@ class cVideo
|
||||
VIDEO_DB_DR eDbDr;
|
||||
DISPLAY_AR PictureAR;
|
||||
VIDEO_FRAME_RATE FrameRate;
|
||||
void routeVideo(int standby);
|
||||
int video_standby;
|
||||
int64_t GetPTS(void);
|
||||
|
||||
@@ -184,7 +183,6 @@ class cVideo
|
||||
void SetVideoMode(analog_mode_t mode);
|
||||
void SetDBDR(int) { return; };
|
||||
void SetAudioHandle(void *) { return; };
|
||||
void FastForwardMode(int mode = 0);
|
||||
void SetAutoModes(int [VIDEO_STD_MAX]) { return; };
|
||||
int OpenVBI(int) { return 0; };
|
||||
int CloseVBI(void) { return 0; };
|
||||
|
Reference in New Issue
Block a user