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.

TVP5158 4CH capture

Other Parts Discussed in Thread: DM385, TVP5158


Hi TI Experts,

I'm in customized DM385 platform. IPNC RDK 3.5

Using TVP5158 decoder getting 4CH @ D1resolution.

CaptureLink_CreateParams_Init(&capturePrm);
capturePrm.numVipInst = 1;
capturePrm.tilerEnable = FALSE;
capturePrm.numBufsPerCh = 10;
capturePrm.fakeHdMode = FALSE;
capturePrm.enableSdCrop = FALSE;
capturePrm.doCropInCapture = FALSE;
pCaptureInstPrm = &capturePrm.vipInst[0];
pCaptureInstPrm->vipInstId = SYSTEM_CAPTURE_INST_VIP1_PORTA;
pCaptureInstPrm->videoDecoderId = SYSTEM_DEVICE_VID_DEC_TVP5158_DRV;
pCaptureInstPrm->standard = SYSTEM_STD_MUX_4CH_D1;
pCaptureInstPrm->numOutput = 1;
pCaptureInstPrm->inDataFormat = SYSTEM_DF_YUV422P;
pCaptureOutPrm = &pCaptureInstPrm->outParams[0];
pCaptureOutPrm->dataFormat = SYSTEM_DF_YUV422I_YUYV;
pCaptureOutPrm->scEnable = FALSE;
pCaptureOutPrm->scOutWidth = 0;
pCaptureOutPrm->scOutHeight = 0;
pCaptureOutPrm->outQueId = 0;

Able to see only one stream...,

After capture using Deinterlacer and scaler and display link (CAP --> DEI --> SCLR --> DIS)

If I changed the display channel number in display link, I could able to see the individual stream

But I want to change the display in dynamic using systemlinkcontrol API (Or is it required to demux other streams from an Usecase file ???)

I tried to change the channel using SetchannelSwitch() and calling VdisSwitchActive channel but it is not effecting our side !!!

How I can switch the channel from one decoder ???

Kindly suggest me to solve this issue ???

Regards,

Rajesh Kannan.S