GNU Radio 3.7.2.1-77 C++ API
|
Convert stream of complex to a stream of interleaved shorts. More...
#include <gnuradio/blocks/complex_to_interleaved_short.h>
Public Types | |
typedef boost::shared_ptr < complex_to_interleaved_short > | sptr |
Static Public Member Functions | |
static sptr | make () |
Additional Inherited Members | |
![]() | |
unsigned | interpolation () const |
void | set_interpolation (unsigned interpolation) |
void | forecast (int noutput_items, gr_vector_int &ninput_items_required) |
Estimate input requirements given output request. More... | |
int | general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
compute output items from input items More... | |
int | fixed_rate_ninput_to_noutput (int ninput) |
Given ninput samples, return number of output samples that will be produced. N.B. this is only defined if fixed_rate returns true. Generally speaking, you don't need to override this. More... | |
int | fixed_rate_noutput_to_ninput (int noutput) |
Given noutput samples, return number of input samples required to produce noutput. N.B. this is only defined if fixed_rate returns true. Generally speaking, you don't need to override this. More... | |
![]() | |
enum | vcolor { WHITE, GREY, BLACK } |
![]() | |
sync_interpolator (void) | |
sync_interpolator (const std::string &name, gr::io_signature::sptr input_signature, gr::io_signature::sptr output_signature, unsigned interpolation) | |
![]() | |
std::vector< long > | d_max_output_buffer |
std::vector< long > | d_min_output_buffer |
gr::thread::mutex | d_setlock |
gr::logger_ptr | d_logger |
gr::logger_ptr | d_debug_logger |
Convert stream of complex to a stream of interleaved shorts.
The output stream contains shorts with twice as many output items as input items. For every complex input item, we produce two output shorts that contain the real part and imaginary part converted to shorts:
typedef boost::shared_ptr<complex_to_interleaved_short> gr::blocks::complex_to_interleaved_short::sptr |
|
static |
Build a complex to interleaved shorts block.