« Previous | Next » 

Revision 15919ee4

Parent 6ffd7edd
Child 3583d7cf

Added by Jason Garrett-Glaser over 10 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 <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences