Revert "introduce hdmi_cec to driver"

This reverts commit 35df18cfb5 and the following hdmi_cec commits.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9338ea7226
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-12-28 (Wed, 28 Dec 2022)



------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2022-12-28 21:29:54 +01:00
parent b0a026bebf
commit 1d7ff96338
16 changed files with 31 additions and 180 deletions

View File

@@ -50,14 +50,10 @@ extern CPictureViewer *g_PicViewer;
// nhttpd
#include "neutrinoapi.h"
#include "controlapi.h"
#include <hardware/video.h>
#include <zapit/femanager.h>
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
#include <driver/hdmi_cec.h>
#else
#include <hardware/video.h>
extern cVideo * videoDecoder;
#endif
//NI
#include <system/helpers.h>
@@ -602,11 +598,7 @@ void CControlAPI::StandbyCGI(CyhookHandler *hh)
{
//dont use CEC with standbyoff (TV off) --- use: control/standby?off&cec=off
if(g_settings.hdmi_cec_standby && CEC_HDMI_off){
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
g_hdmicec->SetCECAutoStandby(0);
#else
videoDecoder->SetCECAutoStandby(0);
#endif
}
if(CNeutrinoApp::getInstance()->getMode() != 4)
@@ -621,11 +613,7 @@ void CControlAPI::StandbyCGI(CyhookHandler *hh)
{
//dont use CEC with with view on (TV on) --- use: control/standby?off&cec=off
if(g_settings.hdmi_cec_view_on && CEC_HDMI_off){
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
g_hdmicec->SetCECAutoView(0);
#else
videoDecoder->SetCECAutoView(0);
#endif
}
NeutrinoAPI->Zapit->setStandby(false);