MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / MakeEncoderMatrix

Method MakeEncoderMatrix

Libraries/unrar/rs16.cpp:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116
117void RSCoder16::MakeEncoderMatrix()
118{
119 // Create Cauchy encoder generator matrix. Skip trivial "1" diagonal rows,
120 // which would just copy source data to destination.
121 for (uint I = 0; I < NR; I++)
122 for (uint J = 0; J < ND; J++)
123 MX[I * ND + J] = gfInv( gfAdd( (I+ND), J) );
124}
125
126
127void RSCoder16::MakeDecoderMatrix()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected