aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/convert/convert_unpack_sc12.cpp
Commit message (Collapse)AuthorAgeFilesLines
* convert: Fix sc12 unpack shiftingTom Tsou2015-01-121-8/+8
| | | | | | | | | | | | Resolve issue #666 "B200: Rx signal distortion when using SC12". During 12-bit unpacking, OTW samples are shifted into the high order bits of the 16-bit intermediate values. The remaining 4-bits are not zeroed and contain bits from adjacent samples. Consequently, signal distortion becomes noticable with spurs and other random signal garbage when operating at low signal levels. Signed-off-by: Tom Tsou <tom@tsou.cc>
* Squashed merge of Coverity fixes.Ben Hilburn2013-11-271-1/+1
|
* sc12: fixed byte alignment issueJohannes Demel2013-11-191-4/+57
|
* convert: added sc12 and fc32 convertersJosh Blum2013-08-281-0/+152