[MPlayer-dev-eng] [PATCH] Optimize vo_macosx
Nicolas Plourde
nicolas.plourde at gmail.com
Mon Jul 3 13:03:15 CEST 2006
On 2-Jul-06, at 3:23 PM, Alexander Strange wrote:
> 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.
> <vo-macosx-optim.patch>
>
Im going to test it tonight. The shared_buffer path is for mplayerosx
btw.
====
Nicolas Plourde <nicolas.plourde at gmail.com>
More information about the MPlayer-dev-eng
mailing list