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.

TDA4VH-Q1: Converting NV12 to UYVY format

Part Number: TDA4VH-Q1

Hello,

I am trying to convert NV12 image format to YUV422 format using tivxDispalyM2MNode. One of the elements in the configuration parameter is overlay id. What is the purpose of the overlay id when I just want to convert the images from one format to another format? If it's not used, does it require to be set to a specific value? 


Thanks,

-Anup Nayak

  • Hi Anup,

    Please use the below configuration

    Fullscreen
    1
    2
    3
    4
    5
    6
    + /* DSS M2M initialization */
    + tivx_display_m2m_params_init(&obj->display_m2m_params);
    + obj->display_m2m_params.instId = 0;
    + obj->display_m2m_params.numPipe = 1;
    + obj->display_m2m_params.pipeId[0U] = 3;
    + obj->display_m2m_params.overlayId = 3;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    This is required as DSS_M2M, even though a format convertor, it will use the DSS IP and it consists of video pipe and overlay managers. In the SDK, we have considered Video pipeID 3 and OverlayID 3 for DSS M2M when using the DSS_M2M node.

    Regards,

    Nikhil

  • Thanks Nikhi.