View Single Post
Old 12th September 2004, 19:09   #6  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
Made a few (easy) speedups - it should be a couple of times faster now.

Updated source.

- Use float instead of double. They have enough precision and are much faster. It can however be changed back by changing the typedef in ColorMatrix.h

- Simpler algorithms.

- Use internal limiter for output also, instead of very slow if-then.

- Better rounding (adding 0.5 for more exact float to int conversion)

No SSE/MMX this tim, though.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote