就按三星提供24bit其他分辨率调几个参数就好。
case LDI_LTP102_RGB:
LDI_INF((_T("[LDI:INF] Output Devce Type [%d] = LDI_LTP102_RGB\n\r"), g_ModuleType));
pDeviceInfo->RGBOutMode = DISP_24BIT_RGB888_P;
pDeviceInfo->uiWidth = 1024;
pDeviceInfo->uiHeight = 600;
pDeviceInfo->VBPD_Value = 7;
pDeviceInfo->VFPD_Value = 5;
pDeviceInfo->VSPW_Value = 1;
pDeviceInfo->HBPD_Value = 13;
pDeviceInfo->HFPD_Value = 8;
pDeviceInfo->HSPW_Value = 3;
pDeviceInfo->VCLK_Polarity = IVCLK_FALL_EDGE;
pDeviceInfo->HSYNC_Polarity = IHSYNC_LOW_ACTIVE;
pDeviceInfo->VSYNC_Polarity = IVSYNC_LOW_ACTIVE;
pDeviceInfo->VDEN_Polarity = IVDEN_HIGH_ACTIVE;
pDeviceInfo->PNR_Mode = PNRMODE_RGB_P;
pDeviceInfo->VCLK_Source = CLKSEL_F_LCDCLK;
pDeviceInfo->VCLK_Direction = CLKDIR_DIVIDED;
pDeviceInfo->Frame_Rate = 60;
break;
|