1 sample_comm.h
typedef enum sample_vi_mode_e{…}
加入SONY_IMX323_CMOS_1080P_30FPS,
2 sample_comm_vi.c
line:1500 增加
luxin
else if (pstViConfig->enViMode == SONY_IMX323_CMOS_1080P_30FPS)
{
pstcomboDevAttr = &MIPI_CMOS323_ATTR;
}
SAMPLE_COMM_VI_StartDev函数中增加
VI_DEV_ATTR_S DEV_ATTR_MIPI_BASE_IMX323 =
{
/* interface mode /
VI_MODE_DIGITAL_CAMERA,
/ multiplex mode /
VI_WORK_MODE_1Multiplex,
/ r_mask g_mask b_mask*/
{0xFFF0000, 0x0},
/* progessive or interleaving /
VI_SCAN_PROGRESSIVE,
/AdChnId/
{ -1, -1, -1, -1},
/enDataSeq, only support yuv/
VI_INPUT_DATA_YUYV,
/ synchronization information */
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg /
VI_VSYNC_PULSE, VI_VSYNC_NEG_HIGH, VI_HSYNC_VALID_SINGNAL, VI_HSYNC_NEG_HIGH,