Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

[FAQ] TDA4VM: How to use DSS M2M for format conversion?

Part Number: TDA4VM
Other Parts Discussed in Thread: TDA4VH

Hi experts,

We are using CSI_TX as the display output and setting the CSI_TX's date type as UYVY/YUYV. I have notice that both VPAC and vxColorConvertNode are not supported output image with YUVY/UYVY.

Is there any way to convert image to UYVY/YUYV?  Like GPU or the other way?

 

Thanks,

hutian

  • Hi Hutian,

    Do you mean YUV420 to UYVY YUV422 format conversion? 

    You could do it using DSS M2M path. This is supported in the SDK7.3 release.

    Regards,

    Brijesh

  • Hi Brijesh,

    I have the Mosaic Node output image with NV12 and want to convert to UYVY/YUYV.  Whether exists a patch(DSS M2M) for SDK 7.2 ? If no, could you show me the use case under SDK7.3?

    Thanks,

    hutian

  • Hi hutian,

    Driver is supported in SDK7.3 release, but there is a separate patch to enable it in the OpenVX. 

    Let me get it and share it.

    Regards,

    Brijesh

  • Hi Brijesh,

    Any update from your side?

    Thanks,

    hutian

  • Hi Hutian,

    I will share the changes by next week.

    Regards,

    Brijesh

  • Hi Hutian,

    Please find attached patches, please apply these patches on top of PSDKRA7.3 release. It enables support for DSS WB path in memory to memory mode. It adds support for OpenVX node for this patch and demonstrates its usage in the multi-cam example.

    /cfs-file/__key/communityserver-discussions-components-files/791/DSS_5F00_M2M.zip

    The zip file contains three folder, each folder contains patch for the PDK, tiovx and vision apps. Please remove all previous patches, i have cleaned up the code and made DSS M2M overlay generic. Please apply the patches as show below.

    1, go to ti-processor-sdk-rtos-j721e-evm-07_03_00_07\pdk_jacinto_07_03_00_29 folder and apply DSS_M2M\pdk\0001-Bug-Fix-DSS-M2M-Driver-PDK-9669-DSS-M2M-DRV-Driver-t.patch

    2, go ti-processor-sdk-rtos-j721e-evm-07_03_00_07\tiovx folder and apply 0001-Added-support-for-DSS-M2M-Node.patch patch

    3, go to ti-processor-sdk-rtos-j721e-evm-07_03_00_07\vision_apps and apply 0001-Adding-support-for-DSS-M2M-TIOVX-Node.patch patch. The second patch 0002-Added-FMT-Conv-NV12-to-NV12-in-Multi-Cam-App.patch shows how DSS M2M module can be used in multi-cam example. 

    Regards,

    Brijesh

  • In order to use DSS M2M driver on TDA4VH, please follow below steps. 

    1, Copy m2m folder from ti-processor-sdk-rtos-j721e-evm-08_05_00_11\pdk_jacinto_08_05_00_36\packages\ti\drv\dss\src\drv to ti-processor-sdk-rtos-j784s4-evm-08_05_00_11\pdk_j784s4_08_05_00_37\packages\ti\drv\dss\src\drv folder 

    2, Update ti-processor-sdk-rtos-j784s4-evm-08_05_00_11\pdk_j784s4_08_05_00_37\packages\ti\drv\dss\src\drv\src_files_drv.mk makefile to include J784S4 platform also for m2m driver, as shown below.

    ifeq ($(SOC),$(filter $(SOC), j721e j721s2 j784s4))
    SRCDIR += src/drv/m2m
    PACKAGE_SRCS_COMMON += src/drv/m2m
    include src/drv/m2m/src_files_m2m.mk
    endif

    3, Apply attached patch on top of ti-processor-sdk-rtos-j784s4-evm-08_05_00_11\pdk_j784s4_08_05_00_37 folder. This enables m2m in the DSS driver. and also adds standalone example in the DSS driver

    /cfs-file/__key/communityserver-discussions-components-files/791/2570.0001_2D00_Enabled_2D00_DSS_2D00_M2M_2D00_for_2D00_J784S4.patch

    4,  In vision apps, Enable m2m by setting prm.enableM2m parameter to true in ti-processor-sdk-rtos-j784s4-evm-08_05_00_11\vision_apps\platform\j784s4\rtos\common\app_init.c.

    5, Similarly, add j784s4 platform in ti-processor-sdk-rtos-j784s4-evm-08_05_00_11\tiovx\kernels_j7\hwa\display_m2m\concerto.mak file, as shown below. 

    ifeq ($(TARGET_PLATFORM), $(filter $(TARGET_PLATFORM), J7 J721S2 J784S4))

    6, Rebuild PDK, tiovx and vision apps

    Regards,

    Brijesh

  •  Also you can use below patch directly if you want use DSS M2M on TDA4VH 8.5 SDK.  Thanks~

    0001-add-j784s4-m2m-support.patch