diff options
Diffstat (limited to 'gr-trellis/src/lib/trellis_sccc_decoder_combined_XX.h.t')
-rw-r--r-- | gr-trellis/src/lib/trellis_sccc_decoder_combined_XX.h.t | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gr-trellis/src/lib/trellis_sccc_decoder_combined_XX.h.t b/gr-trellis/src/lib/trellis_sccc_decoder_combined_XX.h.t index e878c4d6e..146c26516 100644 --- a/gr-trellis/src/lib/trellis_sccc_decoder_combined_XX.h.t +++ b/gr-trellis/src/lib/trellis_sccc_decoder_combined_XX.h.t @@ -44,7 +44,8 @@ typedef boost::shared_ptr<@NAME@> @SPTR_NAME@; trellis_siso_type_t SISO_TYPE, // perform "min-sum" or "sum-product" combining int D, const std::vector<@I_TYPE@> &TABLE, - trellis_metric_type_t METRIC_TYPE + trellis_metric_type_t METRIC_TYPE, + float scaling ); @@ -66,6 +67,7 @@ class @NAME@ : public gr_block int d_D; std::vector<@I_TYPE@> d_TABLE; trellis_metric_type_t d_METRIC_TYPE; + float d_scaling; std::vector<float> d_buffer; friend @SPTR_NAME@ trellis_make_@BASE_NAME@ ( @@ -77,7 +79,8 @@ class @NAME@ : public gr_block trellis_siso_type_t SISO_TYPE, int D, const std::vector<@I_TYPE@> &TABLE, - trellis_metric_type_t METRIC_TYPE + trellis_metric_type_t METRIC_TYPE, + float scaling ); @NAME@ ( @@ -89,7 +92,8 @@ class @NAME@ : public gr_block trellis_siso_type_t SISO_TYPE, int D, const std::vector<@I_TYPE@> &TABLE, - trellis_metric_type_t METRIC_TYPE + trellis_metric_type_t METRIC_TYPE, + float scaling ); public: @@ -106,6 +110,8 @@ public: std::vector<@I_TYPE@> TABLE () const { return d_TABLE; } trellis_metric_type_t METRIC_TYPE () const { return d_METRIC_TYPE; } trellis_siso_type_t SISO_TYPE () const { return d_SISO_TYPE; } + float scaling () const { return d_scaling; } + void set_scaling (float scaling); void forecast (int noutput_items, gr_vector_int &ninput_items_required); |