Lines Matching defs:isBigEndian
1701 $isBigEndian = false;
1703 $isBigEndian = true;
1708 $alignCheck = $this->_getShort($data, $pos + 2, $isBigEndian);
1712 if ($isBigEndian) {
1718 $offsetIFD0 = $this->_getLong($data, $pos + 4, $isBigEndian);
1722 $offsetIFD1 = $this->_readIFD($data, $pos, $offsetIFD0, $isBigEndian, 'ifd0');
1724 $this->_readIFD($data, $pos, $offsetIFD1, $isBigEndian, 'ifd1');
1740 * @param boolean $isBigEndian
1745 function _readIFD($data, $base, $offset, $isBigEndian, $mode) {
1748 $numEntries = $this->_getShort($data, $base + $offset, $isBigEndian);
1757 $tag = $this->_getShort($data, $base + $offset, $isBigEndian);
1759 $type = $this->_getShort($data, $base + $offset, $isBigEndian);
1761 $count = $this->_getLong($data, $base + $offset, $isBigEndian);
1771 $dataOffset = $this->_getLong($data, $base + $offset, $isBigEndian);
1793 $value = $this->_getShort($rawValue, 0, $isBigEndian);
1797 $value[$j] = $this->_getShort($rawValue, $j * 2, $isBigEndian);
1802 $value = $this->_getLong($rawValue, 0, $isBigEndian);
1806 $value[$j] = $this->_getLong($rawValue, $j * 4, $isBigEndian);
1811 $a = $this->_getLong($rawValue, 0, $isBigEndian);
1812 $b = $this->_getLong($rawValue, 4, $isBigEndian);
1823 $a = $this->_getLong($rawValue, $j * 8, $isBigEndian);
1824 $b = $this->_getLong($rawValue, ($j * 8) + 4, $isBigEndian);
1848 $value = $this->_getShort($rawValue, 0, $isBigEndian);
1852 $value[$j] = $this->_getShort($rawValue, $j * 2, $isBigEndian);
1857 $value = $this->_getLong($rawValue, 0, $isBigEndian);
1861 $value[$j] = $this->_getLong($rawValue, $j * 4, $isBigEndian);
1866 $a = $this->_getLong($rawValue, 0, $isBigEndian);
1867 $b = $this->_getLong($rawValue, 4, $isBigEndian);
1877 $a = $this->_getLong($rawValue, $j * 8, $isBigEndian);
1878 $b = $this->_getLong($rawValue, ($j * 8) + 4, $isBigEndian);
1901 $this->_readIFD($data, $base, $value, $isBigEndian, 'exif');
1903 $this->_readIFD($data, $base, $value, $isBigEndian, 'gps');
1913 $this->_readIFD($data, $base, $value, $isBigEndian, 'interop');
1952 $nextOffset = $this->_getLong($data, $base + $offset, $isBigEndian);
1979 $isBigEndian = true;
1983 $isBigEndian = false;
1987 $pos = $this->_putShort($data, $pos, 0x002A, $isBigEndian);
1988 $pos = $this->_putLong($data, $pos, 0x00000008, $isBigEndian); // IFD0 Offset is always 8
1990 $ifd0 =& $this->_getIFDEntries($isBigEndian, 'ifd0');
1991 $ifd1 =& $this->_getIFDEntries($isBigEndian, 'ifd1');
1993 $pos = $this->_writeIFD($data, $pos, $offsetBase, $ifd0, $isBigEndian, true);
1994 $pos = $this->_writeIFD($data, $pos, $offsetBase, $ifd1, $isBigEndian, false);
2006 * @param boolean $isBigEndian
2011 function _writeIFD(&$data, $pos, $offsetBase, &$entries, $isBigEndian, $hasNext) {
2018 $pos = $this->_putShort($data, $pos, $entryCount, $isBigEndian);
2025 $pos = $this->_putShort($data, $pos, $tag, $isBigEndian);
2026 $pos = $this->_putShort($data, $pos, 0x04, $isBigEndian); // LONG
2027 $pos = $this->_putLong($data, $pos, 0x01, $isBigEndian); // Count = 1
2028 $pos = $this->_putLong($data, $pos, $dataPos - $offsetBase, $isBigEndian);
2030 $dataPos = $this->_writeIFD($data, $dataPos, $offsetBase, $entries[$i]['value'], $isBigEndian, false);
2032 $pos = $this->_putShort($data, $pos, $tag, $isBigEndian);
2033 $pos = $this->_putShort($data, $pos, 0x04, $isBigEndian); // LONG
2034 $pos = $this->_putLong($data, $pos, 0x01, $isBigEndian); // Count = 1
2036 $pos = $this->_putLong($data, $pos, 0x00, $isBigEndian); // For Now
2039 $pos = $this->_putShort($data, $pos, $tag, $isBigEndian);
2040 $pos = $this->_putShort($data, $pos, $type, $isBigEndian);
2041 $pos = $this->_putLong($data, $pos, $entries[$i]['count'], $isBigEndian);
2043 $pos = $this->_putLong($data, $pos, $dataPos - $offsetBase, $isBigEndian);
2053 $this->_putLong($data, $tiffDataOffsetPos, $dataPos - $offsetBase, $isBigEndian);
2058 $pos = $this->_putLong($data, $pos, $dataPos - $offsetBase, $isBigEndian);
2060 $pos = $this->_putLong($data, $pos, 0, $isBigEndian);
2069 * @param boolean $isBigEndian
2074 function & _getIFDEntries($isBigEndian, $mode) {
2089 $value =& $this->_getIFDEntries($isBigEndian, "exif");
2097 $value =& $this->_getIFDEntries($isBigEndian, "gps");
2130 $value =& $this->_getIFDEntries($isBigEndian, "interop");
2189 $this->_putShort($value, $j * 2, $origValue[$j], $isBigEndian);
2194 $this->_putShort($value, $j * 2, 0, $isBigEndian);
2205 $this->_putLong($value, $j * 4, $origValue[$j], $isBigEndian);
2210 $this->_putLong($value, $j * 4, 0, $isBigEndian);
2231 $this->_putLong($value, $j * 8, $a, $isBigEndian);
2232 $this->_putLong($value, ($j * 8) + 4, $b, $isBigEndian);
2237 $this->_putLong($value, $j * 8, 0, $isBigEndian);
2238 $this->_putLong($value, ($j * 8) + 4, 0, $isBigEndian);
2278 $this->_putShort($value, $j * 2, $origValue[$j], $isBigEndian);
2283 $this->_putShort($value, $j * 2, 0, $isBigEndian);
2294 $this->_putLong($value, $j * 4, $origValue[$j], $isBigEndian);
2299 $this->_putLong($value, $j * 4, 0, $isBigEndian);
2321 $this->_putLong($value, $j * 8, $a, $isBigEndian);
2322 $this->_putLong($value, ($j * 8) + 4, $b, $isBigEndian);
2327 $this->_putLong($value, $j * 8, 0, $isBigEndian);
2328 $this->_putLong($value, ($j * 8) + 4, 0, $isBigEndian);