-/** \file fec.h Exported symbols from fec.c. */
+/** \file fec.h Exported symbols from fec.c.
+ *
+ * This implementation of forward error correction employs the Reed Solomon
+ * error-correcting code, which is based on Galois field algebra. The algorithm
+ * is implemented in \ref fec.c. The two users are the virtual streaming
+ * system (\ref vss.h), which fec-encodes data chunks before sending them over
+ * the network, and the fecdec filter (\ref fecdec_filter.c), which decodes
+ * fec-encoded chunks and feeds the decoded chunks to the output channel of
+ * the buffer tree node for subordinated buffer tree nodes to process.
+ *
+ * The API is relatively simple as it contains only the few non-static
+ * functions described here. Both the sending and the receiving side first
+ * call \ref fec_new() to obtain a reference to an opaque fec handle. The
+ * virtual streaming system calls \ref fec_encode() while the fecdec filter
+ * calls \ref fec_decode().
+ */
/*
* 980614
* OF SUCH DAMAGE.
*/
-/** Each FEC slice contains a FEC header of this size. */
+/**
+ * Each FEC slice contains a FEC header of this size.
+ *
+ * The value is needed by the virtual streaming system and the fec decoder
+ * implemented in \ref fecdec_filter.c.
+ */
#define FEC_HEADER_SIZE 32
+
/** The FEC header starts with this magic value. */
#define FEC_MAGIC 0xFECC0DEC
<h2> Source code documentation </h2>
<p> Only the C API is documented here. Not shown are files related to the
-build system (makefiles and autoconf related files) and the lopsub suite files
-which contain the descriptions of the command line options. Only non-static
-functions and variables are documented. </p>
+build system (makefiles and autoconf related files) and the lopsub suite
+files which contain the descriptions of the command line options. As a rule,
+only non-static functions and variables are documented. </p>
<h3> Subsystems </h3>