Golay(24,12) half-rate forward error-correction code. More...
Golay(24,12) half-rate forward error-correction code.
References: [Lin:2004] Lin, Shu and Costello, Daniel L. Jr., "Error Control Coding," Prentice Hall, New Jersey, 2nd edition, 2004.
Definition in file golay2412.h.
Go to the source code of this file.
Functions | |
void | golay2412_encode (uint32_t _dec_msg_len, unsigned char *_msg_dec, unsigned char *_msg_enc) |
encode block of data using Golay(24,12) encoder More... | |
void | golay2412_decode (uint32_t _dec_msg_len, unsigned char *_msg_enc, unsigned char *_msg_dec) |
decode block of data using Golay(24,12) decoder More... | |
void golay2412_decode | ( | uint32_t | _dec_msg_len, |
unsigned char * | _msg_enc, | ||
unsigned char * | _msg_dec | ||
) |
decode block of data using Golay(24,12) decoder
[in] | _dec_msg_len | decoded message length (number of bytes) |
[in] | _msg_dec | encoded message [size: 1 x 2*_dec_msg_len] |
[in] | _msg_enc | decoded message [size: 1 x _dec_msg_len] |
void golay2412_encode | ( | uint32_t | _dec_msg_len, |
unsigned char * | _msg_dec, | ||
unsigned char * | _msg_enc | ||
) |
encode block of data using Golay(24,12) encoder
[in] | _dec_msg_len | decoded message length (number of bytes) |
[in] | _msg_dec | decoded message [size: 1 x _dec_msg_len] |
[in] | _msg_enc | encoded message [size: 1 x 2*_dec_msg_len] |