Bala, In the DVEVM 1.10 demos the video thread has been broken into a separate video processing thread and a display thread to decouple the processing from the display. This allows for buffering between the processing and display, and allows a few frames (depending on your buffering / latency) to exceed their budgets (33 ms for NTSC and 40 ms for PAL).
In the DVEVM 1.00 if a frame was too expensive you would drop a frame, which to many is unacceptable. I agree the memcpy() is unfortunate, but the LSP the demos had to work with had no VPSS resizer support or user mode DMA support. Both of these are of course preferred in a production system. For more information on the design decisions of the decode demo see the doc: http://focus.ti.com/docs/apps/catalog/resources/appnoteabstract.jhtml?ab stractName=spraag9 Regards, Niclas -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Balasubramanya B Sent: Friday, November 24, 2006 3:28 PM To: [email protected] Subject: Query on the memcopy of the decoded video buffer hi, In the dvevm 1_10 demo decode(demo/decode) code, the entire decoded output buffer is copied to the display buffer. Why is this required? Is this not too much of an overhead in a practical player decoder application? In the corresponding dvevm 1_00 demo code, the decoder directly writes the decoded frame to the display buffer and hence there is no memory copy in the application. Secondly, i found that the display is not proper when a non NTSC or PAL resolution clip is decoded in dvevm 1_00 demo application. But it is fine in dvevm 1_10 demo. Is the above memcopy is used to take care this display problem? plz clarify, thanks and regards, bala _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
