Fix the problem of GC4653 color anomaly

This commit is contained in:
某杰同学
2024-05-27 19:38:37 -07:00
parent e4c87a6db0
commit 58f1952f91
3 changed files with 5 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -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_GC1084_SLAVE_MIPI_1M_30FPS_10BIT:
case GCORE_GC4653_MIPI_4M_30FPS_10BIT: case GCORE_GC4653_MIPI_4M_30FPS_10BIT:
case GCORE_GC4653_SLAVE_MIPI_4M_30FPS_10BIT: case GCORE_GC4653_SLAVE_MIPI_4M_30FPS_10BIT:
pstViDevAttr->enBayerFormat = BAYER_FORMAT_RG;
// pstViDevAttr->enBayerFormat = BAYER_FORMAT_GB;
break;
// omnivision // omnivision
case OV_OS04A10_MIPI_4M_1440P_30FPS_12BIT: case OV_OS04A10_MIPI_4M_1440P_30FPS_12BIT:
case OV_OS04A10_MIPI_4M_1440P_30FPS_10BIT_WDR2TO1: 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_GC1084_SLAVE_MIPI_1M_30FPS_10BIT:
case GCORE_GC4653_MIPI_4M_30FPS_10BIT: case GCORE_GC4653_MIPI_4M_30FPS_10BIT:
case GCORE_GC4653_SLAVE_MIPI_4M_30FPS_10BIT: case GCORE_GC4653_SLAVE_MIPI_4M_30FPS_10BIT:
pstPubAttr->enBayer = BAYER_RGGB;
break;
// omnivision // omnivision
case OV_OS04A10_MIPI_4M_1440P_30FPS_12BIT: case OV_OS04A10_MIPI_4M_1440P_30FPS_12BIT:
case OV_OS04A10_MIPI_4M_1440P_30FPS_10BIT_WDR2TO1: case OV_OS04A10_MIPI_4M_1440P_30FPS_10BIT_WDR2TO1: