PHP QrCode Liblary  2.0
 All Classes Functions Variables Groups Pages
Static Public Member Functions | Static Public Attributes | List of all members
QRrs Class Reference

Reed-Solomon encoder. More...

Static Public Member Functions

static init_rs ($symsize, $gfpoly, $fcr, $prim, $nroots, $pad)
 Encoder initialisation. More...
 

Static Public Attributes

static $items = array()
 Encoder items array.
 

Detailed Description

Reed-Solomon encoder.

Member Function Documentation

static QRrs::init_rs (   $symsize,
  $gfpoly,
  $fcr,
  $prim,
  $nroots,
  $pad 
)
static

Encoder initialisation.

Parameters
Integer$symsizesymbol size, bit count (1..8)
Integer$gfpolyGalois Field Polynomial
Integer$fcrFirst consecutive root
Integer$primPrimitive element
Integer$nrootsNumber of generator roots = number of parity symbols
Integer$padPadding bytes in shortened block

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