libarmbox: adjustments

Origin commit data
------------------
Branch: master
Commit: b21afd56b1
Author: max_10 <max_10@gmx.de>
Date: 2017-09-26 (Tue, 26 Sep 2017)


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

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2017-09-26 14:16:42 +02:00
parent 52a81e47dd
commit 4095492069

View File

@@ -786,19 +786,19 @@ void cVideo::SetControl(int control, int value) {
switch (control) {
case VIDEO_CONTROL_BRIGHTNESS:
brightness = value;
p = "/proc/stb/video/plane/psi_brightness";
p = "/proc/stb/vmpeg/0/pep_brightness";
break;
case VIDEO_CONTROL_CONTRAST:
contrast = value;
p = "/proc/stb/video/plane/psi_contrast";
p = "/proc/stb/vmpeg/0/pep_contrast";
break;
case VIDEO_CONTROL_SATURATION:
saturation = value;
p = "/proc/stb/video/plane/psi_saturation";
p = "/proc/stb/vmpeg/0/pep_saturation";
break;
case VIDEO_CONTROL_HUE:
hue = value;
p = "/proc/stb/video/plane/psi_tint";
p = "/proc/stb/vmpeg/0/pep_hue";
break;
}
if (p) {
@@ -835,7 +835,7 @@ void cVideo::SetColorFormat(COLOR_FORMAT color_format) {
break;
}
if (p)
proc_put("/proc/stb/avs/0/colorformat", p, strlen(p));
proc_put("/proc/stb/video/hdmi_colorspace", p, strlen(p));
}
/* TODO: aspect ratio correction and PIP */