Mercurial > libavutil.hg
comparison intfloat_readwrite.c @ 729:753953ed8ff0 libavutil
PPC asm for AV_RL*()
PPC is normally big endian but has special little endian load/store
instructions. Using these avoids a separate byteswap. This makes the
vorbis decoder about 5% faster. Not much else uses little-endian
read/write extensively.
GCC generates horrible PPC code for the default AV_[RW]B64 (which uses
a packed struct), so we override it with a plain pointer cast.
author | mru |
---|---|
date | Sat, 18 Apr 2009 00:00:31 +0000 |
parents | 70bdd5501662 |
children | 4d9ad0ed07d0 |
comparison
equal
deleted
inserted
replaced
728:1fa3820b1a84 | 729:753953ed8ff0 |
---|