summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/interleaved_short_to_complex_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-301-2/+2
| | | | | | | | | | | | | | First batch of changes: ``` find […] -print0 | xargs -0 sed -i -r '/get_initial_sptr/{:nxt N;/;/!b nxt;s/get_initial_sptr\(\s*new ([^(]+)(.*)\)\)/make_block_sptr<\1>\2)/}' ``` Then: * Back out `sptr_magic.h` edits * Change some `friend` clauses * clang-format the whole thing * Update checksums in the pybind11 bindings files
* interleaved_char/short_to_complex: remove unused private fieldsMarcus Müller2020-04-111-1/+0
|
* gr-blocks: Add scaling option to Complex to/from ishort and icharghostop142020-02-201-9/+15
| | | | | | | | | | | | | | | 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
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-34/+33
|
* Clean-up: Remove unused private variables (Issue #1621, #1622, #1624)andriy gelman2018-04-281-1/+1
|
* Removing trailing/extra whitespaces before release (for master).Tom Rondeau2014-07-071-4/+4
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* blocks: added I/Q swap option to interleaved_short_to_complexBalint Seeber2014-06-131-4/+18
|
* Merge branch 'next' into runtime_pimplJohnathan Corgan2013-05-121-6/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Catches up runtime_pimpl branch with changes on next since the initial branch start. Conflicts: gnuradio-runtime/include/gnuradio/constants.h gnuradio-runtime/include/gnuradio/tags.h gnuradio-runtime/include/gr_block_detail.h gnuradio-runtime/include/gr_buffer.h gnuradio-runtime/lib/CMakeLists.txt gnuradio-runtime/lib/gr_block.cc gnuradio-runtime/lib/gr_block_detail.cc gnuradio-runtime/lib/gr_block_executor.cc gnuradio-runtime/lib/gr_buffer.cc gnuradio-runtime/lib/gr_realtime.cc gr-blocks/lib/interleaved_short_to_complex_impl.cc
| * blocks: interleaved_short_to_complex switch to volk, allow vector short ↵Tim O'Shea2013-04-181-5/+6
| | | | | | | | input option
* | runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-4/+4
|/
* blocks: added gr::blocks::interleaved_short_to_complexJohnathan Corgan2012-06-271-0/+61