aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/convert/sse2_sc16_to_sc16.cpp
Commit message (Collapse)AuthorAgeFilesLines
* convert: Add sc16-sc16 SSE converterTom Tsou2015-05-141-0/+201
The sc16-sc16 wire to host type converter is effectively an I/Q swap or 16-bit byteswap for little and big endian cases respectively. This implmentation is a subset of fc32 and fc64 converters without the floating point portion and scaling. The resulting byte ordering is as follows: ----------------- | A | B | C | D | Wire ----------------- 0 1 2 3 ----------------- | C | D | A | B | Litte-endian ----------------- 0 1 2 3 ----------------- | B | A | D | C | Big-endian ----------------- 0 1 2 3 Signed-off-by: Tom Tsou <tom.tsou@ettus.com>