commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 11/43: fec: LDPC cleaning up comments


From: git
Subject: [Commit-gnuradio] [gnuradio] 11/43: fec: LDPC cleaning up comments
Date: Thu, 2 Apr 2015 19:15:50 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit f3024ac8c496b420904fdafdecbdf0bf965e9689
Author: Tim O'Shea <address@hidden>
Date:   Wed Apr 1 10:36:45 2015 -0700

    fec: LDPC cleaning up comments
---
 gr-fec/include/gnuradio/fec/alist.h        | 26 ++++++++++------------
 gr-fec/include/gnuradio/fec/awgn_bp.h      | 26 ++++++++++------------
 gr-fec/include/gnuradio/fec/cldpc.h        | 27 ++++++++---------------
 gr-fec/include/gnuradio/fec/gf2mat.h       | 26 ++++++++--------------
 gr-fec/include/gnuradio/fec/gf2vec.h       | 26 ++++++++--------------
 gr-fec/include/gnuradio/fec/ldpc_decoder.h | 22 +++++++++++++++++++
 gr-fec/include/gnuradio/fec/ldpc_encoder.h | 22 +++++++++++++++++++
 gr-fec/include/gnuradio/fec/maxstar.h      | 35 ++++++++++++++++++++----------
 gr-fec/lib/alist.cc                        | 23 ++++++++------------
 gr-fec/lib/awgn_bp.cc                      | 23 ++++++++------------
 gr-fec/lib/cldpc.cc                        | 23 ++++++++------------
 gr-fec/lib/gf2mat.cc                       | 23 ++++++++------------
 gr-fec/lib/gf2vec.cc                       | 23 ++++++++------------
 gr-fec/lib/ldpc_decoder.cc                 | 28 +++++++++++++++++++-----
 gr-fec/lib/ldpc_encoder.cc                 | 27 ++++++++++++++++++-----
 15 files changed, 207 insertions(+), 173 deletions(-)

diff --git a/gr-fec/include/gnuradio/fec/alist.h 
b/gr-fec/include/gnuradio/fec/alist.h
index f9759f4..85f6a79 100644
--- a/gr-fec/include/gnuradio/fec/alist.h
+++ b/gr-fec/include/gnuradio/fec/alist.h
@@ -1,28 +1,26 @@
-/*!
- * \file
- * \brief Definition of a class to hold sparse matrices in alist-format
- * \author Manu T S
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
  *
- * -----------------------------------------------------------------
+ * This file is part of GNU Radio
  *
- * Copyright 2013 IIT Bombay.
- * 
- * This is free software; you can redistribute it and/or modify
+ * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
- * 
- * This software is distributed in the hope that it will be useful,
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
+ * along with GNU Radio; see the file COPYING.  If not, write to
  * the Free Software Foundation, Inc., 51 Franklin Street,
  * Boston, MA 02110-1301, USA.
- *
- * -----------------------------------------------------------------
+ */
+
+ /* -----------------------------------------------------------------
  *
  * This class handles sparse matrices specified in alist-format.
  * For details about alist format please visit the link below.
diff --git a/gr-fec/include/gnuradio/fec/awgn_bp.h 
b/gr-fec/include/gnuradio/fec/awgn_bp.h
index bffaecf..f420d76 100644
--- a/gr-fec/include/gnuradio/fec/awgn_bp.h
+++ b/gr-fec/include/gnuradio/fec/awgn_bp.h
@@ -1,28 +1,26 @@
-/*!
- * \file
- * \brief Definition of a class for message passing for AWGN channel
- * \author Manu T S
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
  *
- * -----------------------------------------------------------------
+ * This file is part of GNU Radio
  *
- * Copyright 2013 IIT Bombay.
- * 
- * This is free software; you can redistribute it and/or modify
+ * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
- * 
- * This software is distributed in the hope that it will be useful,
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
+ * along with GNU Radio; see the file COPYING.  If not, write to
  * the Free Software Foundation, Inc., 51 Franklin Street,
  * Boston, MA 02110-1301, USA.
- *
- * -----------------------------------------------------------------
+ */
+
+/* -----------------------------------------------------------------
  *
  * This class defines functions for message passing mechanism for a
  * AWGN channel. Message passing (also known as belief propagation)
diff --git a/gr-fec/include/gnuradio/fec/cldpc.h 
b/gr-fec/include/gnuradio/fec/cldpc.h
index 0071fef..6bc7c02 100644
--- a/gr-fec/include/gnuradio/fec/cldpc.h
+++ b/gr-fec/include/gnuradio/fec/cldpc.h
@@ -1,32 +1,23 @@
-/*!
- * \file
- * \brief Definition of a class holding an LDPC code
- * \author Manu T S
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
  *
- * -----------------------------------------------------------------
+ * This file is part of GNU Radio
  *
- * Copyright 2013 IIT Bombay.
- * 
- * This is free software; you can redistribute it and/or modify
+ * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
- * 
- * This software is distributed in the hope that it will be useful,
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
+ * along with GNU Radio; see the file COPYING.  If not, write to
  * the Free Software Foundation, Inc., 51 Franklin Street,
  * Boston, MA 02110-1301, USA.
- *
- * -----------------------------------------------------------------
- *
- * This class defined various functions and variables needed to 
- * implement an LDPC code class.
- *
  */
 
 #ifndef LDPC_H
