Hi all,
I am trying to use EZSDK OMX (version 5:05:01) on an DM816x module to capture and display out second HD port (DV02) and SD port.
Using OMX.TI.VPSSM3.VFCC for capture, OMX.TI.VPSSM3.VFPC.DEIMDUALOUT for DEI, OMX.TI.VPSSM3.VFDC for both displays (2 instances) and OMX.TI.VPSSM3.CTRL.DC for control (2 instances).
SD is PAL and DV02 is an LCD 800x600 display.
I have had DV02 working with the second DEI port going to an encoder (similar to example decode_display).
I have also had SD working by shifting encoder to first port of DEI and putting SD on second port. So I have had both displays working independently, just not at the same time.
The problem I am having is that when I try to support both DV02 (port 0 of DEI) and SD (port 1 of DEI) and try to take them to the execute state, the DV02 gives an OMX bad parameter error.
I have checked and double checked everything and simply can't see any parameter errors I have made. One interesting observation is that it is only the DV02 that gives the bad parameter. If I put the SD into execute state first then it is successful.
So I have a few basic questions:
1) Should I expect both HD and SD to be possible at the same time via OMX (documentation says it should be possible)
2) If yes, then I assume I need 2 instances of a VFDC and 2 instances of an associated controller i.e. 2 lots of below, 2nd would have a different set of AppData
/* Create the display component */
err = OMX_GetHandle (&pAppData->pDisHandle, "OMX.TI.VPSSM3.VFDC", pAppData->disILComp, &pAppData->pCb);
if (err != OMX_ErrorNone)
{
ERROR("failed to get handle\n");
return err;
}
/* getting display controller component handle */
err = OMX_GetHandle (&pAppData->pctrlHandle, "OMX.TI.VPSSM3.CTRL.DC", pAppData->disILComp, &pAppData->pCb);
if (err != OMX_ErrorNone)
{
ERROR("failed to get handle\n");
return err;
}
3) Is there any example code of using two displays or has someone else achieved this - I can't find any examples around.
Kind regards
Shane Harrison