[MPlayer-dev-eng] [PATCH] speedup and little bugfix for -vop eq2
ticmanis at coli.uni-sb.de
Sun Dec 1 22:27:04 CET 2002
Maybe you are interested in this little patch for -vop eq2.
It fixes a small bug where a byte value is divided by 255.0 to convert
to a float within [0.0, 1.0] and later multiplied by 256.0 to convert
back. This makes the luminance lookup table more correct, although the
visual difference is relatively small.
More importantly, it speeds up the inner loop a good bit, at least on
x86 systems, the only one I have and can test on. Of course the code
should work on all architectures, there's no asm stuff, just faster C.
Comments on how it is done in detail are in the file.
(I hope Mozilla will base64-encode this, if not I hope it will still be
usable for you.)
The Master said, "The business of laying on the colors follows the
preparation of the plain ground."
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the MPlayer-dev-eng