arm: vuplus4k dummy function QuadPiP() added

Origin commit data
------------------
Branch: master
Commit: b0cd3d8680
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2021-10-15 (Fri, 15 Oct 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2021-10-15 14:54:57 +02:00
committed by vanhofen
parent bb4911e978
commit f48f4b8ca1
4 changed files with 16 additions and 1 deletions

View File

@@ -13,7 +13,6 @@
#include "audio_lib.h" #include "audio_lib.h"
#include "hal_debug.h" #include "hal_debug.h"
#include <config.h>
#define hal_debug(args...) _hal_debug(HAL_DEBUG_AUDIO, this, args) #define hal_debug(args...) _hal_debug(HAL_DEBUG_AUDIO, this, args)
#define hal_info(args...) _hal_info(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__ #define __AUDIO_LIB_H__
#include "cs_types.h" #include "cs_types.h"
#include <config.h>
typedef enum typedef enum
{ {

View File

@@ -889,6 +889,16 @@ int cVideo::getBlank(void)
#endif #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) void cVideo::ShowPig(int _x)
{ {
char buffer[64]; char buffer[64];

View File

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