commit | ac0b4b4cab42fdd5c010bac85bf4e63f49647e69 | [log] [tgz] |
---|---|---|
author | Erik de Castro Lopo <erikd@mega-nerd.com> | Thu Dec 04 21:03:01 2014 +1100 |
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | Thu Dec 04 21:03:06 2014 +1100 |
tree | ca05780c2fad18468d1fb2d8a691250bfdf2b046 | |
parent | d03c9f46be975307f30db39c8cbd09b505fe5e24 [diff] |
Improve encoding speed on older Intel CPUs. The commit http://git.xiph.org/?p=flac.git;a=commit;h=e9d805dd4374 changed the that calculate autocorrelation. However, the new code worked slightly (about 4%) slower on Core 2, but with the new presets the speed decrease can reach ~25%. This patch enables both old and new functions and chooses between them at runtime. Patch-from: lvqcl <lvqcl.mail@gmail.com>