Changed how many rows we scan while detecting QR finder patterns. The mobile case...
authordswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Thu, 10 Apr 2008 20:26:42 +0000 (20:26 +0000)
committerdswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Thu, 10 Apr 2008 20:26:42 +0000 (20:26 +0000)
commitc491839281c5be99de6f6d545fc3f67adc1f4dac
treeae238ec0a2b4cee3ccbb7aacd249c0103ef2987f
parent2d59260d8b632b6815fcde12d99a571174c0d806
Changed how many rows we scan while detecting QR finder patterns. The mobile case dynamically calculates this based on the height of the image, and ranges from a small speedup to a big difference for large inputs. Also changed the try harder case to scan every 3rd line for a 3x speedup. The unit tests have the same success rate as before: 16/20 on qr1, 10/10 on qr2.

git-svn-id: http://zxing.googlecode.com/svn/trunk@354 59b500cc-1b3d-0410-9834-0bbf25fbcc57
core/src/com/google/zxing/qrcode/detector/FinderPatternFinder.java