mirror of
https://github.com/sipeed/LicheeRV-Nano-Build.git
synced 2026-09-10 20:59:59 -05:00
Fix the problem of GC4653 color anomaly
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -886,6 +886,9 @@ CVI_S32 SAMPLE_COMM_SNS_GetDevAttr(SAMPLE_SNS_TYPE_E enSnsType, VI_DEV_ATTR_S *p
|
||||
case GCORE_GC1084_SLAVE_MIPI_1M_30FPS_10BIT:
|
||||
case GCORE_GC4653_MIPI_4M_30FPS_10BIT:
|
||||
case GCORE_GC4653_SLAVE_MIPI_4M_30FPS_10BIT:
|
||||
pstViDevAttr->enBayerFormat = BAYER_FORMAT_RG;
|
||||
// pstViDevAttr->enBayerFormat = BAYER_FORMAT_GB;
|
||||
break;
|
||||
// omnivision
|
||||
case OV_OS04A10_MIPI_4M_1440P_30FPS_12BIT:
|
||||
case OV_OS04A10_MIPI_4M_1440P_30FPS_10BIT_WDR2TO1:
|
||||
@@ -1126,6 +1129,8 @@ CVI_S32 SAMPLE_COMM_SNS_GetIspAttrBySns(SAMPLE_SNS_TYPE_E enSnsType, ISP_PUB_ATT
|
||||
case GCORE_GC1084_SLAVE_MIPI_1M_30FPS_10BIT:
|
||||
case GCORE_GC4653_MIPI_4M_30FPS_10BIT:
|
||||
case GCORE_GC4653_SLAVE_MIPI_4M_30FPS_10BIT:
|
||||
pstPubAttr->enBayer = BAYER_RGGB;
|
||||
break;
|
||||
// omnivision
|
||||
case OV_OS04A10_MIPI_4M_1440P_30FPS_12BIT:
|
||||
case OV_OS04A10_MIPI_4M_1440P_30FPS_10BIT_WDR2TO1:
|
||||
|
||||
Reference in New Issue
Block a user