Hi all,
I test DM8168EMV+DaughterCard based on DVRRDK3.0. The demo run ok for 1080p preview. But now it does not encode. I track the code and find DupLink_tskMain() of m3vpss's DUP1 thread can not get data. But DupLink_tskMain() of DUP0 continues getting SYSTWM_CMD_NEW_DATA. So the preview is ok.
I think the root cause is capture's link configuration. Below is capture's configuration
capturePrm.outQueParams[0].nextLink = gMultiChHd_VcapVencVdisObj.dupId[0];
capturePrm.outQueParams[1].nextLink = gMultiChHd_VcapVencVdisObj.dupId[1];
pCaptureOutPrm = &pCaptureInstPrm->outParams[0];
...
pCaptureOutPrm = &pCaptureInstPrm->outParams[1];
...
Below is debugging flow.
Print every thread's id, link id,... of DupLink_getFullFrames(), DupLink_putEmptyFrames(), DupLink_tskMain(),CaptureLink_tskRun(), CaptureLink_drvProcessData(), ...