« Previous | Next » 

Revision 15919ee4

ID15919ee48f507a4ca17147e7247f5cb68f752c2c
Parent 6ffd7edd
Child 3583d7cf

Added by Jason Garrett-Glaser about 9 years ago

bswap: use native types for av_bwap16().

This prevents a call to bytestream_get_be16() using a movzwl both before
and after the ror instruction, which is obviously inefficient. Arm uses
the same trick also.

Sintel decoding goes from (avg+SD) 9.856 +/- 0.003 to 9.797 +/- 0.003 sec.

Signed-off-by: Ronald S. Bultje <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences