« Previous | Next » 

Revision 9f5ff83f

ID9f5ff83f2a836a34734250ec924b9bb45fa67573
Parent 3c55ce03
Child 67d04927

Added by Måns Rullgård over 11 years ago

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.

Originally committed as revision 18602 to svn://svn.ffmpeg.org/ffmpeg/trunk

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences