Hi,
Now, I used the DVRRDK_4.0 on the platform of DM816x.
I have a question about the bypass mode of deiLink .
On my program, the link as follow:
CaptureLink --> DeiLink -->MpSclrLink ...
And the scanformat of each link as follow:
CaptureLink, output progressive
DeiLink, input progressive, output progressive.
MpSclrLink, input progressive
Now, I want to enable the bypass mode of DeiLink, and set the parameters of dei as follow:
DeiLink_CreateParams *vpssDeiParam0;
vpssDeiParam0 = &thisObj->vpssDeiPrm[0];
DeiLink_CreateParams_Init(&thisObj->vpssDeiPrm[0]);
vpssDeiParam0->inQueParams.prevLinkId = thisObj->vpssCapId;
vpssDeiParam0->inQueParams.prevLinkQueId = 1;
vpssDeiParam0->outQueParams[DEI_LINK_OUT_QUE_VIP_SC].nextLink = thisObj->mpsclrId;
vpssDeiParam0->outQueParams[DEI_LINK_OUT_QUE_DEI_SC].nextLink = SYSTEM_LINK_ID_INVALID;
vpssDeiParam0->enableOut[DEI_LINK_OUT_QUE_VIP_SC] = TRUE;
vpssDeiParam0->enableOut[DEI_LINK_OUT_QUE_DEI_SC] = FALSE;
vpssDeiParam0->tilerEnable[DEI_LINK_OUT_QUE_VIP_SC] = FALSE;
vpssDeiParam0->comprEnable = FALSE;
vpssDeiParam0->setVipScYuv422Format = FALSE;
vpssDeiParam0->enableDeiForceBypass = TRUE;
vpssDeiParam0->enableLineSkipSc = FALSE;
vpssDeiParam0->interlacedBypassMode = TRUE;
vpssDeiParam0->outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].scaleMode = DEI_SCALE_MODE_RATIO;
/* VIP Scalar ratio is 1:1 */
vpssDeiParam0->outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.widthRatio.numerator = 1;
vpssDeiParam0->outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.widthRatio.denominator = 1;
vpssDeiParam0->outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.heightRatio.numerator = 1;
vpssDeiParam0->outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.heightRatio.denominator = 1;
for (chId=1; chId < DEI_LINK_MAX_CH; chId++)
vpssDeiParam0->outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][chId] = vpssDeiParam0->outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0];
However I can't get the expected image.
If I add DeiLink between captureLink and mpsclrLink, the image would be follow:
If I don't add DeiLink, the image would be follow: