This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/TDA2P-ACD: VPE De-Interlacing configuration

Part Number: TDA2P-ACD

Tool/software: TI-RTOS

Hi,

We are trying to use the De-interlacing feature of VPE. We referred the usecase "chains_vipSingleRvcCamCrc_Display" for the parameters to be set for VPE.

Following are the parameters set for VPE through our usecase:

static Void setVPEParams(
                        VpeLink_CreateParams *pPrm,
                        UInt32 numCh,
                        UInt32 OutWidth,
                        UInt32 OutHeight,
                        UInt32 inCropWidth,
                        UInt32 inCropHeight)
{
    UInt32 chId;
    VpeLink_ChannelParams *chPrms;
    UInt32 outId = 0;

 pPrm->enableOut[0] = TRUE;

for (chId = 0; chId < numCh; chId++)
 {
        chPrms = &pPrm->chParams[chId];


#ifndef TDA3XX_128MB_DDR
        chPrms->outParams[outId].numBufsPerCh = VPE_LINK_NUM_BUFS_PER_CH_DEFAULT;
#else
        chPrms->outParams[outId].numBufsPerCh = 2U;
#endif


        chPrms->outParams[outId].width = OutWidth;
        chPrms->outParams[outId].height = OutHeight;
        chPrms->outParams[outId].dataFormat = SYSTEM_DF_YUV420SP_UV;

        chPrms->scCfg.bypass = TRUE;
        chPrms->scCfg.nonLinear = FALSE;
        chPrms->scCfg.stripSize = 0;
        chPrms->scCropCfg.cropStartX = 0;
        chPrms->scCropCfg.cropStartY = 0;
        chPrms->scCropCfg.cropWidth  = CAPTURE_WIDTH;
        chPrms->scCropCfg.cropHeight = inCropHeight;
        
        chPrms->deiCfg.bypass = FALSE;

        chPrms->deiCfg.inpMode = VPE_DEI_EDIMODE_LUMA_CHROMA; 
        chPrms->deiCfg.tempInpEnable = TRUE;
        chPrms->deiCfg.tempInpChromaEnable = TRUE;
        chPrms->deiCfg.spatMaxBypass = TRUE;
        chPrms->deiCfg.tempMaxBypass = TRUE;

   }

}

We are getting a black screen at output.

We also tried to print the frame number in the ISS_Capture's drv.c file after the dequeue for framelist. The Vps_print logs only for some random 10-12 times. The output is black screen as mentioned even after the Vps_prints does not log the frame number.

Could anyone let us know the exact parameters to be set to use the De-Interlacing of VPE  on TDA2P ?

Regards,

Amol