summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/interleaved_short_array_to_complex.h
Commit message (Collapse)AuthorAgeFilesLines
* gr-blocks: Add scaling option to Complex to/from ishort and icharghostop142020-02-201-25/+0
| | | | | | | | | | | | | | | The existing block combinations of complex-to-ichar/ichar-to-complex and complex-to-ishort/ishort-to-complex was not exposing a scale factor to the UI (it was hard-coded at 1.0) which prevented the blocks from being used with voltage-based inputs and outputs, for example a -127 to 127 byte input would be mapped directly to the same value as a float. The same was true in reverse and there were notes in the code about FIX clipping. Adding the scale factor provides a mechanism for the user to appropriately fix the clipping and scale the conversion correctly. Additional documentation was added to the block yml to provide guidance to users on how to appropriately select the scale factor for their use case, and the default value was set to 1.0 for backward compatibility.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-1/+2
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-2/+2
|
* blocks: added gr::blocks::interleaved_short_to_complexJohnathan Corgan2012-06-271-0/+36