Lines Matching refs:bstream
1049 public $bstream; variable in QRinputItem
1051 public function __construct($mode, $size, $data, $bstream = null) argument
1067 $this->bstream = $bstream;
1098 $this->bstream = $bs;
1128 $this->bstream = $bs;
1149 $this->bstream = $bs;
1181 $this->bstream = $bs;
1200 $this->bstream = $bs;
1240 unset($this->bstream);
1251 $this->bstream = new QRbitstream();
1252 $this->bstream->append($st1->bstream);
1253 $this->bstream->append($st2->bstream);
1277 return $this->bstream->size();
1648 public function appendPaddingBit(&$bstream) argument
1650 $bits = $bstream->size();
1659 return $bstream->appendNum($maxbits - $bits, 0);
1687 $ret = $bstream->append($padding);
1699 $bstream = new QRbitstream();
1702 $ret = $bstream->append($item->bstream);
1708 return $bstream;
1715 $bstream = $this->mergeBitStream();
1717 if($bstream == null) {
1721 $ret = $this->appendPaddingBit($bstream);
1726 return $bstream;
1732 $bstream = $this->getBitStream();
1733 if($bstream == null) {
1737 return $bstream->toByte();
1797 $bstream = new QRbitstream();
1798 $bstream->allocate($bits);
1803 $bstream->data[$i] = 1;
1805 $bstream->data[$i] = 0;
1810 return $bstream;
1816 $bstream = new QRbitstream();
1817 $bstream->allocate($size * 8);
1824 $bstream->data[$p] = 1;
1826 $bstream->data[$p] = 0;
1833 return $bstream;