On Mon, 29 Sep 2003, Richard Ellis wrote: > Attached is a small patch that I put together today that based on my > measurements produces about a 6-7% speedup of yuvdenoise if the > luminance contrast option is used. I got the idea for the change > from the yuvcorrect sources, the optimization is to pre-compute the
I'll take a longer look later but one thing leaped out at me Shouldn't the line uint8_t luma_contrast_vector[255]; be uint8_t luma_contrast_vector[256]; The elements are numers 0 thru 255 but there are 256 of them. Steven Schultz ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users