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.

Using my own Codec Engine make system

Other Parts Discussed in Thread: OMAP-L138

Hello

I want to integrate Codec Engine into my existing application. Your make system is impressive but I don't think I could use it for my purpose. Do you have any hints on how I could reach a simple header+library version for my OMAP-L138 processor that would run codec code on the DSP?

Some few months ago I was able to do the same thing with DSPLink (compiled the whole libary form OMAP-L138 and then extracted the needed files), but Codec Engine is much more complex. I guess I could compile the codecs and the codec server through your make system, but the Linux application I'm developing should use my own make system. Any leads on what libraries I need to link to etc.?

Regards
Szymon

  • Hi Szymon,

    After you have compiled the codecs and the codec server, you are free to use whatever make system you choose to use to build your application. The way to figure out the libraries to link in and compiler options to use is to run a utility named configuro. This utility takes a .cfg file as input, which defines the configuration of Codec Engine, and produces two key files: compiler.opt  (contains all the compiler options you need) and linker.cmd (contains a list of libraries that needs to be linked in). With these files you will have all the information you need.

    For an example on how this utility is run, see the file Makefile.app in directory dmai_x_xx_xx_xx\\packages\ti\sdo\dmai\apps and look for the words CONFIGURO AND CONFIGURO_LINUX. If you don't have DMAI (Davinci Multimedia Application Interface) already, you can take a peek at its source code at https://gstreamer.ti.com/gf/project/dmai/scmsvn/?action=browse&path=%2Ftrunk%2F. To see examples of the syntax to use in the .cfg file, you can refer to any of the examples under the \apps directory as well.

    Hope this helps.

    -Vincent