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 capture 16bit HD signal on dvr_rdk

Other Parts Discussed in Thread: TVP5158, TVP7002

Hi:

 We use dvr_rdk 3.5 and now need capture 16bit HD for 1080P@60.

 Now, in the HD usecase, the dvr_rdk only support capture 8bit HD signal on VIP0  portA,or  VIP0  portB ,VIP1  portA, VIP1  portA, each port  catch 1080P@30 only. Our target  is capture 1080P@60 on VIP0 (include Port A and Port B). 

So, we use the VIP0 as 16bit data input. and there should be modify codes in syslink etc....

How   to capture  if I only need capture the data?

  • Hi,

    You could set the decoder id to TVP7002, or any other tha TVP5158 and set the in Data Format to YUV.  With this change, it will configire VIP0 in 16bit mode.

    Regards,

    Brijesh Jadav

  • HI:

     It is not effectively.

    I use VIP0 PORTA to receive Y data, and PORTB to receive UV data,  capture 's  videoIfMode set is VPS_CAPT_VIDEO_IF_MODE_24BIT,

     videoIfMode set is not VPS_CAPT_VIDEO_IF_MODE_16BIT.

  • Hi,

    Setting VideoIfMode to 16Bit should be sufficient for configuring BT1120 mode.

    Regards,

    Brijesh Jadav

  • Hi:

     Our  test program is reffernece from EZSDK, Its capture setting is RGB24bit.

     So I worried about  if setting to 16Bit, may be no vedio captured.

    Now if I changed the mode to 16bit ,there are err report as:

    [m3vpss ] 33708: CAPTURE: Create in progress !!!
    [m3vpss ] 33736: CAPTURE: VIP0 PortA capture mode is [24-bit, Non-mux Discrete Sync - ACTVID_VBLK] !!!
    [m3vpss ] 33833: CAPTURE: VIP0 PortB capture mode is [24-bit, Non-mux Discrete Sync - ACTVID_VBLK] !!!
    [m3vpss ] 33833: Assertion @ Line: 934 in links_m3vpss/capture/captureLink_drv.c: pInst->captureVipHandle != NULL : failed !!!

    My setting for caputre HD is:

    for(vipInstId=0; vipInstId<capturePrm.numVipInst; vipInstId++)
    {
    pCaptureInstPrm = &capturePrm.vipInst[vipInstId];
    pCaptureInstPrm->vipInstId = (SYSTEM_CAPTURE_INST_VIP0_PORTA+vipInstId)%SYSTEM_CAPTURE_INST_MAX; /* Need to change based on actual HD video decoder */
    pCaptureInstPrm->videoDecoderId = SYSTEM_DEVICE_VID_DEC_TVP7002_DRV; /* Need to change based on actual HD video decoder */
    pCaptureInstPrm->inDataFormat = SYSTEM_DF_RGB24_888;// SYSTEM_DF_YUV422P; Away
    pCaptureInstPrm->standard = SYSTEM_STD_720P_60;//SYSTEM_STD_D1; /* Need to change based on actual HD video decoder */
    pCaptureInstPrm->numOutput = 1; /* Need to change based on actual HD video decoder */

    pCaptureOutPrm = &pCaptureInstPrm->outParams[0];
    pCaptureOutPrm->dataFormat = SYSTEM_DF_YUV422I_YUYV;//SYSTEM_DF_YUV420SP_UV;
    pCaptureOutPrm->scEnable = FALSE; /* Need to change based on actual HD video decoder */
    pCaptureOutPrm->scOutWidth = 1280;//704; /* Need to change based on actual HD video decoder */
    pCaptureOutPrm->scOutHeight = 360;//240; /* Need to change based on actual HD video decoder */
    pCaptureOutPrm->outQueId = 0;

    if (vipInstId >= numSubChains)
    pCaptureOutPrm->outQueId = 1;
    else
    pCaptureOutPrm->outQueId = 0;
    }


    this setting cause many link problem....

  • Hi,

    It does not look like you have set 16bit mode, it is still in 24 bit input mode. It looks like you are trying to set 24bit for YUV input or 16bit input for RGB input, both of these can cause it to fail. Could you please check input parameters are correct?

    Regards,

    Brijesh Jadav