Home
last modified time | relevance | path

Searched refs:gfpoly (Results 1 – 2 of 2) sorted by relevance

/plugin/qrcode2/
H A Dphpqrcode.php2298 public $gfpoly; variable in QRrsItem
2312 public static function init_rs_char($symsize, $gfpoly, $fcr, $prim, $nroots, $pad) argument
2349 $sr ^= $gfpoly;
2366 $rs->gfpoly = $gfpoly;
2447 public static function init_rs($symsize, $gfpoly, $fcr, $prim, $nroots, $pad) argument
2453 if($rs->gfpoly != $gfpoly) continue;
2460 $rs = QRrsItem::init_rs_char($symsize, $gfpoly, $fcr, $prim, $nroots, $pad);
/plugin/barcodes/vendor/jucksearm/php-barcode/lib/
H A DQRcode.php2654 * @param $gfpoly (int) Field generator polynomial coefficients
2659 * @return array Array of RS values:<ul><li>mm = Bits per symbol;</li><li>nn = Symbols per block;</li><li>alpha_to = log lookup table array;</li><li>index_of = Antilog lookup table array;</li><li>genpoly = Generator polynomial array;</li><li>nroots = Number of generator;</li><li>roots = number of parity symbols;</li><li>fcr = First consecutive root, index form;</li><li>prim = Primitive element, index form;</li><li>iprim = prim-th root of 1, index form;</li><li>pad = Padding bytes in shortened block;</li><li>gfpoly</ul>.
2661 protected function init_rs($symsize, $gfpoly, $fcr, $prim, $nroots, $pad) { argument
2664 OR ($rs['gfpoly'] != $gfpoly) OR ($rs['fcr'] != $fcr) OR ($rs['prim'] != $prim)) {
2669 $rs = $this->init_rs_char($symsize, $gfpoly, $fcr, $prim, $nroots, $pad);
2695 * @param $gfpoly (int) Field generator polynomial coefficients
2700 * @return array Array of RS values:<ul><li>mm = Bits per symbol;</li><li>nn = Symbols per block;</li><li>alpha_to = log lookup table array;</li><li>index_of = Antilog lookup table array;</li><li>genpoly = Generator polynomial array;</li><li>nroots = Number of generator;</li><li>roots = number of parity symbols;</li><li>fcr = First consecutive root, index form;</li><li>prim = Primitive element, index form;</li><li>iprim = prim-th root of 1, index form;</li><li>pad = Padding bytes in shortened block;</li><li>gfpoly</ul>.
2702 protected function init_rs_char($symsize, $gfpoly, $fcr, $prim, $nroots, $pad) { argument
2739 $sr ^= $gfpoly;
[all...]