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.

TDA2X: How to record multi cam 3d srv data (data format issue)

Hi all:

    I want to record multi cam 3d srv data to SD card.

    I use VPE driver convert ARGB32 data format to YUV420SP, but VPE driver was not support.

    Is there other method to convert it?

    And in the future, is it possible support ARGB32 for VPE input format??

    

    Regards,

    Josh

  • VPE hardware does not support ARGB as input format.

    You could use Display pipeline to convert ARGB to YUV format, but it is available in VSDK 3.1.

    Regards,

    Brijesh

  • Hi Brijesh:

        Thanks for your suggestion!

        I can't found any display pipeline information in VSDK 3.1.

        Could you indicate which usecase has display pipeline example or provide sample code.

        Thank you!

        Regards,

        Josh 

  • Hi Josh,

    There is DSS Wb link in VSDK, which supports this conversion.

    Rgds,
    Brijesh
  • Hi Brijesh:

        I add DSS M2M WB link to lvds_vip_multi_cam_3d_srv, and output connect to Encode.

        When I run the apps.out, it happend    

    [HOST] [IPU2 ] 52.804520 s: dispcore/src/vpscore_dss.c @ Line 434:
    [HOST] [IPU2 ] 52.804672 s: Core for this instance is already opened
    [HOST] [IPU2 ] 52.804764 s: dispdrv/src/vpsdrv_displayCore.c @ Line 405:
    [HOST] [IPU2 ] 52.804855 s: Dss core open failed!!
    [HOST] [IPU2 ] 52.804916 s: dispdrv/src/vpsdrv_displayApi.c @ Line 326:
    [HOST] [IPU2 ] 52.805008 s: Core open failed!!
    [HOST] [IPU2 ] 52.805099 s: Assertion @ Line: 326 in displayLink_drv.c: pObj->displayHndl != NULL : failed !!!

        My wbInNode and inPipelines[0U] parameter are:

    /* DSS M2M WB link */
    pUcObj->DssM2mWbPrm.enableOut = TRUE;
    pUcObj->DssM2mWbPrm.wbInNode = DSSM2MWBLINK_DISPC_WB_IN_NODE_LCD2;
    pUcObj->DssM2mWbPrm.numInPipeLines = 1U;
    pUcObj->DssM2mWbPrm.inPipelines[0U] = DSSM2MWBLINK_DISPC_PIPE_VID3;

        Any wrong setting?

        Regards,

        Josh 

  • Hi
    Could you give me suggestion for above issue?

    Thank you!

    Regards,
    Josh
  • Hi Josh,

    This error clearly tells that the display path is already opened, may be in display mode. Please disable the display path, it will work then.

    Rgds,

    brijesh

  • Hi Brijesh:
        I disable the display path(mark Sgx3Dsrv -> Display_M4), and Link DSS WB (Sgx3Dsrv -> DssM2mWb(IPU1_0) -> Encode -> Null_rec (A15))
        in chains_lvdsVipMultiCam_Sgx3Dsrv.txt.

        But it happened "Display Controller registration failed for dss core instance 0" on line 465 of VpsCore_dssOpen function of vpscore_dss.c

        Another question, Why the DSS WB use vpscore_dss.c instead of vpscore_dssWb.c in my actually execution?

  • Hi :
    Could you give me suggestion for record 3D srv data?

    The same method and setting of DSS WB to record single view capture is work, but 3D srv is failed.
  • Hi Josh,

    Most likely, this is failing becase DSS WB node is not passed in dctrl set config. It is set in Fvid2_create of capture driver/ m2m driver with dss wb pipe instance. So can you please check your dctrl configuration?

    Rgds,
    Brijesh