Hi Badri, Thanks for your reply!
I have modified my usecase as this:
(video capture, OSD, Swms and Display) --> Merge2-->Select3--+-->NSF0-+-->Merge4 -->IpcOutVpss0 --> IpcInVideo0 --> Enc --> IpcBitsOutVideo0 --> IpcBitsInHost0
|--------------|
and I changed Capture output format from "SYSTEM_DF_YUV422I_YUYV" to "SYSTEM_DF_YUV420SP_UV", which can be sent to Encode LINK directly without NSF LINK.
Under this condition, NSF LINK just served for 2 swms link outputs with YUV422 format. The issue dropping frame has been solved.
But encountered one new problem.messages as following:
[m3vpss ] 4957948: CAPTURE: Overflow detected on VIP1, Total Resets = 2119
[m3vpss ] 4958636: CAPTURE: Overflow detected on VIP1, Total Resets = 2120
[m3vpss ] 4959292: CAPTURE: Overflow detected on VIP0, Total Resets = 2121
[m3vpss ] 4961612: CAPTURE: Overflow detected on VIP1, Total Resets = 2122
Infinitely...1 time per 2-3 seconds approximately...
When this occurs, picture of camera connected to VIP0-1 and VIP1-1 flicked(the other two camera behaved normally), as shown in the video, Pls pay more attention
to the police car...
(Please visit the site to view this video)
By the way, this didn't happen when the capture output format is set to SYSTEM_DF_YUV422I_YUYV.
How can I fix this issue?
Thanks in advance for any reply!
Resume my codes for setting capture LINK
escapturePrm.numVipInst = GetCameraNum(pChannels);
escapturePrm.tilerEnable = FALSE;
escapturePrm.numBufsPerCh = 16;
escapturePrm.numExtraBufs = 0;
escapturePrm.maxBlindAreasPerCh = 0;
escapturePrm.isPalMode = FALSE;
escapturePrm.enableSdCrop = FALSE;
escapturePrm.doCropInCapture = FALSE;
for (pHChannelNode = pChannels->hChannelList[CHANNEL_CLS_CAMERA]->next, i = 0;
pHChannelNode && (i < GetCameraNum(pChannels));
pHChannelNode = pHChannelNode->next, i ++)
{
//vipInstId = SYSTEM_CAPTURE_INST_VIP0_PORTA + 2 * i;
esvipInstId = SYSTEM_CAPTURE_INST_VIP0_PORTA + i;
espCaptureInstPrm = &escapturePrm.vipInst[i];
espCaptureInstPrm->vipInstId = esvipInstId % SYSTEM_CAPTURE_INST_MAX;
//pCaptureInstPrm->videoDecoderId = SYSTEM_DEVICE_VID_DEC_SII9233A_DRV;
espCaptureInstPrm->videoDecoderId = 0;
espCaptureInstPrm->inDataFormat = SYSTEM_DF_YUV422P;
espCaptureInstPrm->standard = pHChannelNode->body.hChannel->entity.camera.std;
espCaptureInstPrm->numOutput = 1;
espCaptureInstPrm->numChPerOutput = 1;
espCaptureInstPrm->frameCaptureMode = FALSE;
espCaptureInstPrm->fieldsMerged = FALSE;
espCaptureOutPrm = &espCaptureInstPrm->outParams[0];
espCaptureOutPrm->dataFormat = SYSTEM_DF_YUV420SP_UV;//SYSTEM_DF_YUV422I_YUYV;
espCaptureOutPrm->scEnable = FALSE;
espCaptureOutPrm->outQueId = 0;
}
escapturePrm.outQueParams[0].nextLink = esmergeId0;
my LINK Stat and buffer infomation
(Please visit the site to view this file)