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.

capture link question

hi TI-friends,

rdk 3.0 8168evm,

we have a question in ./mcfw/src_bios6/links_m3vpss/capture/captureLink_priv.h

/*Temp Buffer allocaton required only for 816X PG1.1*/
#ifdef TI_8107_BUILD
#define CAPTURE_LINK_TMP_BUF_SIZE (0)
#else
#define CAPTURE_LINK_TMP_BUF_SIZE (1920*1080*2)
#endif

because I use 816X with PG2.1, can I change following??

#define CAPTURE_LINK_TMP_BUF_SIZE (1920*1080*2)

to

#define CAPTURE_LINK_TMP_BUF_SIZE 0

If not, why? May I know what it's used for ??

  • after checking ./mcfw/src_bios6/links_m3vpss/capture/captureLink_drv.c

    we found following inside Int32 CaptureLink_drvCreate() function

    if (CAPTURE_LINK_TMP_BUF_SIZE)
    {
    pObj->tmpBufAddr = Utils_memAlloc(CAPTURE_LINK_TMP_BUF_SIZE, 32);
    }
    #if 0
    status = FVID2_control(pObj->fvidHandleVipAll,
    IOCTL_VPS_CAPT_DROP_DATA_BUFFER,
    pObj->tmpBufAddr, NULL);
    UTILS_assert(status == FVID2_SOK);
    #endif

    due to pObj->tmpBufAddr is unused, we can do the modification in the first post. Right??

  • You can remove the capture temp buffer allocation completely. This is already done in RDK 4.0.