root/experimental/components/ReedSolomon/trunk/ReedSolomon/documentation.txt @ 5296

Revision 5296, 3.2 KB (checked in by caguayog, 6 years ago)

Adding documentation

Line 
1/****************************************************************************
2
3Copyright 2007 Virginia Polytechnic Institute and State University
4
5This file is part of the OSSIE RS_Encoder_char.
6
7OSSIE RS_Encoder_char is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2 of the License, or
10(at your option) any later version.
11
12OSSIE RS_Encoder_char is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with OSSIE RS_Encoder_char; if not, write to the Free Software
19Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20
21****************************************************************************/
22
23/*! \mainpage RS_Codec_char
24
25\section description Basic description
26These functions implement Reed-Solomon error control encoding and decoding.
27
28The functions take unsigned char arrays and can handle codes with symbols
29of 8 bits or less (i.e., with codewords of 255 symbols or less).
30
31They are implemented using code from http://www.ka9q.net/code/fec/
32
33\section properties Properties
34This section details the properties
35
36\subsection Symbol_Size SymSize (DCE:65f8707e-769f-11dc-9fa3-0015c55120b9)
37The symbol size in bits, up to 8. The resulting Reed-Solomon code word will
38have 2^SymSize - 1 symbols. The codeword may be shortened with the padding
39property described below. The default value is 8.
40
41\subsection Generator_polynomial GenPoly (DCE:341d1c94-769f-11dc-90a1-0015c55120b9)
42the extended Galois field generator polynomial coefficients with the 0th
43coefficient in the low order bit. The polynomial must be primitive.
44Default value is 0x187 (x^8 + x^7 + x^2 + x + 1)
45
46\subsection F_C_R FCR (DCE:046586a8-769f-11dc-8235-0015c55120b9)
47The first consecutive root of the Reed Solomon code generator polynomial.
48Default value is 112.
49
50\subsection primitive Primitive (DCE:e20771a2-769e-11dc-a9a6-0015c55120b9)
51The primitive element in the Galois field, in index form, used to generate the
52Reed Solomon code generator polynomial. Default value is 11.
53
54\subsection number_roots nRoots (DCE:c4ee9424-769e-11dc-8471-0015c55120b9)
55The number of roots in the Reed Solomon code
56generator polynomial. This equals the number of parity symbols
57per code block. Default value is 32.
58
59\subsection padding Padding (DCE:b14f7b72-769e-11dc-9508-0015c55120b9)
60Gives the number of leading symbols in the codeword
61that are implicitly padded to zero in a shortened code block.
62Default value is 0.
63
64The resulting Reed-Solomon code has parameters (N,K), where
65N = 2^\fBsymsize\fR - \fBpad\fR - 1 and K = N-\fBnroots\fR.
66
67
68\section interfaces Interfaces
69
70\subsection port_portName Port: "portName"
71There is a description for each port
72
73\section dependencies Software build dependencies
74  - Dependency 1
75  - Dependency 2
76
77\section algorithm Detailed Description of Algorithm
78
79\section status Status and history
80
81\section references References
82http://www.ka9q.net/code/fec/
83*/
Note: See TracBrowser for help on using the browser.