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:
TangoCash
2021-12-05 21:54:59 +01:00
committed by vanhofen
parent c548da4479
commit 5e50fcbfe7
2 changed files with 12 additions and 12 deletions

View File

@@ -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;
}