[FFmpeg-devel] [PATCH] skip no-op loop iterations in ff_flac_compute_autocorr

Bobby Bingham uhmmmm
Thu Apr 9 19:35:49 CEST 2009


On Wed, 08 Apr 2009 17:42:55 -0400
Justin Ruggles <justin.ruggles at gmail.com> wrote:

> Bobby Bingham wrote:
> > Attached patch skips a bunch of iterations which are no-ops because
> > data1[-lag...-1] are all zero.
> 
> looks ok. do the ASM versions do the same?

Good question.  I'll take a look at deciphering them.  In the meantime,
here's an updated patch which applies the same change to the other loop
in the same function as well.

-- 
Bobby Bingham
Never trust atoms.  Or anything made of atoms.
??????????????????????
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flacenc.diff
Type: text/x-patch
Size: 768 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090409/6699b648/attachment.bin>



More information about the ffmpeg-devel mailing list