Hi All,
We are using PROCESSOR_SDK_VISION_03_07_00_00 in our custom board.
We have connected a deserializer which gives YUV422 data output.
We are receiving data from 4 lanes CSI0 interface.
We have done the following settings in the use case to receive captured data .
static Void setCaptureParams(chains_3DSVS_issCapture_DisplayAppObj *pObj) { UInt32 idx; IssCaptureLink_CreateParams *pCaptPrm; IssCaptureLink_Csi2Params *pCsi2Prm; IssCaptureLink_OutParams *pOutPrm; System_VideoDataFormat inOutDataFormat; pCaptPrm = &pObj->ucObj.IssCapturePrm; memset((void*) pCaptPrm, 0, sizeof(IssCaptureLink_CreateParams)); pCaptPrm->videoIfMode = SYSTEM_VIFM_SCH_CSI2; pCaptPrm->videoIfWidth = SYSTEM_VIFW_4LANES; pCaptPrm->bufCaptMode = SYSTEM_CAPT_BCM_LAST_FRM_REPEAT; pCsi2Prm = &pCaptPrm->csi2Params[0]; pCsi2Prm->isCmplxIoCfgValid = TRUE ;//FALSE pCsi2Prm->csi2PhyClk = CAPTURE_MAX9286_CSI2_CLOCK_PHY_0; pCsi2Prm->cmplxIoCfg.clockLane.pol = FALSE; pCsi2Prm->cmplxIoCfg.clockLane.position = 1U; pCsi2Prm->cmplxIoCfg.data1Lane.pol = FALSE; pCsi2Prm->cmplxIoCfg.data1Lane.position = 2U; pCsi2Prm->cmplxIoCfg.data2Lane.pol = FALSE; pCsi2Prm->cmplxIoCfg.data2Lane.position = 3U; pCsi2Prm->cmplxIoCfg.data3Lane.pol = FALSE; pCsi2Prm->cmplxIoCfg.data3Lane.position = 4U; pCsi2Prm->cmplxIoCfg.data4Lane.pol = FALSE; pCsi2Prm->cmplxIoCfg.data4Lane.position = 5U; pCaptPrm->numCh = pObj->numCsi2Ch; inOutDataFormat = SYSTEM_DF_YUV422I_UYVY; for (idx = 0U; idx < pCaptPrm->numCh; idx++) { pOutPrm = &pCaptPrm->outParams[idx]; pOutPrm->phyInstance = 0U; pOutPrm->width = pObj->captureOutWidth; pOutPrm->height = pObj->captureOutHeight; pOutPrm->dataFormat = inOutDataFormat; pOutPrm->inCsi2DataFormat = SYSTEM_CSI2_YUV422_8B; pOutPrm->inCsi2VirtualChanNum = idx; pOutPrm->maxWidth = pObj->captureOutWidth; pOutPrm->maxHeight = pObj->captureOutHeight; pOutPrm->numOutBuf = CAPTURE_NUM_BUF_PER_CH; pOutPrm->outDataFormat = inOutDataFormat; } pCaptPrm->allocBufferForRawDump = FALSE;
Can anyone please verify these settings?
Thanks
Deepika