From: Bernhard P. <wal...@us...> - 2005-02-18 16:26:56
|
Update of /cvsroot/mjpeg/mjpeg_play/lavtools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11430/lavtools Modified Files: jpeg2yuv.c Log Message: Added a patch from the tracker submitted by: Dean Gaudet [ 1117718 ] jpeg2yuv: eliminate division in rescale_color_vals rescale_color_vals includes a division and a multiplication, but it can be refactored so the division can be done at compile time. (compilers are generally not permitted to make this change, but most have compile options which loosen the fp standards compliance which would catch this case.) in a pipeline with mpeg2enc this yielded a 9% speed improvement. |