diff --git a/gr-fec/include/gnuradio/fec/gf2mat.h 
b/gr-fec/include/gnuradio/fec/gf2mat.h
index e1cd3a2..963b208 100644
--- a/gr-fec/include/gnuradio/fec/gf2mat.h
+++ b/gr-fec/include/gnuradio/fec/gf2mat.h
@@ -1,31 +1,23 @@
-/*!
- * \file
- * \brief Definition of a class for GF2 matrix algebra
- * \author Manu T S
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
  *
- * -----------------------------------------------------------------
+ * This file is part of GNU Radio
  *
- * Copyright 2013 IIT Bombay.
- * 
- * This is free software; you can redistribute it and/or modify
+ * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
- * 
- * This software is distributed in the hope that it will be useful,
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
+ * along with GNU Radio; see the file COPYING.  If not, write to
  * the Free Software Foundation, Inc., 51 Franklin Street,
  * Boston, MA 02110-1301, USA.
- *
- * -----------------------------------------------------------------
- *
- * This is a class for handling GF2 matrices. 
- *
  */
 
 #ifndef GF2MAT_H
diff --git a/gr-fec/include/gnuradio/fec/gf2vec.h 
b/gr-fec/include/gnuradio/fec/gf2vec.h
index 729e4d5..1b406c0 100644
--- a/gr-fec/include/gnuradio/fec/gf2vec.h
+++ b/gr-fec/include/gnuradio/fec/gf2vec.h
@@ -1,31 +1,23 @@
-/*!
- * \file
- * \brief Definition of a class for GF2 vector algebra
- * \author Manu T S
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
  *
- * -----------------------------------------------------------------
+ * This file is part of GNU Radio
  *
- * Copyright 2013 IIT Bombay.
- * 
- * This is free software; you can redistribute it and/or modify
+ * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
- * 
- * This software is distributed in the hope that it will be useful,
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
+ * along with GNU Radio; see the file COPYING.  If not, write to
  * the Free Software Foundation, Inc., 51 Franklin Street,
  * Boston, MA 02110-1301, USA.
- *
- * -----------------------------------------------------------------
- *
- * This is a class for handling GF2 vectors. 
- *
  */
 
 #ifndef GF2VEC_H
diff --git a/gr-fec/include/gnuradio/fec/ldpc_decoder.h 
b/gr-fec/include/gnuradio/fec/ldpc_decoder.h
index bd9132c..0f411bd 100644
--- a/gr-fec/include/gnuradio/fec/ldpc_decoder.h
+++ b/gr-fec/include/gnuradio/fec/ldpc_decoder.h
@@ -1,3 +1,25 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
 #ifndef INCLUDED_LDPC_DECODER_H
 #define INCLUDED_LDPC_DECODER_H
 
diff --git a/gr-fec/include/gnuradio/fec/ldpc_encoder.h 
b/gr-fec/include/gnuradio/fec/ldpc_encoder.h
index 359f3c3..0498430 100755
--- a/gr-fec/include/gnuradio/fec/ldpc_encoder.h
+++ b/gr-fec/include/gnuradio/fec/ldpc_encoder.h
@@ -1,3 +1,25 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
 #ifndef INCLUDED_LDPC_ENCODER_H
 #define INCLUDED_LDPC_ENCODER_H
 
