mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
rename hdmi_mode -> hdmi_colorimetry
Origin commit data
------------------
Branch: master
Commit: 91225e1e36
Author: TangoCash <eric@loxat.de>
Date: 2021-12-05 (Sun, 05 Dec 2021)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1238,21 +1238,21 @@ void cVideo::SetColorFormat(COLOR_FORMAT color_format)
|
||||
proc_put("/proc/stb/video/hdmi_colorspace", p, strlen(p));
|
||||
}
|
||||
|
||||
void cVideo::SetHdmiMode(HDMI_MODE hdmi_mode)
|
||||
void cVideo::SetHDMIColorimetry(HDMI_COLORIMETRY hdmi_colorimetry)
|
||||
{
|
||||
const char *p = NULL;
|
||||
switch (hdmi_mode)
|
||||
switch (hdmi_colorimetry)
|
||||
{
|
||||
case HDMI_MODE_AUTO:
|
||||
case HDMI_COLORIMETRY_AUTO:
|
||||
p = "auto";
|
||||
break;
|
||||
case HDMI_MODE_BT2020NCL:
|
||||
case HDMI_COLORIMETRY_BT2020NCL:
|
||||
p = "bt2020ncl";
|
||||
break;
|
||||
case HDMI_MODE_BT2020CL:
|
||||
case HDMI_COLORIMETRY_BT2020CL:
|
||||
p = "bt2020cl";
|
||||
break;
|
||||
case HDMI_MODE_BT709:
|
||||
case HDMI_COLORIMETRY_BT709:
|
||||
p = "bt709";
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user