hi, i am using dvrrdk 3.0, and i set as follows:
pCaptureInstPrm->inDataFormat = SYSTEM_DF_YUV422I_YUYV;
and we will find settings in captureLink_drv.c
if (pVipCreateArgs->inDataFormat == FVID2_DF_RGB24_888)
{
pVipCreateArgs->videoCaptureMode =
VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_ACTVID_VBLK;
pVipCreateArgs->videoIfMode = VPS_CAPT_VIDEO_IF_MODE_24BIT;
}
else
{
pVipCreateArgs->videoCaptureMode =
VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC;
pVipCreateArgs->videoIfMode = VPS_CAPT_VIDEO_IF_MODE_16BIT;
}
but it will fail when running demo. the error information as follows:
[m3vpss ] 14774: CAPTURE: VIP0 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!!
[m3vpss ] 14867: CAPTURE: VIP0 PortB capture mode is [ 8-bit, Non-mux Embedded Sync] !!!
[m3vpss ] 14889: CAPTURE: VIP1 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!!
[m3vpss ] 14889: Assertion @ Line: 814 in links_m3vpss/capture/captureLink_drv.c: pInst->captureVipHandle != NULL : failed !!!
i dont know why this will happen. i found the supportted data format of vip in sprugx8a.pdf as follow:
Input:
– YUV422 8-bit embedded sync mode (exclude BT. 1120)
– YUV422 8-bit discrete sync mode
– YUV422 16-bit embedded sync mode
– YUV422 16-bit discrete sync mode
– YUV422 8-bit 2×/4× pixel multiplexed mode
– YUV422 8-bit 4× line multiplexed mode
– RGB 24-bit embedded sync mode
– RGB 24-bit discrete sync mode
– YUV444 24-bit embedded sync
– YUV444 24-bit discrete sync mode
it means that dm8168 support SYSTEM_DF_YUV422I_YUYV format of vip .
plz help me ,thanks!