libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
Loading...
Searching...
No Matches
rs_context Struct Reference

Data Fields

uint16_t K
 Number of data shards.
uint16_t M
 Number of parity shards.
uint8_t * gen
 Generator matrix: M rows x K columns (row-major).
uint8_t * coding
 Full coding matrix: (K+M) rows x K columns.

Detailed Description

Definition at line 43 of file reed_solomon.c.

Field Documentation

◆ coding

uint8_t* rs_context::coding

Full coding matrix: (K+M) rows x K columns.

Definition at line 48 of file reed_solomon.c.

Referenced by rs_create(), rs_decode(), and rs_free().

◆ gen

uint8_t* rs_context::gen

Generator matrix: M rows x K columns (row-major).

Definition at line 47 of file reed_solomon.c.

Referenced by rs_create(), and rs_get_coefficient().

◆ K

uint16_t rs_context::K

Number of data shards.

Definition at line 45 of file reed_solomon.c.

Referenced by rs_create(), rs_decode(), and rs_get_coefficient().

◆ M

uint16_t rs_context::M

Number of parity shards.

Definition at line 46 of file reed_solomon.c.

Referenced by rs_create(), and rs_decode().


The documentation for this struct was generated from the following file: