arm: vuplus4k dummy function QuadPiP() added

This commit is contained in:
BPanther
2021-10-03 00:07:47 +02:00
committed by Thilo Graf
parent a489111a1a
commit 40227ebdfa
4 changed files with 16 additions and 1 deletions

View File

@@ -13,7 +13,6 @@
#include "audio_lib.h"
#include "hal_debug.h"
#include <config.h>
#define hal_debug(args...) _hal_debug(HAL_DEBUG_AUDIO, this, args)
#define hal_info(args...) _hal_info(HAL_DEBUG_AUDIO, this, args)

View File

@@ -4,6 +4,7 @@
#define __AUDIO_LIB_H__
#include "cs_types.h"
#include <config.h>
typedef enum
{

View File

@@ -889,6 +889,16 @@ int cVideo::getBlank(void)
#endif
}
#if BOXMODEL_VUPLUS_ARM
void cVideo::QuadPiP(bool active)
{
if (active)
proc_put("/proc/stb/video/decodermode", "mosaic", strlen("mosaic"));
else
proc_put("/proc/stb/video/decodermode", "normal", strlen("normal"));
}
#endif
void cVideo::ShowPig(int _x)
{
char buffer[64];

View File

@@ -273,6 +273,11 @@ class cVideo
void SetControl(int, int);
void setContrast(int val);
void SetVideoMode(analog_mode_t mode);
#if BOXMODEL_VUPLUS_ARM
void QuadPiP(bool active = false);
#endif
void SetDBDR(int)
{
return;