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.

how to call DSP algorithmic in DM8148

 

1. In EZSDK5.03, the release notes says that the C6run is removed, why?

2. I use DAMI to call DSP algorithmic  in DM6467, but how to do that in DM8148?

    I guess there are below method:(codec has been build)

    a. C6run(seems not support custom lib)

     b. framework componet(seems not suitable for  arm side) 

    c. visa call(how)

     d. openmax(seems too complex and inefficency)

 

  • Ethan,

    For question 1:

    The primary usecases for this device are related to video and multimedia applications and so it was decided at this point to focus on those areas for SDK development.

    I am working with other to get the question 2 answer.

    Regards,

    Viet

  • Hi Ethan,

    For #2, I'd suggest you use Codec Engine to remotely access your DSP algorithm. There is some documentation both in the Codec Engine product and on the wiki (http://processors.wiki.ti.com/index.php/Category:Codec_Engine) that helps you work with the Codec Engine.

    Depending on the type of algorithm you are running on the DSP, you may need to write some 'glue code' to first make it into an XDM-compliant codec of a pre-defined type (e.g. IAUDENC1 if it is an audio encoder), or make it into an algorithm of the generic type IUNIVERSAL, which is a generic interface that needs to be implemented for Codec Engine to be able to access the algorithm remotely. The GenAlg/GenCodecPkg/GenServer wizards can help generate some of this code. But if you were using DMAI you probably have gone through the exercise of XDM-izing your algorithm already. In this case, all you want to do is to invoke your algorithm using the 'VISA' api. For this you can refer to the Codec Engine Application Developers Guide for more details on how to use the Codec Engine API. The best way to start is to take a look at one of the examples provided in the Codec Engine directory (e.g. audio1_copy) to see how to communicate with an algorithm/codec.

    Best regards,

    Vincent

  • yes, I  have gone through the exercise of XDM-izing your algorithm already.

    but using visa call through Codec Engine seems too low. I have to use raw v4l2 framework to capture and display, and use codec engine to call visa api.

    the DMAI has wrap all this and easy to use. Does Dm8148 has the plan to add DMAI support?

  • There is currently no plan to port DMAI to the DM8148. My understanding is that users are recommended to use Openmax instead for video encode/decode. The examples in the EZSDK are meant to help customers with the latter. So if your algorithm is a video encoder/decoder (i.e. it'd implement the IVIDENC1 or IVIDDEC2 interfaces), it may be good to look into Openmax, and the EZSDK examples are a good way to start.

    Best regards,

    Vincent