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.

failure to create alg in DM6446 DSP

hi, I use RTSC Codec Package Wizard and RTSC Server Package Wizard
to create DSP server in windows, and use arm gcc to create app client
in linux, but when I run app client in evm board, I get error message

# ./app.out
App-> Application started.
[DSP] @0x000001e4:[T:0x00000000] codec_unitserver - main> Welcome to DSP server'
s main().
@0x00082fe6:[T:0x400176e8] CE - Engine_getConstName> Unable to locate alg "viden
c_copy" (type "ti.sdo.ce.video.IVIDENC").
@0x00083222:[T:0x400176e8] CV - VISA_create> Unable to locate alg "videnc_copy".
CEapp-> ERROR: can't open codec videnc_copy
App-> Application FAILED.

indeed, the DSP server and app client is video_copy, I do not change
it, why the app client can not use the name "videnc_copy" to create alg?

  • This error is coming from the ARM side trace, so the config issue is there (as opposed to the DSP-side Server).  There is no codec named "videnc_copy" of type "ti.sdo.ce.video.IVIDENC" in the ARM-side Engine.  Perhaps you didn't re-run the ARM-side config script on your new Server?  Is your ARM-side config script calling Engine.createFromServer()?  Are you supplying _your_ Server in the call to Engine.createFromServer()?

    It's unclear which CE release you're using, but recent ones include runtime APIs that let you enumerate all the codecs (and their attributes) in a given Engine at runtime.  You might learn more about your system by using these APIs - look for Engine_getNumAlgs()/Engine_getAlgoInfo() APIs.

    Chris