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.

capturePrm.numVipInst

Other Parts Discussed in Thread: TVP5158

Hi,

We use DM8168 and Udworks based hardware design. Currently we prepare to replace 4 x TVP5158 by 2 x TW2968 capture devices for 16 channels.

We use "multich_progressive_vcap_venc_vdec_vdis" usecase based on DVRRDK 03.00.00.00.

I found that TW2968 is prepared in DVRRDK 04.01.xx.xx.

numVipInst is set to 4 in DVRRDK 04.01.xx.xx, formula is capturePrm.numVipInst   = 2 * numSubChains;

We also use numSubChains = 2. but TW2968 has 8 channels instead of 4.

My question is: What capturePrm.numVipInst value for TW2968 we must use, 2 or 4 ?

Best regards Holger

 

  • Hi,

    You mean one instances of TW2968, connected to one of the 8bit port of VIP, outputs 8 channels?

    Regards,
    Brijesh
  •  

    Hi,

    we will use numCaptureDevices=2 (TW2968), also 4 TVP5158 can be used instead. Initialization is following:

     

       for(i=0; i < numCaptureDevices; i++)
        {
            if( capture_deviceId == DEVICE_VID_DEC_TW2968_DRV )
            {
                /* Consider first device connected to VIP0 Port A and second device connected to VIP1 PortA */
                vidDecCreateArgs[i].vipInstId        = SYSTEM_CAPTURE_INST_VIP0_PORTA + i * 2;
                vidDecCreateArgs[i].deviceId         = DEVICE_VID_DEC_TW2968_DRV;
                vidDecCreateArgs[i].numChInDevice    = 8;
            }
            else
            {
                vidDecCreateArgs[i].vipInstId        = SYSTEM_CAPTURE_INST_VIP0_PORTA + i;
                vidDecCreateArgs[i].deviceId         = DEVICE_VID_DEC_TVP5158_DRV;
                vidDecCreateArgs[i].numChInDevice    = 4;
            }
            vidDecCreateArgs[i].modeParams.videoIfMode            = DEVICE_CAPT_VIDEO_IF_MODE_8BIT;
            vidDecCreateArgs[i].modeParams.videoDataFormat        = SYSTEM_DF_YUV422P;
            vidDecCreateArgs[i].modeParams.standard               = SYSTEM_STD_MUX_4CH_D1;
            vidDecCreateArgs[i].modeParams.videoCaptureMode       = DEVICE_CAPT_VIDEO_CAPTURE_MODE_MULTI_CH_PIXEL_MUX_EMBEDDED_SYNC;
            vidDecCreateArgs[i].modeParams.videoSystem            = DEVICE_VIDEO_DECODER_VIDEO_SYSTEM_AUTO_DETECT;

    ...

    Best regards Holger

  • Hi,

    I want to know the interface details,
    how TW2968 is connected to vip port? is it over 8bit interface? and how many channels each TW2968 captures? 8 channels?

    Please note that in pixel mux mode, each VIP port can capture at max 4 channels, so if you are using 8 channels, you will have to line mux mode..

    Rgds,
    Brijesh
  • Hi Brijesh,
    every TW2968 must capture 8 channels,
    they are connected over 8-bit interface.
    Also, thanks for the note that line mux mode is needed for 8 channels.
    Best regards Holger
  • We have integrated 2xTW2968 for 16 channels. Capture is running fine, thanks for information.

    Best regards Holger