projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
audiod: Deprecate the --no_default_filters option.
[paraslash.git]
/
fec.h
diff --git
a/fec.h
b/fec.h
index 241cf9a48a46623813531b6bfb07a10597b4404d..d09b035d89e02401227d69a377b3e6ecc2f52d25 100644
(file)
--- a/
fec.h
+++ b/
fec.h
@@
-1,5
+1,6
@@
+/** \file fec.h Exported symbols from fec.c. */
+
/*
/*
- * fec.c -- forward error correction based on Vandermonde matrices
* 980614
* (C) 1997-98 Luigi Rizzo (luigi@iet.unipi.it)
*
* 980614
* (C) 1997-98 Luigi Rizzo (luigi@iet.unipi.it)
*
@@
-32,8
+33,10
@@
* OF SUCH DAMAGE.
*/
* OF SUCH DAMAGE.
*/
-#define FEC_MAGIC 0xFECC0DEC
+/** Each FEC slice contains a FEC header of this size. */
#define FEC_HEADER_SIZE 32
#define FEC_HEADER_SIZE 32
+/** The FEC header starts with this magic value. */
+#define FEC_MAGIC 0xFECC0DEC
struct fec_parms;
struct fec_parms;
@@
-43,5
+46,3
@@
void fec_encode(struct fec_parms *parms, const unsigned char * const *src,
unsigned char *dst, int idx, int sz);
int fec_decode(struct fec_parms *parms, unsigned char **data, int *idx,
int sz);
unsigned char *dst, int idx, int sz);
int fec_decode(struct fec_parms *parms, unsigned char **data, int *idx,
int sz);
-
-