C# Class ModernQR.Ecc.ReedSolomon

Exibir arquivo Open project: jgable/ModernQR

Public Methods

Method Description
ReedSolomon ( int source, int NPAR ) : System
correct ( ) : void

Private Methods

Method Description
Find_Roots ( ) : void
Modified_Berlekamp_Massey ( ) : void
add_polys ( int dst, int src ) : void

******* polynomial arithmetic ******************

compute_discrepancy ( int lambda, int S, int L, int n ) : int
compute_modified_omega ( ) : void
compute_next_omega ( int d, int A, int dst, int src ) : void
copy_poly ( int dst, int src ) : void
correct_errors_erasures ( int codeword, int csize, int nerasures, int erasures ) : bool
decode_data ( int data ) : void
ginv ( int elt ) : int
gmult ( int a, int b ) : int
init_gamma ( int gamma ) : void
initializeGaloisTables ( ) : void
mul_z_poly ( int src ) : void
mult_polys ( int dst, int p1, int p2 ) : void
scale_poly ( int k, int poly ) : void
zero_poly ( int poly ) : void

Method Details

ReedSolomon() public method

public ReedSolomon ( int source, int NPAR ) : System
source int
NPAR int
return System

correct() public method

public correct ( ) : void
return void