Prevent some cases of cache aliasing.
authorLoren Merritt <pengvado@akuvian.org>
Fri, 16 Jul 2010 06:49:03 +0000 (23:49 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 16 Jul 2010 06:49:03 +0000 (23:49 -0700)
commit87c0f8fa66c1d7fb7f25e1991341fd7fe78b1bcd
tree8431f0f4cc4fe5bca443db1127f7d07df0a284e6
parentcd8929fb3365b6b5e5d6168d97a52c751feda266
Prevent some cases of cache aliasing.
Avoid cases where image strides were a large power of 2.
Core 2: +3% speed at widths 898..960, +6% at widths 1922..1984, most other resolutions unaffected.
Nehalem and AMD: similar amount of speedup, but fewer resolutions affected.
common/frame.c
common/macroblock.c
encoder/encoder.c