Skip to content
Snippets Groups Projects
Commit 15919ee4 authored by Jason Garrett-Glaser's avatar Jason Garrett-Glaser Committed by Ronald S. Bultje
Browse files

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: default avatarRonald S. Bultje <rsbultje@gmail.com>
parent 6ffd7edd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment