Lines Matching refs:fcr

2655 	 * @param $fcr (int)  first root of RS code generator polynomial, index form
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) {
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);
2696 * @param $fcr (int) first root of RS code generator polynomial, index form
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) {
2709 if (($fcr < 0) OR ($fcr >= (1<<$symsize))) {
2749 $rs['fcr'] = $fcr;
2759 for ($i = 0,$root=$fcr*$prim; $i < $nroots; $i++, $root += $prim) {
2793 $FCR =& $rs['fcr']; // first consecutive root, index form