@@ 1179-1186 (lines=8) @@ | ||
1176 | $this->runLength[0] = -1; |
|
1177 | $head = 1; |
|
1178 | $this->runLength[$head] = 1; |
|
1179 | } elseif ($x > 0) { |
|
1180 | if ((ord($frameY[$x]) ^ ord($frameY[$x-1])) & 1) { |
|
1181 | $head++; |
|
1182 | $this->runLength[$head] = 1; |
|
1183 | } else { |
|
1184 | $this->runLength[$head]++; |
|
1185 | } |
|
1186 | } |
|
1187 | } |
|
1188 | $demerit += $this->calcN1N3($head+1); |
|
1189 | } |
|
@@ 1198-1205 (lines=8) @@ | ||
1195 | $this->runLength[0] = -1; |
|
1196 | $head = 1; |
|
1197 | $this->runLength[$head] = 1; |
|
1198 | } elseif ($y > 0) { |
|
1199 | if ((ord($frame[$y][$x]) ^ ord($frame[$y-1][$x])) & 1) { |
|
1200 | $head++; |
|
1201 | $this->runLength[$head] = 1; |
|
1202 | } else { |
|
1203 | $this->runLength[$head]++; |
|
1204 | } |
|
1205 | } |
|
1206 | } |
|
1207 | $demerit += $this->calcN1N3($head+1); |
|
1208 | } |