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.

Question about Capture encode demo in ezsdk_5_02

Hi, everyone

 

 I am a beginner of DM816x, and now I want to do some Image Processing work using DM8168.

 The Capture encode demo has worked in my environment,

 but how to get the image address then to do some processing work with it, such as save as an BMP file.

 Is there any  method to get the image data?

 

Best Wishes,

lei

  • Lei,

    Since you have looked at the OMX examples, its useful to note that the Application (or ILClient in OMX terminology) exchanges buffers with the OMX components via OMX_BufferHeaders in the Standard Non-tunneled mode of communication. These buffer headers have a field 'pBuffer' which point to the DataBuffer represented by that BufferHeader. For more details, please go through the OMX spec here: http://www.khronos.org/files/openmax_il_spec_1_0.pdf for more details

    In the EZSDK, with the ILclient on A8 and the OMX component running on multi-media controllers, all data buffers are allocated from a Shared Region accesible to both A8 and the media-controllers. Via the SharedRegion module (part of IPC), the data buffer pointers are made portable between A8 and the media-controllers.

    Archith