Nicholas Corgan
e3826b1a67
Restoring compatibility with CMake 2.6
...
* The UNSET command didn't exist back then, but using SET with no value does the same thing
* CMake 2.6 doesn't like nested parantheses in IF statements, so tweak IF/ELSE statements
2014-08-14 06:45:53 -07:00
Ben Hilburn
e4f94aaaf4
Fix issue with "item32" registered size, Bug 466.
2014-06-13 12:56:30 -07:00
Philip Balister
57486eb4bc
Do not set the mfloat-soft flag during the test for arm_neon.h.
...
Use the flags passed in from the toolchain. If this test runs on a hard-float
system, bad things happen.
Signed-off-by: Philip Balister <philip@opensdr.com>
2014-06-03 17:35:47 -04:00
Ben Hilburn
98f8ec4e14
UHD: Addressing Bug 466, as per Balint.
2014-05-22 18:04:43 -07:00
Martin Braun
b391996eca
uhd: Registered sc12 as type
2014-04-10 21:01:50 +02:00
Ben Hilburn
178ac3f1c9
Merging USRP X300 and X310 support!!
2014-02-04 11:04:07 -08:00
Ben Hilburn
51de21efd7
Merge of mwest's fix to the sse2_fc32_to_sc16 converter.
2013-12-11 18:01:41 -08:00
Ben Hilburn
9e47ad607b
Squashed merge of Coverity fixes.
2013-11-27 12:11:23 -08:00
Johannes Demel
c6657b831d
sc12: fixed byte alignment issue
2013-11-19 12:00:40 -08:00
Josh Blum
2d4c77489f
convert: added sc12 and fc32 converters
2013-08-28 17:07:36 -07:00
Josh Blum
9f993843e5
convert: sc8 swap for vita compliance
2013-08-28 17:07:07 -07:00
Josh Blum
31b23a1901
orc: added std cmake finder script for orc
2013-03-29 10:42:30 -07:00
Josh Blum
3122bff9c2
convert: add sc8 host to/from sc8 wire format
2012-06-12 09:48:20 -07:00
Josh Blum
c0a9d1c71c
convert: applied sc8 signed convert fix
2012-05-10 00:15:07 -07:00
Josh Blum
4fa889c4f9
convert: some platform specific fixes
...
neon: missing header
windows: shuffle needs to be deemed "constant expression",
fixed with a template parameter.
2012-05-09 23:54:03 -07:00
Josh Blum
4c244c78a7
convert: squashed converter and sse2 work
2012-05-09 23:54:03 -07:00
Josh Blum
58bebf5511
Merge branch 'maint'
2012-05-09 23:39:52 -07:00
Josh Blum
8a98d68933
convert: fixed sc8 convert issue w/ undefined behaviour
...
Its important to use a signed cast when converting float to int.
Then assign that signed int to an unsigned type of the same width.
Its undefined behaviour when converting a negative float to an unsigned int.
2012-05-08 14:14:21 -07:00
Josh Blum
6b2e4ef52d
convert: added prio param to get converter
...
We can now test generic conversion implementations against SIMD (for example)
2012-04-27 16:19:49 -07:00
Josh Blum
b221b3e34d
convert: give SIMD conversions prio over table
...
given performance benchmarks involving the converter,
when the driver is also doing other things
sc8 conversions will still involve tables since
no SIMD implementations exist yet
2012-04-16 16:49:06 -07:00
Josh Blum
a58ee6e29a
uhd: fix sc16 to sc8 conversion table
...
1) this was registered as the sc8 to sc16 converter,
probably messed that up as well
2) the cast to index was wrong, now unit test passes
2012-02-29 09:52:46 -08:00
Josh Blum
3ddbcb6078
Merge branch 'next'
2012-02-17 18:18:26 -08:00
Josh Blum
1fab7e9d47
usrp1: big endian compile fix, conversion should cast to unsigned
...
The htonx only takes unsigned integers, cast the int16 to uint16.
2012-02-12 14:51:03 -08:00
Josh Blum
b6da2fe9af
uhd: fixed sse2 conversion fc32 to sc8_item32_be
2012-02-09 17:06:37 -08:00
Josh Blum
4044a9eeb6
uhd: fixed orc conversion fc32 to sc8_item32_be
2012-02-09 16:54:08 -08:00
Josh Blum
cfba2388ce
uhd: added sse2 conversions for fc32 to sc8
2012-02-08 23:01:46 -08:00
Josh Blum
d466847109
uhd: added sse2 conversions for fc64 to sc8
2012-02-08 19:22:38 -08:00
Nick Foster
52a1057237
Add Orc functions to convert to sc8. bswap version is a bit of a hack.
2012-02-08 13:50:54 -08:00
Josh Blum
893af3dc28
uhd: added sc8 conversion tests
2012-02-07 11:59:42 -08:00
Josh Blum
d46c176af3
dsp rework: tx trailer, scaling work (peak)
2012-01-31 14:56:31 -08:00
Josh Blum
72359ea158
uhd: implement convert_sc8to_sc16 table w/ scalar
2012-01-31 14:56:31 -08:00
Josh Blum
eb11b05298
convert: added generic conversion for sc8 wire -> sc8 host
2011-11-15 09:32:05 -08:00
Josh Blum
aed619727e
convert: move priorities to implementation, different for arm
2011-11-15 06:12:28 +00:00
Josh Blum
986f6f8d0b
convert: msvc warning fixes for sc8 table gen
2011-11-13 17:22:49 -08:00
Josh Blum
7a1bd6135a
uhd: fixed sc8 table conversion, and simplified shifts
2011-11-13 17:11:15 -08:00
Josh Blum
ff49029e39
convert: added table conversion routines for sc8
2011-11-12 17:13:13 -08:00
Josh Blum
4c5db96c36
convert: simplify table conversion with templates
2011-11-12 16:52:03 -08:00
Josh Blum
f31afff6dd
convert: added table conversion routine for sc16 to floats
2011-11-12 16:33:26 -08:00
Josh Blum
dd78230894
convert: made conversion functions into classes so they can keep state
2011-11-12 15:45:52 -08:00
Josh Blum
b0834fff86
uhd: convert should use register_bytes_per_item
2011-11-11 09:43:08 -08:00
Josh Blum
d28e3ac765
uhd: dont pass 0 sample buffs to converter (avoid segfaults)
2011-11-07 16:34:13 -08:00
Josh Blum
9295717569
uhd: added converter for item32 as cpu type
2011-11-03 20:37:12 -07:00
Josh Blum
00b6d8359d
uhd: added trailer parsing for occupancy
2011-11-03 20:37:12 -07:00
Josh Blum
522bc87d9f
uhd: fixed 8sc item32 converter on head/tail cases
2011-11-03 20:37:12 -07:00
Josh Blum
c885da1138
uhd: renamed convert markup to format
...
removed convert args
added simd level
got orc and neon updated
2011-11-03 20:37:12 -07:00
Josh Blum
861e66848f
usrp2: work on alternative OTW formats
2011-11-03 20:37:11 -07:00
Josh Blum
65fb4d2252
usrp1: various tweaks related to streaming
2011-11-03 20:37:11 -07:00
Josh Blum
4c4f0810ef
usrp1: type conversions and 8-bit work
2011-11-03 20:37:11 -07:00
Josh Blum
de17ef4614
usrp1: multi channel receive working
2011-11-03 20:37:11 -07:00
Josh Blum
abed04b3c6
uhd: restored super packet handler functionality
2011-11-03 20:37:10 -07:00