Revert "remove hdmi_cec"

This reverts commit 756a409f2f.


Origin commit data
------------------
Branch: master
Commit: 93bb54b48d
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-12-25 (Sun, 25 Dec 2022)



------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2022-12-25 20:54:29 +01:00
parent 6074091c77
commit 6b8b86e750
12 changed files with 2728 additions and 0 deletions

View File

@@ -135,6 +135,20 @@ typedef enum
VIDEO_STD_MAX = VIDEO_STD_AUTO
} VIDEO_STD;
typedef enum
{
VIDEO_HDMI_CEC_MODE_OFF = 0,
VIDEO_HDMI_CEC_MODE_TUNER = 3,
VIDEO_HDMI_CEC_MODE_RECORDER = 1
} VIDEO_HDMI_CEC_MODE;
typedef enum
{
VIDEO_HDMI_CEC_VOL_OFF = 0,
VIDEO_HDMI_CEC_VOL_AUDIOSYSTEM = 1,
VIDEO_HDMI_CEC_VOL_TV = 2
} VIDEO_HDMI_CEC_VOL;
typedef enum
{
VIDEO_CONTROL_BRIGHTNESS = 0,
@@ -245,6 +259,11 @@ class cVideo
int SetVideoSystem(int video_system, bool remember = true);
int SetStreamType(VIDEO_FORMAT type);
void SetSyncMode(AVSYNC_TYPE mode);
bool SetCECMode(VIDEO_HDMI_CEC_MODE);
void SetCECAutoView(bool);
void SetCECAutoStandby(bool);
int GetAudioDestination();
void SetAudioDestination(int audio_dest);
bool ShowPicture(const char *fname);
void StopPicture();
void Standby(unsigned int bOn);