renderer/cm: add more monitor cm options (#11861)
Adds more cm options for monitors: DCIP3, Apple P3, Adobe
This commit is contained in:
parent
4d82cc5957
commit
0959672591
3 changed files with 24 additions and 0 deletions
|
|
@ -2263,6 +2263,12 @@ bool CMonitorRuleParser::parseCM(const std::string& value) {
|
|||
m_rule.cmType = CM_HDR;
|
||||
else if (value == "hdredid")
|
||||
m_rule.cmType = CM_HDR_EDID;
|
||||
else if (value == "dcip3")
|
||||
m_rule.cmType = CM_DCIP3;
|
||||
else if (value == "dp3")
|
||||
m_rule.cmType = CM_DP3;
|
||||
else if (value == "adobe")
|
||||
m_rule.cmType = CM_ADOBE;
|
||||
else {
|
||||
m_error += "invalid cm ";
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue