Hi,
I have gone through the decode demo application code given with the DVEVM.
I could not understand one thing:
There are 4 threads: 1.Display 2.Video 3.Audio 4.Control thread(main)
Display has highest priority. Then Video and then Audio and Control thread.
While executing the code I found that:
When the instuction "if (FifoUtil_get(envp->hDisplayOutFifo, &de) ==
FIFOUTIL_FAILURE)" is being executed , the video thread is being preempted by
display thread or audio thread.
I could not understand this. Display thread preempts Video is OK as it has
higher priority.But why Audio Thread having lower priority is preempting the
Video thread. WHETHER THE VIDEO THREAD GOES TO WATING STATE WHILE EXECUTING THE
ABOVE MENTIOED "INSTRUCTION"
---------------------------------
Unlimited freedom, unlimited storage. Get it now_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source