dsputil: add bswap16_buf()
authorMans Rullgard <mans@mansr.com>
Tue, 20 Apr 2010 23:09:00 +0000 (00:09 +0100)
committerMans Rullgard <mans@mansr.com>
Wed, 16 Mar 2011 23:19:40 +0000 (23:19 +0000)
commit381d37fda91494e312ab2938080a379c5e11998b
tree4643fe3926b5fe37f7a0319e02eac02c1bb96830
parentdff68563d846274cee0a2cd2430d6f1a2cb51eaa
dsputil: add bswap16_buf()

There are several places where a buffer is byte-swapped in 16-bit units.
This allows them to share code which can be optimised for various
architectures.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/dsputil.c
libavcodec/dsputil.h