summaryrefslogtreecommitdiff
path: root/gr-trellis/src/lib/trellis_metrics_f.cc
diff options
context:
space:
mode:
authoranastas2006-08-11 10:27:46 +0000
committeranastas2006-08-11 10:27:46 +0000
commit8e8f22dda66b63ee58a25f1052cd197779f164dc (patch)
treec4c317c44a7c2984f846f54153a3470656f69e9e /gr-trellis/src/lib/trellis_metrics_f.cc
parent954e2976e43507479e0bc5d1526e555627117125 (diff)
downloadgnuradio-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.cc6
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);