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.

DEI OMX component

Hi TI experts,

 

I have a few questions regarding the DEI OMX component.

Does DEI OMX component must have two output ports?
Is it possible to use only one DEI output port?  and how this should be done?
I am trying to take TI OMX capture_encode example and disconnect the encoder and remain only with the capture->DEI->display, the modified example is getting to execute state but there is no display at all. the example also tearing down OK.
Can anyone please advice? 

Thanks,
Gabi

  • Gabi,

    DEI OMX component integrated dual output driver, hance it  is must to have two outputs. You can ignore the other output and whenever fillBufferDone call comes for that port, you can call FillThisBuffer without processing anything. This way DEI will be opertaing in dual o/p mode without Encoder.

    Regards

    Vimal

  • Hi Vimal,

    Thanks for your answer it was very helpful and i succeed in using DEI with only 1 output.
    I have one more question if you don't mind, I am trying now to use this example of capture->DEI->display and perform capture in YCbCr 422 format (of course DEI input must receive YcbCr 422 as well)..
    I succedded in conectting capture directly to display and perform capture in YCbCr 422 format. 
    But when changing the DEI input buffer parameters to YCbCR (eColorFormat,nStride,  nBufferSize) the example receive the error OMX_ErrorInsufficientResources after DEI output buffer allocation and before DEI state is change to IDLE.
    Am i missing something?

    Thanks,
    Gabi 

  • Gabi,

    What resolution are you trying. Since You are able to get capture/display working assume width is <=960, as pitch for 422 becomes 2x, and max width/pitch supported is 1920. You  can get the detailed error o/p from media controller by using UIA tool.

    /usr/share/ti/ti-ti-uia/loggerSMDump.out 0x9e400000 vpss

    Most likely buffer size is not correct.

    Regards

    Vimal

  • Hi Vimal,

     

    Thank you for your reply, i succeeded in doing both capture and display where width =1920 and hieght =1080 in YCbCr 422 thus stride=2*width and buffer size = stride X height.  
    no pitch parameter for capture component.

    If i understand correctly your reply, for DEI input parameter Frm0Pitch is limited to 1920 and thus it can't receive 2 x width where width is 1920, am i right?
    By the way in the spec i didn't find any limitation regarding this parameter. Moreover in the original capture_encode example, DEI output is in width of 1920 and 422 YCbCr format and Frm0Pitch = width x2, so probably i didn't understand something.

     

    Beside that i tried a few times working with the loggerSMDump.out according to this tutorial

    http://processors.wiki.ti.com/index.php/OMX_Viewing_Media_Controller_Traces#Version_Information_and_Compatibility

     however it gave no information.

    Thanks,
    Gabi 

     

  • Gabi,

    Yes, DEI or Scalar (SCwrbk)  can not take stride > 1920, because of HW limitation in dm8168..(This limitation is being resolved in latest HW version)  Capture or Display can work with 1920 422 input/output.

    Regards

    Vimal