C optimizations for DC prediction.
authorTim Terriberry <tterribe@xiph.org>
Fri, 24 Jul 2009 10:24:28 +0000 (10:24 +0000)
committerTim Terriberry <tterribe@xiph.org>
Fri, 24 Jul 2009 10:24:28 +0000 (10:24 +0000)
commitac881502476d843940e906cad3dc23679c1de219
tree8416573ef45da68c9da53ab65f37a0696463d89d
parenta5c06f056f3729abaacd14852b0c54ea393c7f77
C optimizations for DC prediction.
These are relatively minor on modern platforms (1.6-2.7% in the decoder on
 x86-64, less than 1% on the encoder), but can have a much larger impact on
 older platforms/underpowered CPUs with poor branch prediction.
Modified version of a patch by Simon Hosie.

svn path=/branches/theora-thusnelda/; revision=16332
lib/dec/decode.c
lib/dec/fragment.c
lib/dec/internal.c
lib/dec/state.c
lib/dec/x86/mmxstate.c
lib/dec/x86_vc/mmxstate.c
lib/enc/analyze.c
lib/enc/tokenize.c
lib/internal.h