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.

How to change capture link in DVRRDk 4.0 to receive 720P30 video input?

Hello,TI man.

Now we use dvrrdk 4.0 in dm8168 custom board.

We use vip0 ,Aport and Bport,and vip1 Aport and Bport to receive 4 1080P30/720P60/720P30 HD video through 8Bit YUV 422 discrete sync.

But How to change capture link to receive these video?

Thanks for any reply.

  • Refer captureLink API documentation which has details. All paramters for VIP capture can be configured from the captureLink create params. For example

        vipInstId = 0;
        pCaptureInstPrm                     = &capturePrm->vipInst[vipInstId];
        pCaptureInstPrm->vipInstId          = SYSTEM_CAPTURE_INST_VIP0_PORTA;
        pCaptureInstPrm->videoCaptureMode   = SYSTEM_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC;
        pCaptureInstPrm->videoIfMode        = SYSTEM_CAPT_VIDEO_IF_MODE_8BIT;
        /* If not using real HD capture disabled timestamp else capture driver asserts due to wrong fps */
        pCaptureInstPrm->enableTimestampInInterrupt = TRUE;
        pCaptureInstPrm->inScanFormat       = SYSTEM_SF_PROGRESSIVE;
        pCaptureInstPrm->videoDecoderId     = 0;
        pCaptureInstPrm->inDataFormat       = SYSTEM_DF_YUV422P;
        pCaptureInstPrm->standard           = SYSTEM_STD_1080P_60;
        pCaptureInstPrm->numOutput          = 1;
    
        pCaptureOutPrm                      = &pCaptureInstPrm->outParams[0];
        pCaptureOutPrm->dataFormat          = SYSTEM_DF_YUV422I;
        pCaptureOutPrm->scEnable            = FALSE;
        pCaptureOutPrm->scOutWidth          = 0;
        pCaptureOutPrm->scOutHeight         = 0;
        pCaptureOutPrm->outQueId            = 0;
    

     

  • thanks for your reply.

    The code you listed seems in multich_hd_sdi_dvr.c

    I still have some questions:

    1.If I wanna use DM8168 to capture 1080P30/720P60/720P30 video in 8BIT YUV 4:2:2 mode with discrete sync.I JUST need to change the capture link parameter.No need to chang m3vpss driver?

    2. captureLink API documentation.Where is it?I didn't find it in DVRRDK Package or Ti wiki.You mean the HDVPSS_UserGuide?The capture link part? Or HDVPSS_ApiGuide?

  • SuitJune Young said:
    1.If I wanna use DM8168 to capture 1080P30/720P60/720P30 video in 8BIT YUV 4:2:2 mode with discrete sync.I JUST need to change the capture link parameter.No need to chang m3vpss driver?

    Yes.No change in driver is required.

    SuitJune Young said:

    2. captureLink API documentation.Where is it?I didn't find it in DVRRDK Package or Ti wiki.You mean the HDVPSS_UserGuide

    Refer link API documentation part of DVR RDK release or /dvr_rdk/mcfw/interfaces/link_api/captureLink.h for detailed documentation or each parameter

     

  • Thank you.I know that.