Commit 15919ee4 authored by Committed by Ronald S. Bultje
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 <firstname.lastname@example.org>
Showing with 2 additions and 2 deletions