Home
last modified time | relevance | path

Searched refs:colorimetry (Results 1 – 10 of 10) sorted by relevance

/drivers/hdf_core/framework/support/platform/src/hdmi/
Dhdmi_hdr.c23 … void HdmiHdrColorimetryUpdate(struct HdmiVideoAttr *videoAttr, enum HdmiHdrColormetry colorimetry) in HdmiHdrColorimetryUpdate() argument
25 if (colorimetry >= HDMI_HDR_COLORIMETRY_EXTENDED) { in HdmiHdrColorimetryUpdate()
26 videoAttr->colorimetry = HDMI_COLORIMETRY_EXTENDED; in HdmiHdrColorimetryUpdate()
27 videoAttr->extColorimetry = (enum HdmiExtendedColorimetry)(colorimetry - in HdmiHdrColorimetryUpdate()
30 videoAttr->colorimetry = (enum HdmiColorimetry)colorimetry; in HdmiHdrColorimetryUpdate()
206 if (oldAttr->colorimetry != curAttr->colorimetry) { in HdmiHdrAttrHandle()
207 HdmiHdrColorimetryUpdate(&(cntlr->attr.videoAttr), curAttr->colorimetry); in HdmiHdrAttrHandle()
Dhdmi_infoframe.c130 buff[UINT8_ARRAY_TELEMENT_1] |= ((uint8_t)avi->colorimetry & HDMI_AVI_COLORIMETRY_MARK) << in HdmiInfoFramePacketAviEncoding()
408 avi->colorimetry = videoAttr->colorimetry; in HdmiFillAviHdrInfoFrame()
419 …avi->colorimetry = (videoAttr->xvycc == true) ? HDMI_COLORIMETRY_EXTENDED : videoAttr->colorimetry; in HdmiFillAviHdrInfoFrame()
426 …avi->colorimetry = (videoAttr->xvycc == true) ? HDMI_COLORIMETRY_EXTENDED : videoAttr->colorimetry; in HdmiFillAviHdrInfoFrame()
433 …avi->colorimetry = (videoAttr->xvycc == true) ? HDMI_COLORIMETRY_EXTENDED : videoAttr->colorimetry; in HdmiFillAviHdrInfoFrame()
456 } else if (avi->colorimetry == HDMI_COLORIMETRY_EXTENDED && in HdmiFillAviInfoFrameVersion()
484 …avi->colorimetry = (videoAttr->xvycc == true) ? HDMI_COLORIMETRY_EXTENDED : videoAttr->colorimetry; in HdmiFillAviInfoFrame()
Dhdmi_core.c394 ret = drsOps->GetUint32(node, "colorimetry", &(cntlr->cap.colorimetry), 0); in HdmiCntlrParseVideoCaps()
623 videoAttr->colorimetry = HDMI_COLORIMETRY_ITU709; in HdmiVideoAttrInit()
626 videoAttr->colorimetry = HDMI_COLORIMETRY_ITU601; in HdmiVideoAttrInit()
630 videoAttr->colorimetry = HDMI_COLORIMETRY_ITU709; in HdmiVideoAttrInit()
633 videoAttr->colorimetry = HDMI_COLORIMETRY_ITU709; in HdmiVideoAttrInit()
673 hdrAttr->colorimetry = (enum HdmiHdrColormetry)cntlr->cap.hdrColorimetry; in HdmiHdrAttrInit()
1062 if (hdrAttr->colorimetry > HDMI_HDR_COLORIMETRY_EXTENDED) { in HdmiHdrModeCheck()
1063 videoAttr->colorimetry = HDMI_COLORIMETRY_EXTENDED; in HdmiHdrModeCheck()
1065 … (enum HdmiExtendedColorimetry)(hdrAttr->colorimetry - HDMI_HDR_EXTENDED_COLORIMETRY_XV_YCC_601); in HdmiHdrModeCheck()
1067 videoAttr->colorimetry = (enum HdmiColorimetry)(hdrAttr->colorimetry); in HdmiHdrModeCheck()
[all …]
Dhdmi_edid.c938 sinkCap->colorimetry.xvYcc601 = (data[UINT8_ARRAY_TELEMENT_1] & HDMI_BIT0_MARK) ? true : false; in HdmiEdidExtUseExtDataBlockCdbPhase()
939 sinkCap->colorimetry.xvYcc709 = (data[UINT8_ARRAY_TELEMENT_1] & HDMI_BIT1_MARK) ? true : false; in HdmiEdidExtUseExtDataBlockCdbPhase()
940 sinkCap->colorimetry.sYcc601 = (data[UINT8_ARRAY_TELEMENT_1] & HDMI_BIT2_MARK) ? true : false; in HdmiEdidExtUseExtDataBlockCdbPhase()
941 sinkCap->colorimetry.opYcc601 = (data[UINT8_ARRAY_TELEMENT_1] & HDMI_BIT3_MARK) ? true : false; in HdmiEdidExtUseExtDataBlockCdbPhase()
942 sinkCap->colorimetry.opRgb = (data[UINT8_ARRAY_TELEMENT_1] & HDMI_BIT4_MARK) ? true : false; in HdmiEdidExtUseExtDataBlockCdbPhase()
943 … sinkCap->colorimetry.bt2020cYcc = (data[UINT8_ARRAY_TELEMENT_1] & HDMI_BIT5_MARK) ? true : false; in HdmiEdidExtUseExtDataBlockCdbPhase()
944 sinkCap->colorimetry.bt2020Ycc = (data[UINT8_ARRAY_TELEMENT_1] & HDMI_BIT6_MARK) ? true : false; in HdmiEdidExtUseExtDataBlockCdbPhase()
945 sinkCap->colorimetry.bt2020Rgb = (data[UINT8_ARRAY_TELEMENT_1] & HDMI_BIT7_MARK) ? true : false; in HdmiEdidExtUseExtDataBlockCdbPhase()
947 sinkCap->colorimetry.dciP3 = (data[UINT8_ARRAY_TELEMENT_2] & HDMI_BIT7_MARK) ? true : false; in HdmiEdidExtUseExtDataBlockCdbPhase()
948 sinkCap->colorimetry.md = (data[UINT8_ARRAY_TELEMENT_2] & HDMI_LOWER_NIBBLE_MARK); in HdmiEdidExtUseExtDataBlockCdbPhase()
[all …]
/drivers/hdf_core/framework/support/platform/test/unittest/common/
Dhdf_hdmi_test.cpp79 videoAttr.colorimetry = HDMI_COLORIMETRY_EXTENDED; in HdmiUserSetAttrCaseTest()
99 hdrAttr.colorimetry = HDMI_HDR_EXTENDED_COLORIMETRY_XV_YCC_709; in HdmiUserSetAttrCaseTest()
/drivers/hdf_core/framework/test/unittest/platform/common/
Dhdmi_test.c82 attr.colorimetry = HDMI_COLORIMETRY_ITU709; in TestHdmiSetVideoAttr()
99 attr.colorimetry = HDMI_HDR_EXTENDED_COLORIMETRY_S_YCC_601; in TestHdmiSetHdrAttr()
/drivers/hdf_core/framework/include/platform/
Dhdmi_if.h375 enum HdmiColorimetry colorimetry; member
613 enum HdmiHdrColormetry colorimetry; member
/drivers/hdf_core/framework/support/platform/include/hdmi/
Dhdmi_edid.h568 bool colorimetry; /* only version1 support */ member
633 struct HdmiEdidColorimetry colorimetry; member
Dhdmi_infoframe.h241 enum HdmiColorimetry colorimetry; member
Dhdmi_core.h112 uint32_t colorimetry; member