|
GNU Radio's DSD Package
|
Go to the source code of this file.
Functions | |
| int | check_and_fix_golay_24_6 (char *hex, char *parity, int *fixed_errors) |
| int | check_and_fix_golay_24_12 (char *dodeca, char *parity, int *fixed_errors) |
| void | encode_golay_24_6 (char *hex, char *out_parity) |
| void | encode_golay_24_12 (char *dodeca, char *out_parity) |
| int | check_and_fix_redsolomon_36_20_17 (char *data, char *parity) |
| void | encode_reedsolomon_36_20_17 (char *hex_data, char *fixed_parity) |
| int check_and_fix_golay_24_12 | ( | char * | dodeca, |
| char * | parity, | ||
| int * | fixed_errors ) |
Attempts to correct a 12-bit word using the Golay(24,12,8) FEC.
| dodeca | The 12-bit word to error correct, given as a char array of 12 elements, one bit each. |
| parity | A 12-bit word with the Golay parity data, given as a char array of 12 elements. |
| fixed_error | Output. Filled with the number of errors fixed in the input. |
References check_and_fix_golay_24_12().
Referenced by check_and_fix_golay_24_12().
| int check_and_fix_golay_24_6 | ( | char * | hex, |
| char * | parity, | ||
| int * | fixed_errors ) |
Attempts to correct an hex (6-bit) word using the Golay(24,12,8) FEC.
| hex | The 6-bit word to error correct, given as a char array of 6 elements, one bit each. |
| parity | A 12-bit word with the Golay parity data, given as a char array of 12 elements. |
| fixed_error | Output. Filled with the number of errors fixed in the input. |
References check_and_fix_golay_24_6().
Referenced by check_and_fix_golay_24_6().
| int check_and_fix_redsolomon_36_20_17 | ( | char * | data, |
| char * | parity ) |
Attempts to correct 20 hex words using the Reed-Solomon(36,20,17) FEC.
| data | The packed hex words, each of 6 chars, one after the other. |
| parity | The corresponding 16 hex words with the parity information. |
References check_and_fix_redsolomon_36_20_17().
Referenced by check_and_fix_redsolomon_36_20_17().
| void encode_golay_24_12 | ( | char * | dodeca, |
| char * | out_parity ) |
Encodes an 12-bitword using the Golay(24,12,8) FEC.
| dodeca | A 12-bit word to encode. |
| out_parity | The address to be filled with the calculated Golay parity. |
References encode_golay_24_12().
Referenced by encode_golay_24_12().
| void encode_golay_24_6 | ( | char * | hex, |
| char * | out_parity ) |
Encodes an hex word using the Golay(24,12,8) FEC.
| hex | A 6-bit word to encode. |
| out_parity | The address to be filled with the calculated Golay parity. |
References encode_golay_24_6().
Referenced by encode_golay_24_6().
| void encode_reedsolomon_36_20_17 | ( | char * | hex_data, |
| char * | fixed_parity ) |
Calculates the Reed-Solomon parity of 20 words of 6 bits each.
| hex_data | The address with the words whose parity we want to calculate. |
| fixed_parity | The address to be filled with the calculated parity. 16 words of 6 bits are produced. |
References encode_reedsolomon_36_20_17().
Referenced by encode_reedsolomon_36_20_17().