actuallly i didn't get clear idea about XDAIS interfacing with codec.
there is my coded,i want to interface on DSP processor but there is XDAIS algorithm.so how i map alloc,free and init function.also how they get called
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.
actuallly i didn't get clear idea about XDAIS interfacing with codec.
there is my coded,i want to interface on DSP processor but there is XDAIS algorithm.so how i map alloc,free and init function.also how they get called
Hi Ashwini,
Is your codec an xDAIS algorithm already? If so, your application would call the codec's algAlloc() function to determine the memory requirements and then allocate the memory for the algorithm.
What version of xDAIS, and what other TI products (eg, Codec Engine, processor) are you using?
Best regards,
Janet
Hi Ashwini,
Here is an app note that should give you an overview of xDAIS and show how to use the IALG interface:
http://www.ti.com/lit/an/spra579c/spra579c.pdf
You might find some more useful links here:
http://processors.wiki.ti.com/index.php/XDAIS_Documentation
Best regards,
Janet
Hi Ashwini,
There is some example code in this User'r Guide: http://www.ti.com/lit/ug/spru360e/spru360e.pdf However, this example code uses ALG APIs to create, activate, etc, the algorithm. ALG APIs used to be shipped with xDAIS, but are no longer shipped, as it is now recommended to use Framework Components DSKT2 for instantiating and activating xDAIS algorithms. DSKT2 handles scratch memory that can be shared by multiple algorithms. Here is the DSKT2 User's Guide: http://processors.wiki.ti.com/index.php/Framework_Components_DSKT2_User%27s_Guide
If you just want to see a simple example, you can look at the ALG code that I am attaching from an older version of xDAIS. Between the ALG code and the xDAIS API Reference, you should get a better understanding of how to run the algorithm.
6332.alg_create.c 6560.alg_control.c 4452.alg_malloc.c
Best regards,
Janet