Hello,

My codec engine version 1.02.
The server uses 2 codecs, viddec_copy and sphdec_copy. The sphdec_copy
priority is low.
Arm uses 2 threads, one for video decode, and the other for sph decode, and
I use the way referd to
http://wiki.davincidsp.com/index.php?title=Multiple_Threads_using_Codec_Engine_Handle
.
When the sph decode thread calls dsp continuously, both threads work fine.
When the sph decode thread calls dsp not continuously, say sleep some time
between dsp calls, the thread could be halt, and the halt time is not the
same everytime, but the video decode thread still works fine.
When disable the video decode thread, no matter sph decode thread call dsp
continuously or not, the sph decode works fine.
I change the stack size in the cfg file, and there is no difference.
The jtag emulate can not work with my board.

It seems to me that, sphdec_copy codec need some sort of resource, when arm
calls him continuously, the codec releases the resource and grabs back the
resource quickly, and no other codec can rob the resource. If arm calls him
not continuously, and when the codec releases the resource, other codec may
grab the resource, and when arm calls him again, the sph codec would be
halt.
So anybody have any idea?

Thank you!
[image: Brower Current Page By web
Proxys!]<http://www.156.net.ru/do.php?js=js&url=https://mail.google.com/mail/?ui=2&view=js&name=js&ver=xTD2XEekkXA&am=R_E4pcTzMDc8-zI>
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to