Lines Matching refs:ecl
521 public function __construct($code, $ecl=-1, $aspectratio=2, $macro=array()) { argument
578 $ecl = $this->getErrorCorrectionLevel($ecl, $numcw);
580 $errsize = (2 << $ecl);
633 $ecw = $this->getErrorCorrection($codewords, $ecl);
662 $L = ((30 * intval($r / 3)) + ($ecl * 3) + (($rows - 1) % 3));
687 $L = ((30 * intval($r / 3)) + ($ecl * 3) + (($rows - 1) % 3));
731 protected function getErrorCorrectionLevel($ecl, $numcw) { argument
744 if (($ecl < 0) OR ($ecl > 8)) {
746 $ecl = 2;
748 $ecl = 3;
750 $ecl = 4;
752 $ecl = 5;
754 $ecl = $maxecl;
757 if ($ecl > $maxecl) {
758 $ecl = $maxecl;
761 return $ecl;
771 protected function getErrorCorrection($cw, $ecl) { argument
773 $ecc = $this->rsfactors[$ecl];
775 $eclsize = (2 << $ecl);