diff --git a/gr-fec/include/gnuradio/fec/maxstar.h 
b/gr-fec/include/gnuradio/fec/maxstar.h
index bbebc39..f226550 100644
--- a/gr-fec/include/gnuradio/fec/maxstar.h
+++ b/gr-fec/include/gnuradio/fec/maxstar.h
@@ -1,3 +1,25 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
 /* File maxstar.h
 
    Description: Performs the max* operations (Jacobian logarithm) defined as:
@@ -19,8 +41,6 @@
          delta1 = T] he first argument (i.e. x) of max*(x,y)
          delta2 = The second argument (i.e. y) of max*(x,y)
 
-   Copyright (C) 2005, Matthew C. Valenti
-
    Functions max_star0, max_star1, max_star2, max_star3, and max_star4
    are part of the Iterative Solutions Coded Modulation Library
    The Iterative Solutions Coded Modulation Library is free software;
@@ -29,15 +49,6 @@
    Free Software Foundation; either version 2.1 of the License, 
    or (at your option) any later version.
 
-   This library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-  
-   You should have received a copy of the GNU Lesser General Public
-   License along with this library; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
 */
 
 #ifndef INCLUDED_FECAPI_MAXSTAR_H
@@ -85,4 +96,4 @@
 #define AJIAN -0.24904163195436
 #define TJIAN 2.50681740420944
 
-#endif
\ No newline at end of file
+#endif
diff --git a/gr-fec/lib/alist.cc b/gr-fec/lib/alist.cc
index c644023..ac7cb33 100644
--- a/gr-fec/lib/alist.cc
+++ b/gr-fec/lib/alist.cc
@@ -1,28 +1,23 @@
-/*!
- * \file
- * \brief Implementation of a class to hold sparse matrices in alist-format
- * \author Manu T S
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
  *
- * -----------------------------------------------------------------
+ * This file is part of GNU Radio
  *
- * Copyright 2013 IIT Bombay.
- * 
- * This is free software; you can redistribute it and/or modify
+ * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
- * 
- * This software is distributed in the hope that it will be useful,
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
+ * along with GNU Radio; see the file COPYING.  If not, write to
  * the Free Software Foundation, Inc., 51 Franklin Street,
  * Boston, MA 02110-1301, USA.
- *
- * -----------------------------------------------------------------
  */
 
 #include <gnuradio/fec/alist.h>
diff --git a/gr-fec/lib/awgn_bp.cc b/gr-fec/lib/awgn_bp.cc
index eaa0c39..66a50c0 100644
--- a/gr-fec/lib/awgn_bp.cc
+++ b/gr-fec/lib/awgn_bp.cc
@@ -1,28 +1,23 @@
-/*!
- * \file
- * \brief Implementation of a class for message passing for AWGN channel
- * \author Manu T S
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
  *
- * -----------------------------------------------------------------
+ * This file is part of GNU Radio
  *
- * Copyright 2013 IIT Bombay.
- * 
- * This is free software; you can redistribute it and/or modify
+ * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
- * 
- * This software is distributed in the hope that it will be useful,
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
+ * along with GNU Radio; see the file COPYING.  If not, write to
  * the Free Software Foundation, Inc., 51 Franklin Street,
  * Boston, MA 02110-1301, USA.
- *
- * -----------------------------------------------------------------
  */
 
 #include <gnuradio/fec/awgn_bp.h>
diff --git a/gr-fec/lib/cldpc.cc b/gr-fec/lib/cldpc.cc
index 90996ab..df7be90 100644
--- a/gr-fec/lib/cldpc.cc
+++ b/gr-fec/lib/cldpc.cc
@@ -1,28 +1,23 @@
-/*!
- * \file
- * \brief Implementation of a class holding an LDPC code
- * \author Manu T S
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
  *
- * -----------------------------------------------------------------
+ * This file is part of GNU Radio
  *
- * Copyright 2013 IIT Bombay.
- * 
- * This is free software; you can redistribute it and/or modify
+ * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
- * 
- * This software is distributed in the hope that it will be useful,
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
+ * along with GNU Radio; see the file COPYING.  If not, write to
  * the Free Software Foundation, Inc., 51 Franklin Street,
  * Boston, MA 02110-1301, USA.
- *
- * -----------------------------------------------------------------
  */
 
 #include <gnuradio/fec/cldpc.h>
