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.

OMAP-L138 running 2 codec parallel on DSP

Hi

I'm new to developing using the codec engine framework.

I have 2 codec (A & B) using the server with custom C algorithms in it. A is to continuously do some capturing and transfer the data to a buffer that runs forever (or until the board is powered off again) while B is to process the data that is acquired and return to ARM to write results to file.

What i'm trying to do now is to let the two codecs (A and B) work parallel on the DSP with mutex to improve speed.
Currently, I have an application which uses pthread that calls A and B seperately using universal_process.
From the printout, I see that only 1 universal_process can be run at one time and it is based on scheduling.

From this link: http://processors.wiki.ti.com/index.php/Multiple_Threads_using_Codec_Engine_Handle,
Even if I use 1 codec engine instance for A and 1 codec engine instance for B, it still holds till the other universal_process is done.

I haven't try the async_process, but it should still be the same. 
I am also wondering if I can create threads in that codec to do A and B in parallel.

Please assist.

Thanks