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.

live preview on on-chip HDMI port (using SDK 1.4)

Hi All,

I've been using SDK 1.4 software on EVM.

When I run vs2 demo application, live preview is playing on off-chip HDMI port (on VS daughter board) and playback is playing on on-chip HDMI port (on main board). However, as far as I understand, live and playback would be on on and off-chip HDMI port respectively. (SDK 1.4 user guide also described this behavior.)

Is there any way to fix this ? I'd like to and need to see live preview on on-chip HDMI port since our own custom board has only on-chip HDMI port.

Regards,
Wonhong

  • Wonhong,

    The connection of live/playback  and on/off chip hdmi is SW configurable.   Moreover, if you do not have VS daughter card, you can not have playback display. So some SW changes are required to remove the playback component. 

    I will check with SDK team to figure out how to do this and get back to you.

    Regards,

    yihe

  • Wonhong

    With the default SDK configuration, you will see

    Preview on OFF-chip HDMI &

    Playback on ON-chip HDMI

    You only need to have some minor configuration changes required to swap these displays. Please modify the following code in VS2/omx_prop_tunnel_test.c (function name: OMX_HDVPSS_MicroChain_Test()) as follows

          if (i == 0){
            vfdcCfg.nDrvInstID = OMX_VIDEO_DISPLAY_ID_HD0;
            vfdcCfg.eDispVencMode = OMX_DC_MODE_1080I_60;
          }
          if (i == 1){
            vfdcCfg.nDrvInstID = OMX_VIDEO_DISPLAY_ID_HD1;
            vfdcCfg.eDispVencMode = OMX_DC_MODE_1080I_60;
          }

    To

          if (i == 0){
            vfdcCfg.nDrvInstID = OMX_VIDEO_DISPLAY_ID_HD1;
            vfdcCfg.eDispVencMode = OMX_DC_MODE_1080I_60;
          }
          if (i == 1){
            vfdcCfg.nDrvInstID = OMX_VIDEO_DISPLAY_ID_HD0;
            vfdcCfg.eDispVencMode = OMX_DC_MODE_1080I_60;
          }

    Also

       if (i == 0){
         grpxdriverInst = GRPX_DRIVER_INSTANCEID_0;
       }
       if (i == 1){
         grpxdriverInst = GRPX_DRIVER_INSTANCEID_1;
       }

    To

       if (i == 0){
         grpxdriverInst = GRPX_DRIVER_INSTANCEID_1;
       }
       if (i == 1){
         grpxdriverInst = GRPX_DRIVER_INSTANCEID_0;
       }

     

    Regards

    Shiju

     

     

  • Hi Shiju,

    Based on your comments, I've got live preview on on-chip HDMI successfully.
    Thanks for the detail information.

    Regards,
    Wonhong