diff options
author | Tom Tsou <tom.tsou@ettus.com> | 2015-04-30 20:39:34 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-05-14 10:53:19 -0700 |
commit | 8d4bdd57bf6a117365823f9ed357a6e7e8704af9 (patch) | |
tree | fc2bc5c2bc29914a8a3fd54b8ca2e5cb77ffad4d /host/lib/usrp/e300/e300_sysfs_hooks.cpp | |
parent | 51bc00eed37b2bcc8c4d33b0093a7e3e573141a4 (diff) | |
download | uhd-8d4bdd57bf6a117365823f9ed357a6e7e8704af9.tar.gz uhd-8d4bdd57bf6a117365823f9ed357a6e7e8704af9.tar.bz2 uhd-8d4bdd57bf6a117365823f9ed357a6e7e8704af9.zip |
convert: Add sc16-sc16 SSE converter
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>
Diffstat (limited to 'host/lib/usrp/e300/e300_sysfs_hooks.cpp')
0 files changed, 0 insertions, 0 deletions