diff --git a/gr-fec/lib/gf2mat.cc b/gr-fec/lib/gf2mat.cc
index 5789d71..87cb300 100644
--- a/gr-fec/lib/gf2mat.cc
+++ b/gr-fec/lib/gf2mat.cc
@@ -1,28 +1,23 @@
-/*!
- * \file
- * \brief Implementation of a class for GF2 matrix algebra
- * \author Manu T S
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
  *
- * -----------------------------------------------------------------
+ * This file is part of GNU Radio
  *
- * Copyright 2013 IIT Bombay.
- * 
- * This is free software; you can redistribute it and/or modify
+ * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
- * 
- * This software is distributed in the hope that it will be useful,
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
+ * along with GNU Radio; see the file COPYING.  If not, write to
  * the Free Software Foundation, Inc., 51 Franklin Street,
  * Boston, MA 02110-1301, USA.
- *
- * -----------------------------------------------------------------
  */
 
 #include <gnuradio/fec/gf2mat.h>
diff --git a/gr-fec/lib/gf2vec.cc b/gr-fec/lib/gf2vec.cc
index f8e7c93..464bf6a 100644
--- a/gr-fec/lib/gf2vec.cc
+++ b/gr-fec/lib/gf2vec.cc
@@ -1,28 +1,23 @@
-/*!
- * \file
- * \brief Implementation of a class for GF2 vector algebra
- * \author Manu T S
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
  *
- * -----------------------------------------------------------------
+ * This file is part of GNU Radio
  *
- * Copyright 2013 IIT Bombay.
- * 
- * This is free software; you can redistribute it and/or modify
+ * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
- * 
- * This software is distributed in the hope that it will be useful,
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
+ * along with GNU Radio; see the file COPYING.  If not, write to
  * the Free Software Foundation, Inc., 51 Franklin Street,
  * Boston, MA 02110-1301, USA.
- *
- * -----------------------------------------------------------------
  */
 
 #include <gnuradio/fec/gf2vec.h>
diff --git a/gr-fec/lib/ldpc_decoder.cc b/gr-fec/lib/ldpc_decoder.cc
index d33bee7..b7aae0b 100644
--- a/gr-fec/lib/ldpc_decoder.cc
+++ b/gr-fec/lib/ldpc_decoder.cc
@@ -1,19 +1,35 @@
-#include <gnuradio/fec/ldpc_decoder.h>
-//#include <debug_macros.h>
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
 
+#include <gnuradio/fec/ldpc_decoder.h>
 #include <math.h>
 #include <boost/assign/list_of.hpp>
-//#include <volk_typedefs.h>
 #include <volk/volk.h>
 #include <sstream>
 #include <stdio.h>
 #include <vector>
 #include <gnuradio/fec/decoder.h>
-//#include <cc_common.h>
-
 #include <algorithm>            // for std::reverse
 #include <string.h>             // for memcpy
-
 #include <gnuradio/fec/maxstar.h>
 
 
diff --git a/gr-fec/lib/ldpc_encoder.cc b/gr-fec/lib/ldpc_encoder.cc
index 2cb38aa..0385dc8 100755
--- a/gr-fec/lib/ldpc_encoder.cc
+++ b/gr-fec/lib/ldpc_encoder.cc
@@ -1,15 +1,32 @@
-#include <gnuradio/fec/ldpc_encoder.h>
-//#include <debug_macros.h>
+/* -*- c++ -*- */
+/*
+ * Copyright 2015 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
 
+#include <gnuradio/fec/ldpc_encoder.h>
 #include <math.h>
 #include <boost/assign/list_of.hpp>
-//#include <volk_typedefs.h>
 #include <volk/volk.h>
 #include <sstream>
 #include <stdio.h>
 #include <vector>
-//#include <cc_common.h>
-
 #include <algorithm>            // for std::reverse
 #include <string.h>             // for memcpy
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]