[MPlayer-dev-eng] update to the speedup patch

Jim Hauxwell james at dattrax.co.uk
Fri Nov 21 09:46:35 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

So I had a think about the lock/unlock situation.

1) No resource conflict, its not like other threads are going to be
grabbing the render surface.
2) Its an off screen buffer so it wont affect the display.

I have concluded that it should be OK to lock it once in draw_slice()
and then unlock it before doing the blit to get it onto the back buffer.

Its also a little more flexible in the draw_slice() as my previous patch
ignored the x offset for slice decoding, which would have broken for say
mpeg2 with multiple slices per line.  Its now reverted back to using the
original calculations in this respect.

Jim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkmdWsACgkQhrNWoHjgI1DMHwCfcxbu7gdjg9OCwarwEL+aaDSq
7OMAoMHDGccjSEJyEb1t0t1OmBaMFh0l
=tJHP
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: my_output2.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081121/eae2f85a/attachment.txt>


More information about the MPlayer-dev-eng mailing list