GNU Radio 3.7.1-34 C++ API
decode_ccsds_27_fb.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2012 Free Software Foundation, Inc.
4
*
5
* This file is part of GNU Radio
6
*
7
* GNU Radio is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 3, or (at your option)
10
* any later version.
11
*
12
* GNU Radio is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with GNU Radio; see the file COPYING. If not, write to
19
* the Free Software Foundation, Inc., 51 Franklin Street,
20
* Boston, MA 02110-1301, USA.
21
*/
22
23
#ifndef INCLUDED_FEC_DECODE_CCSDS_27_FB_H
24
#define INCLUDED_FEC_DECODE_CCSDS_27_FB_H
25
26
#include <
gnuradio/fec/api.h
>
27
#include <
gnuradio/sync_decimator.h
>
28
29
namespace
gr {
30
namespace
fec {
31
32
/*! \brief A rate 1/2, k=7 convolutional decoder for the CCSDS standard
33
* \ingroup error_coding_blk
34
*
35
* \details
36
* This block performs soft-decision convolutional decoding using the Viterbi
37
* algorithm.
38
*
39
* The input is a stream of (possibly noise corrupted) floating point values
40
* nominally spanning [-1.0, 1.0], representing the encoded channel symbols
41
* 0 (-1.0) and 1 (1.0), with erased symbols at 0.0.
42
*
43
* The output is MSB first packed bytes of decoded values.
44
*
45
* As a rate 1/2 code, there will be one output byte for every 16 input symbols.
46
*
47
* This block is designed for continuous data streaming, not packetized data.
48
* The first 32 bits out will be zeroes, with the output delayed four bytes
49
* from the corresponding inputs.
50
*/
51
52
class
FEC_API
decode_ccsds_27_fb
:
virtual
public
sync_decimator
53
{
54
public
:
55
56
// gr::fec::decode_ccsds_27_fb::sptr
57
typedef
boost::shared_ptr<decode_ccsds_27_fb>
sptr
;
58
59
static
sptr
make();
60
};
61
62
}
/* namespace fec */
63
}
/* namespace gr */
64
65
#endif
/* INCLUDED_FEC_DECODE_CCSDS_27_FB_H */
gnuradio
gr-fec
include
gnuradio
fec
decode_ccsds_27_fb.h
Generated by
1.8.1.2