Part Number: TDA2EXEVM
Hi,
The below is my use-case,
Capture -> VPE_D1 -> Merge -> Display (6ch channels)
We are configuring capture link to output 50fps. But, after that in VPE link some frames are getting dropped.
I have placed "Null" link after capture link that there is no frame drop. but when adding VPE link drops frames.
To make sure merge giving enough buffers to VPE link, i have kept null link after VPE. i.e., Capture -> VPE -> Null still dropping some frames.
Since VPE internally uses same ISP(Image Signal Processor) HW to process frames. I think if VPE gets interleaved with the ISP operation,it will dropping frames. We are using same resolution for all the 6 channels.
The below are the parameters setting for VPE link,
********************************************************
chPrms = &pPrm->chParams[chId];
chPrms->outParams[outId].numBufsPerCh = 15;//VPE_LINK_NUM_BUFS_PER_CH_DEFAULT;
chPrms->outParams[outId].inputFrameRate = 50;
chPrms->outParams[outId].outputFrameRate = 50;
chPrms->outParams[outId].width = captureInWidth;
chPrms->outParams[outId].height = captureInHeight;
chPrms->outParams[outId].dataFormat = SYSTEM_DF_YUV420SP_UV;
chPrms->deiCfg.bypass = FALSE;
//chPrms->deiCfg.bypass = TRUE;
chPrms->deiCfg.inpMode = VPE_DEI_EDIMODE_LUMA_CHROMA;
chPrms->deiCfg.tempInpEnable = TRUE;
chPrms->deiCfg.tempInpChromaEnable = TRUE;
chPrms->deiCfg.spatMaxBypass = TRUE;
chPrms->deiCfg.tempMaxBypass = TRUE;
chPrms->scCfg.bypass = TRUE;
chPrms->scCfg.nonLinear = FALSE;
chPrms->scCfg.stripSize = 0;
chPrms->scCropCfg.cropStartX = 0;
chPrms->scCropCfg.cropStartY = 0;
chPrms->scCropCfg.cropWidth = 0;
chPrms->scCropCfg.cropHeight = 0;
********************************************************************
The print statistics logs for reference,
Need some suggestions to resolve this issue.
Rgds,
Balaji T