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.

Combining capture_encode and decode_display examples



Hello

I am trying to combine the capture_encode and decode_display examples provided in the ezsdk 5.02.01.59 .  I get an error when i try to move the display component of decode display example to executing stage (BadParameter Error).I ahve folowing queries:

1) Is it possible to use two instances of display component together if yes what changes are required in parameters of each? for example can we use the same the port index as provided in examples without modification.

2) what changes will be required if i want to use one dispaly component say, the one connected to DEI in capture_encode and connect output of scalar in decode_display to it.

3)I tried to change the connections in capture encode example by removing DEI - Display connection and connecting encoder to first port of DEI. In this case capture and DEI seems to be running but encoder does not seem to be running (No ETB and FTB events) . Please give information how can i do this.

 

Thanks alot

Ravi

  • Ravikant said:
    1) Is it possible to use two instances of display component together if yes what changes are required in parameters of each? for example can we use the same the port index as provided in examples without modification.

     

    Two instances of display component working simultaneously is indeed possible. Each of these two components have to be configured to use one of the display devices. (i.e HDMI. HD-DAC or SD-DAC). Two display components cannot control the same display device at the same time.

    Please look in the decode_display example in how this is configured via setting the nDriverInst parameter.

     

    Ravikant said:

    2) what changes will be required if i want to use one dispaly component say, the one connected to DEI in capture_encode and connect output of scalar in decode_display to it.

     

    Its not clear to me what you are attempting here. Can you please elaborate?

     

     

    Ravikant said:

    3)I tried to change the connections in capture encode example by removing DEI - Display connection and connecting encoder to first port of DEI. In this case capture and DEI seems to be running but encoder does not seem to be running (No ETB and FTB events) . Please give information how can i do this.

     

    The DEI component requires both the input and the ouput ports be enabled and have buffers populated in these ports for it function. Please note that the DEI is supposed to give YCbYcr data from the first output port (OMX_VFPC_OUTPUT_PORT_START_INDEX) and NV12 format from the second output port (OMX_VFPC_OUTPUT_PORT_START_INDEX). And the encoder can take in data in NV12 format and no other.

     

    Archith