Reed-Solomon Library Programming Interface

Thomas Gleixner

      
     


Table of Contents
Introduction
Known Bugs And Assumptions
Usage
Initializing
Encoding
Decoding
Decoding with syndrome calculation, direct data correction
Decoding with syndrome given by hardware decoder, direct data correction
Decoding with syndrome given by hardware decoder, no direct data correction.
Cleanup
Structures
struct rs_control --  rs control structure
Public Functions Provided
free_rs --  Free the rs control structure, if its not longer used
init_rs --  Find a matching or allocate a new rs control structure
encode_rs8 --  Calculate the parity for data values (8bit data width)
decode_rs8 --  Decode codeword (8bit data width)
encode_rs16 --  Calculate the parity for data values (16bit data width)
decode_rs16 --  Decode codeword (16bit data width)
Credits