12 #ifndef INCLUDED_BLOCKS_FLOAT_TO_UCHAR_H
13 #define INCLUDED_BLOCKS_FLOAT_TO_UCHAR_H
29 typedef std::shared_ptr<float_to_uchar>
sptr;
38 static sptr make(
size_t vlen = 1,
float scale = 1.0,
float bias = 0.0);
43 virtual float scale()
const = 0;
48 virtual float bias()
const = 0;
53 virtual void set_scale(
float scale) = 0;
58 virtual void set_bias(
float scale) = 0;
std::shared_ptr< float_to_uchar > sptr
Definition: float_to_uchar.h:29
GNU Radio logging wrapper.
Definition: basic_block.h:29
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:25
Convert stream of floats to a stream of unsigned chars.
Definition: float_to_uchar.h:25