mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
Add CEC modes of operation.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@601 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: e75bd7e115
Author: nightshad <nightshad@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2010-05-28 (Fri, 28 May 2010)
This commit is contained in:
@@ -93,6 +93,12 @@ typedef enum {
|
|||||||
VIDEO_STD_AUTO
|
VIDEO_STD_AUTO
|
||||||
} VIDEO_STD;
|
} VIDEO_STD;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
VIDEO_HDMI_CEC_MODE_OFF = 0,
|
||||||
|
VIDEO_HDMI_CEC_MODE_TUNER,
|
||||||
|
VIDEO_HDMI_CEC_MODE_RECORDER
|
||||||
|
} VIDEO_HDMI_CEC_MODE;
|
||||||
|
|
||||||
#ifndef CS_VIDEO_PDATA
|
#ifndef CS_VIDEO_PDATA
|
||||||
#define CS_VIDEO_PDATA void
|
#define CS_VIDEO_PDATA void
|
||||||
#endif
|
#endif
|
||||||
@@ -109,6 +115,7 @@ class cVideo
|
|||||||
VIDEO_DB_DR eDbDr;
|
VIDEO_DB_DR eDbDr;
|
||||||
DISPLAY_AR PictureAR;
|
DISPLAY_AR PictureAR;
|
||||||
VIDEO_FRAME_RATE FrameRate;
|
VIDEO_FRAME_RATE FrameRate;
|
||||||
|
VIDEO_HDMI_CEC_MODE hdmiCECMode;
|
||||||
bool Interlaced;
|
bool Interlaced;
|
||||||
|
|
||||||
unsigned int uDRMDisplayDelay;
|
unsigned int uDRMDisplayDelay;
|
||||||
@@ -184,6 +191,7 @@ class cVideo
|
|||||||
int SetVideoSystem(int video_system, bool remember = true);
|
int SetVideoSystem(int video_system, bool remember = true);
|
||||||
int SetStreamType(VIDEO_FORMAT type);
|
int SetStreamType(VIDEO_FORMAT type);
|
||||||
void SetSyncMode(AVSYNC_TYPE mode);
|
void SetSyncMode(AVSYNC_TYPE mode);
|
||||||
|
bool SetCEC(VIDEO_HDMI_CEC_MODE Mode);
|
||||||
void ShowPicture(const char * fname);
|
void ShowPicture(const char * fname);
|
||||||
void StopPicture();
|
void StopPicture();
|
||||||
void Standby(unsigned int bOn);
|
void Standby(unsigned int bOn);
|
||||||
|
Reference in New Issue
Block a user