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.

DM8168 VS demo issue



Hi all,

We bought a set of DM8168 EVM & VS daughter card, and i can run the VS2 pre-build demo in 5_00_00_11 SDK.

This demo support NTSC source D1, but we want to capture PAL D1. Is it possible to change it, and how?

Another simple question, I got latest 5_01_00_77 SDK, but i can't find the VS2 demo in OMTB. This release doesn't support 16 channels D1 enc/dec demo, right?

Any reply will be very helpful.

Thanks!

Hu

  •  

    Hi Hu,

     

    I am listing down the code changes required to support PAL D1.

     

    Changes in memory configuration:

     

    1.Modify following line of omx_05_00_00_11/packages/ti/omx/demos/vs2/TilerCfg.cfg as below

     

       Line No:29 DucatiTilerMemMgr.numBufsCore1    = 108;

     

    2. Modify following #define values

     

    a)       Change in omx_05_00_00_11/packages/ti/omx/omxutils/omxutils_internal.h

     

    Line No:136        #define DucatiTilerMemoryMgr_D1HEIGHT (672)

               

    b)       Change in omx_05_00_00_11/packages/ti/omx/omxutils/omxutils_internalcfg.h

     

    Line No:34         #define DucatiTilerMemoryMgr_D1HEIGHT (672)

     

    c)       Change in  omx_05_00_00_11/packages/ti/omx/omxutils/ducatiTilerMemMgr/DucatiTilerMemoryMgr.xdc

     

    Line No:84         const  UInt32                 D1HEIGHT            = 672;

     

    Changes in VS2 IL Client:

     

    1.       Change the value in omx_05_00_00_11/packages/ti/omx/demos/vs2/src/omx_il_client.c file from 480 to 576.

     

    Line No:147      #define IL_CLIENT_VIDEOCAPTURE_MAXHEIGHT     ( 576 )

    Line No:219      const Int32 g_EncodeStreamHeight = 576;

     

    2.       Change the value in omx_05_00_00_11/packages/ti/omx/demos/vs2/src/omx_il_client.c from 240 to 288.

     

    Line No:150      #define IL_CLIENT_VIDEOCAPTURE_HEIGHT        ( 288 )

    Line No:200      const Int32 g_CaptureHeight = 288;

     

    3.       Change the value in omx_05_00_00_11/packages/ti/omx/demos/vs2/src/omx_il_client.c from OMX_VIDEO_DECODER_VIDEO_SYSTEM_NTSC to OMX_VIDEO_DECODER_VIDEO_SYSTEM_PAL.

     

    Line No:438      tvpCfg.sVidDecParam.videoSystemId = OMX_VIDEO_DECODER_VIDEO_SYSTEM_PAL;       

     

     

    4.       Change the value of below mentioned variables to 3 ( This is the o/p buffers count for DEI, VENC, VDEC Components ).

     

    dei_venc_edge.nEdgeBufCnt   = 3;

    venc_vdec_edge.nEdgeBufCnt = 3;

    vdec_sc_edge.nEdgeBufCnt   = 3;

     

    Let me know in case of any issues.

     

    We have seen some flicker when the display is 1080I60. With 1080P60 and 1080P30 displays, flicker is not seen.

     

    Regards,

    Arun

  • Hi Arun,

    I had a quick test follow your contents, it's work fine with 1080P60.

    Thanks a lot !

    BR,

    Hu