[MPlayer-dev-eng] [PATCH] Optimize vo_macosx

Alexander Strange astrange at ithinksw.com
Sun Jul 2 21:23:54 CEST 2006


This patch simply removes the memcpy calls on the picture data in  
vo_macosx, making it 2x faster.
As a side effect, it also disables the OSD rendering; I removed that  
code and VFCAP_OSD, but that means this depends on the other patch  
(mentioned in a previous thread) that automatically inserts -vf  
expand=::::1. If you try it now, it should work normally but you'll  
have to put that filter in by hand.

The old memcpy path still exists (minus the actual OSD drawing) in  
the shared_buffer case, because I don't know what that does and can't  
test it.

By the way, is it guaranteed that the picture data will always have  
the same pointer? That would simplify this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vo-macosx-optim.patch
Type: application/octet-stream
Size: 5706 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060702/2e76a29e/attachment.obj>


More information about the MPlayer-dev-eng mailing list