diff options
author | anastas | 2006-08-11 10:27:46 +0000 |
---|---|---|
committer | anastas | 2006-08-11 10:27:46 +0000 |
commit | 8e8f22dda66b63ee58a25f1052cd197779f164dc (patch) | |
tree | c4c317c44a7c2984f846f54153a3470656f69e9e /gr-trellis/src/lib/trellis_metrics_f.cc | |
parent | 954e2976e43507479e0bc5d1526e555627117125 (diff) | |
download | gnuradio-8e8f22dda66b63ee58a25f1052cd197779f164dc.tar.gz gnuradio-8e8f22dda66b63ee58a25f1052cd197779f164dc.tar.bz2 gnuradio-8e8f22dda66b63ee58a25f1052cd197779f164dc.zip |
Added support for concatenated codes
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3234 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-trellis/src/lib/trellis_metrics_f.cc')
-rw-r--r-- | gr-trellis/src/lib/trellis_metrics_f.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gr-trellis/src/lib/trellis_metrics_f.cc b/gr-trellis/src/lib/trellis_metrics_f.cc index 472ec5942..2e148bbd5 100644 --- a/gr-trellis/src/lib/trellis_metrics_f.cc +++ b/gr-trellis/src/lib/trellis_metrics_f.cc @@ -83,7 +83,11 @@ for (int m=0;m<nstreams;m++) { float *out = (float *) output_items[m]; for (int i = 0; i < noutput_items / d_O ; i++){ -#if 1 +#if 0 + calc_metric_s(d_O, d_D, d_TABLE,&(in[i*d_D]),&(out[i*d_O]), d_TYPE); +#elif 0 + calc_metric_i(d_O, d_D, d_TABLE,&(in[i*d_D]),&(out[i*d_O]), d_TYPE); +#elif 1 calc_metric_f(d_O, d_D, d_TABLE,&(in[i*d_D]),&(out[i*d_O]), d_TYPE); #elif 0 calc_metric_c(d_O, d_D, d_TABLE,&(in[i*d_D]),&(out[i*d_O]), d_TYPE); |