From e3eb0165c9d3d060fc412724f650edd505fb7ee7 Mon Sep 17 00:00:00 2001 From: BPanther Date: Fri, 15 Oct 2021 14:54:57 +0200 Subject: [PATCH] quadpip windows fix Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/0b9551bc3c7bb4fdfa895909622e7d2492e1ea35 Author: BPanther Date: 2021-10-15 (Fri, 15 Oct 2021) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libarmbox/video.cpp | 6 +----- libarmbox/video_lib.h | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/libarmbox/video.cpp b/libarmbox/video.cpp index 82ddb14..3c7c950 100644 --- a/libarmbox/video.cpp +++ b/libarmbox/video.cpp @@ -900,13 +900,9 @@ int cVideo::getBlank(void) } #if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUDUO4KSE || BOXMODEL_VUULTIMO4K || BOXMODEL_VUUNO4KSE || BOXMODEL_VUUNO4K -void cVideo::QuadPiP(bool active) +void cVideo::QuadPiP(bool active, int _x, int _y, int _w, int _h) { char buffer[64]; - int _x = 0; - int _y = 0; - int _w = 360; - int _h = 288; int _a = 1; if (active) { proc_put("/proc/stb/video/decodermode", "mosaic", strlen("mosaic")); diff --git a/libarmbox/video_lib.h b/libarmbox/video_lib.h index 3cc5db7..9558de3 100644 --- a/libarmbox/video_lib.h +++ b/libarmbox/video_lib.h @@ -275,7 +275,7 @@ class cVideo void SetVideoMode(analog_mode_t mode); #if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUDUO4KSE || BOXMODEL_VUULTIMO4K || BOXMODEL_VUUNO4KSE || BOXMODEL_VUUNO4K - void QuadPiP(bool active = false); + void QuadPiP(bool active = false, int _x = 0, int _y = 0, int _w = 360, int _h = 288); #endif void SetDBDR(int)