|  | libgpac
    Documentation of the core library of GPAC | 
 This graph shows which files directly or indirectly include this file:
 This graph shows which files directly or indirectly include this file:| Macros | |
| #define | NPAR 64 | 
| #define | TRUE 1 | 
| #define | FALSE 0 | 
| #define | MAXDEG (NPAR*2) | 
| Typedefs | |
| typedef unsigned long | BIT32 | 
| typedef unsigned short | BIT16 | 
| Functions | |
| void | initialize_ecc (void) | 
| int | check_syndrome (void) | 
| void | decode_data (unsigned char data[], int nbytes) | 
| void | encode_data (unsigned char msg[], int nbytes, unsigned char dst[]) | 
| void | init_galois_tables (void) | 
| int | ginv (int elt) | 
| int | gmult (int a, int b) | 
| int | correct_errors_erasures (unsigned char codeword[], int csize, int nerasures, int erasures[]) | 
| void | add_polys (int dst[], int src[]) | 
| void | scale_poly (int k, int poly[]) | 
| void | mult_polys (int dst[], int p1[], int p2[]) | 
| void | copy_poly (int dst[], int src[]) | 
| void | zero_poly (int poly[]) | 
| Variables | |
| int | pBytes [MAXDEG] | 
| int | synBytes [MAXDEG] | 
| int | RS_DEBUG | 
| int | gexp [] | 
| int | glog [] | 
| #define NPAR 64 | 
| #define TRUE 1 | 
| #define FALSE 0 | 
| #define MAXDEG (NPAR*2) | 
| typedef unsigned long BIT32 | 
| typedef unsigned short BIT16 | 
| void initialize_ecc | ( | void | ) | 
| int check_syndrome | ( | void | ) | 
| void decode_data | ( | unsigned char | data[], | 
| int | nbytes | ||
| ) | 
| void encode_data | ( | unsigned char | msg[], | 
| int | nbytes, | ||
| unsigned char | dst[] | ||
| ) | 
| void init_galois_tables | ( | void | ) | 
| int ginv | ( | int | elt | ) | 
| int gmult | ( | int | a, | 
| int | b | ||
| ) | 
| int correct_errors_erasures | ( | unsigned char | codeword[], | 
| int | csize, | ||
| int | nerasures, | ||
| int | erasures[] | ||
| ) | 
| void add_polys | ( | int | dst[], | 
| int | src[] | ||
| ) | 
| void scale_poly | ( | int | k, | 
| int | poly[] | ||
| ) | 
| void mult_polys | ( | int | dst[], | 
| int | p1[], | ||
| int | p2[] | ||
| ) | 
| void copy_poly | ( | int | dst[], | 
| int | src[] | ||
| ) | 
| void zero_poly | ( | int | poly[] | ) | 
| 
 | extern | 
| 
 | extern | 
| 
 | extern | 
| 
 | extern | 
| 
 | extern |