diff options
author | Philip Balister <philip@opensdr.com> | 2010-09-10 15:47:20 -0400 |
---|---|---|
committer | Philip Balister <philip@opensdr.com> | 2010-09-10 15:47:20 -0400 |
commit | a845814e3e648e5625649c2f34f462bc29641fa7 (patch) | |
tree | 70027a1a9ca8ac44fcb6cef9c435fb359841619d /host/lib | |
parent | 136e507182085fc5e666c08a0099103caba19c24 (diff) | |
download | uhd-a845814e3e648e5625649c2f34f462bc29641fa7.tar.gz uhd-a845814e3e648e5625649c2f34f462bc29641fa7.tar.bz2 uhd-a845814e3e648e5625649c2f34f462bc29641fa7.zip |
Reverse I and Q on the wire.
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/transport/convert_types_impl.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/transport/convert_types_impl.hpp b/host/lib/transport/convert_types_impl.hpp index 04e6fc81a..b9a47eb0e 100644 --- a/host/lib/transport/convert_types_impl.hpp +++ b/host/lib/transport/convert_types_impl.hpp @@ -155,7 +155,8 @@ static UHD_INLINE void fc32_to_item32_nswap( float32x4_t Q2 = vmulq_f32(Q1, Q0); int32x4_t Q3 = vcvtq_s32_f32(Q2); int16x4_t D8 = vmovn_s32(Q3); - vst1_s16((reinterpret_cast<int16_t *>(&output[i])), D8); + int16x4_t D9 = vrev32_s16(D8); + vst1_s16((reinterpret_cast<int16_t *>(&output[i])), D9); } for (; i < nsamps; i++) |