HDMI Q&A

Q1: 1080的显示器中右侧显示不全怎么办?

尝试按照以下方式做下属性设置


1. 采用yuv输出

视频流YUYV444通过CSC的转换到RGB,再送TTL/MIPI/HDMI显示模块。

//如下选择不做色彩空间转换
MI_DISP_HdmiParam_t stHdmiParam;
MI_DISP_GetHdmiParam(DispDev,&stHdmiParam);
stHdmiParam.stCsc.eCscMatrix = E_MI_DISP_CSC_MATRIX_BYPASS;//显示端直接跳过csc
MI_DISP_SetHdmiParam(DispDev,&stHdmiParam);

//如下设置hdmi模块输入信号yuv444
MI_HDMI_Attr_t stAttr2;
ExecFunc(MI_HDMI_GetAttr(eHdmi, &stAttr2), MI_SUCCESS);
stAttr2.stVideoAttr.eInColorType = E_MI_HDMI_COLOR_TYPE_YCBCR444;
ExecFunc(MI_HDMI_SetAttr(eHdmi, &stAttr2), MI_SUCCESS);

v11_203_csc_bypass2_add_mhal.zip基于TAKOYAKI_DLS01V011 补丁。


uboot下面:

-CONFIG_SSTAR_PNL=y
+CONFIG_SSTAR_DISP_HDMITX_VGA=y
+# CONFIG_SSTAR_PNL is not set
+CONFIG_SSTAR_HDMITX=y

kernel下面:

-CONFIG_ANALOG_PD_HDMI_ATOP=y
+#CONFIG_ANALOG_PD_HDMI_ATOP=y

...