zxing.git
16 years agoMerged revisions 321,327,330,332,334,342-343,352-353,355-358,361-363,365,372 via...
dswitkin [Mon, 21 Apr 2008 22:44:40 +0000 (22:44 +0000)]
Merged revisions 321,327,330,332,334,342-343,352-353,355-358,361-363,365,372 via svnmerge from
https://zxing.googlecode.com/svn/trunk/android-m3

........
  r321 | srowen | 2008-03-28 09:57:55 -0700 (Fri, 28 Mar 2008) | 1 line

  Updates for 0.6; set aside a different android-m3-home variable for android-m3 build
........
  r327 | srowen | 2008-03-31 12:04:38 -0700 (Mon, 31 Mar 2008) | 1 line

  Made the RGB to luminance approximation/optimization a little faster -- one less shift
........
  r330 | dswitkin | 2008-03-31 13:55:38 -0700 (Mon, 31 Mar 2008) | 1 line

  Changed the project names for the two Android clients to disambiguate them.
........
  r332 | dswitkin | 2008-04-01 09:11:36 -0700 (Tue, 01 Apr 2008) | 1 line

  Added some debugging features to the M3 Android client. You can now press 'C' to capture a photo, 'U' to decode only UPC/1D barcodes, and 'Q' to decode only QR Codes.
........
  r334 | dswitkin | 2008-04-01 12:23:05 -0700 (Tue, 01 Apr 2008) | 1 line

  Added latency measurement in milliseconds to the Android client.
........
  r342 | dswitkin | 2008-04-03 14:13:50 -0700 (Thu, 03 Apr 2008) | 1 line

  Improved the Android M3 viewfinder display, by making the framing box larger and zooming in. Also fixed a bug when restarting the activity where the camera params were stale. Fixed handling of geo and tel URIs.
........
  r343 | srowen | 2008-04-03 15:18:16 -0700 (Thu, 03 Apr 2008) | 1 line

  Moved the "geo:" fix to the 'right' place
........
  r352 | dswitkin | 2008-04-08 08:25:13 -0700 (Tue, 08 Apr 2008) | 1 line

  Rewrote the Android M3 client to do continuous decoding, which means you no longer have to push the shutter button. Now you can just place the barcode in the viewfinder and it will display the contents as soon as it decodes them. That also means you no longer get "barcode not found" error dialogs which is a big improvement. Also made sure that capturing debug JPEGs uses unique filenames.
........
  r353 | dswitkin | 2008-04-08 09:06:13 -0700 (Tue, 08 Apr 2008) | 1 line

  Improved the CameraThread state machine, and fixed a bug where preview would not continue after capture.
........
  r355 | dswitkin | 2008-04-10 13:57:37 -0700 (Thu, 10 Apr 2008) | 1 line

  Made sure the BitmapSource subclasses do not reuse a BitArray which is too small.
........
  r356 | dswitkin | 2008-04-11 12:30:54 -0700 (Fri, 11 Apr 2008) | 1 line

  Changed ProGuard settings so it will inline methods which use private members. This eliminates tens of thousands of function calls to BitArray.get() on a typical decode, and lots of other work as well. Overall we're roughly 20% faster by using ProGuard than turning it off.
........
  r357 | dswitkin | 2008-04-11 13:25:09 -0700 (Fri, 11 Apr 2008) | 1 line

  Made the worker threads shut down synchronously to fix a race condition where the CameraManager could close the camera driver too soon.
........
  r358 | dswitkin | 2008-04-11 14:16:08 -0700 (Fri, 11 Apr 2008) | 1 line

  Added 'T' as a shortcut to toggle debug method tracing using android.os.Debug and traceview for analysis. The traces are written to /sdcard, which means the SD Card must not be mounted as a volume by USB at the time. Tracing can slow down decoding by a factor of 5 or more but gives very useful insights into where the time is going.
........
  r361 | dswitkin | 2008-04-15 15:34:49 -0700 (Tue, 15 Apr 2008) | 1 line

  A couple small improvements to the CameraManager.
........
  r362 | srowen | 2008-04-15 17:27:36 -0700 (Tue, 15 Apr 2008) | 1 line

  Small simplification of build file condition properties using else attribute
........
  r363 | srowen | 2008-04-15 17:34:13 -0700 (Tue, 15 Apr 2008) | 1 line

  Fix Issue 50, not building on Windows, by adding some small workarounds for Windows paths in build files for Android
........
  r365 | dswitkin | 2008-04-17 13:09:17 -0700 (Thu, 17 Apr 2008) | 1 line

  Converted the Android client to use a status bar on the bottom of the screen instead of dialogs for a much better, less interrupting user experience.
........
  r372 | dswitkin | 2008-04-21 11:11:02 -0700 (Mon, 21 Apr 2008) | 1 line

  Added some simple sharpening for 1D decoding which allowed a couple more blackbox images to pass. There were a few cases where the format or content is now misdetected, but since the net gain was positive I decided to make those non-fatal errors. In real world use the sharpening seems to help, and I think we can do even better with a better algorithm.
........

git-svn-id: http://zxing.googlecode.com/svn/trunk@374 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoInitialized merge tracking via "svnmerge" with revisions "1-319" from
dswitkin [Mon, 21 Apr 2008 19:58:44 +0000 (19:58 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-319" from
https://zxing.googlecode.com/svn/trunk/android-m3

git-svn-id: http://zxing.googlecode.com/svn/trunk@373 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdded some simple sharpening for 1D decoding which allowed a couple more blackbox...
dswitkin [Mon, 21 Apr 2008 18:11:02 +0000 (18:11 +0000)]
Added some simple sharpening for 1D decoding which allowed a couple more blackbox images to pass. There were a few cases where the format or content is now misdetected, but since the net gain was positive I decided to make those non-fatal errors. In real world use the sharpening seems to help, and I think we can do even better with a better algorithm.

git-svn-id: http://zxing.googlecode.com/svn/trunk@372 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoImproved the command line test app to accept multiple arguments, a --try_harder flag...
dswitkin [Mon, 21 Apr 2008 14:43:32 +0000 (14:43 +0000)]
Improved the command line test app to accept multiple arguments, a --try_harder flag, and to skip hidden files and text files.

git-svn-id: http://zxing.googlecode.com/svn/trunk@371 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoReplaced the smaller, resized EAN13-2 test images with the full-size originals.
dswitkin [Sat, 19 Apr 2008 18:38:52 +0000 (18:38 +0000)]
Replaced the smaller, resized EAN13-2 test images with the full-size originals.

git-svn-id: http://zxing.googlecode.com/svn/trunk@370 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoSeparate out test-unit and test-blackbox targets for running different sorts of tests
srowen [Fri, 18 Apr 2008 17:03:04 +0000 (17:03 +0000)]
Separate out test-unit and test-blackbox targets for running different sorts of tests

git-svn-id: http://zxing.googlecode.com/svn/trunk@369 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdded a new test library of 16 blurry EAN-13 barcodes. Currently we cannot decode...
dswitkin [Fri, 18 Apr 2008 15:51:39 +0000 (15:51 +0000)]
Added a new test library of 16 blurry EAN-13 barcodes. Currently we cannot decode any of them. I'm checking these in as a baseline so we can evaluate various sharpening techniques.

git-svn-id: http://zxing.googlecode.com/svn/trunk@368 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoChanged the black box tests to require an absolute number of images to decode success...
dswitkin [Fri, 18 Apr 2008 14:43:56 +0000 (14:43 +0000)]
Changed the black box tests to require an absolute number of images to decode successfully, instead of a percentage, and set the high water mark for each test.

git-svn-id: http://zxing.googlecode.com/svn/trunk@367 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoChanged the parsing logic to refer to EAN-8 and EAN-13 as UPCs as well, so that the...
dswitkin [Fri, 18 Apr 2008 14:30:02 +0000 (14:30 +0000)]
Changed the parsing logic to refer to EAN-8 and EAN-13 as UPCs as well, so that the clients can recognize them as product barcodes and offer to do a product search.

git-svn-id: http://zxing.googlecode.com/svn/trunk@366 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoConverted the Android client to use a status bar on the bottom of the screen instead...
dswitkin [Thu, 17 Apr 2008 20:09:17 +0000 (20:09 +0000)]
Converted the Android client to use a status bar on the bottom of the screen instead of dialogs for a much better, less interrupting user experience.

git-svn-id: http://zxing.googlecode.com/svn/trunk@365 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdded workaround for NoSuchMethodError on some Nokia JVMs with a superfluous abstract...
srowen [Wed, 16 Apr 2008 00:38:54 +0000 (00:38 +0000)]
Added workaround for NoSuchMethodError on some Nokia JVMs with a superfluous abstract method (thanks Marnix)

git-svn-id: http://zxing.googlecode.com/svn/trunk@364 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoFix Issue 50, not building on Windows, by adding some small workarounds for Windows...
srowen [Wed, 16 Apr 2008 00:34:13 +0000 (00:34 +0000)]
Fix Issue 50, not building on Windows, by adding some small workarounds for Windows paths in build files for Android

git-svn-id: http://zxing.googlecode.com/svn/trunk@363 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoSmall simplification of build file condition properties using else attribute
srowen [Wed, 16 Apr 2008 00:27:36 +0000 (00:27 +0000)]
Small simplification of build file condition properties using else attribute

git-svn-id: http://zxing.googlecode.com/svn/trunk@362 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoA couple small improvements to the CameraManager.
dswitkin [Tue, 15 Apr 2008 22:34:49 +0000 (22:34 +0000)]
A couple small improvements to the CameraManager.

git-svn-id: http://zxing.googlecode.com/svn/trunk@361 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdded 'T' as a shortcut to toggle debug method tracing using android.os.Debug and...
dswitkin [Fri, 11 Apr 2008 21:16:08 +0000 (21:16 +0000)]
Added 'T' as a shortcut to toggle debug method tracing using android.os.Debug and traceview for analysis. The traces are written to /sdcard, which means the SD Card must not be mounted as a volume by USB at the time. Tracing can slow down decoding by a factor of 5 or more but gives very useful insights into where the time is going.

git-svn-id: http://zxing.googlecode.com/svn/trunk@358 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoMade the worker threads shut down synchronously to fix a race condition where the...
dswitkin [Fri, 11 Apr 2008 20:25:09 +0000 (20:25 +0000)]
Made the worker threads shut down synchronously to fix a race condition where the CameraManager could close the camera driver too soon.

git-svn-id: http://zxing.googlecode.com/svn/trunk@357 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoChanged ProGuard settings so it will inline methods which use private members. This...
dswitkin [Fri, 11 Apr 2008 19:30:54 +0000 (19:30 +0000)]
Changed ProGuard settings so it will inline methods which use private members. This eliminates tens of thousands of function calls to BitArray.get() on a typical decode, and lots of other work as well. Overall we're roughly 20% faster by using ProGuard than turning it off.

git-svn-id: http://zxing.googlecode.com/svn/trunk@356 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoMade sure the BitmapSource subclasses do not reuse a BitArray which is too small.
dswitkin [Thu, 10 Apr 2008 20:57:37 +0000 (20:57 +0000)]
Made sure the BitmapSource subclasses do not reuse a BitArray which is too small.

git-svn-id: http://zxing.googlecode.com/svn/trunk@355 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoChanged how many rows we scan while detecting QR finder patterns. The mobile case...
dswitkin [Thu, 10 Apr 2008 20:26:42 +0000 (20:26 +0000)]
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

16 years agoImproved the CameraThread state machine, and fixed a bug where preview would not...
dswitkin [Tue, 8 Apr 2008 16:06:13 +0000 (16:06 +0000)]
Improved the CameraThread state machine, and fixed a bug where preview would not continue after capture.

git-svn-id: http://zxing.googlecode.com/svn/trunk@353 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoRewrote the Android M3 client to do continuous decoding, which means you no longer...
dswitkin [Tue, 8 Apr 2008 15:25:13 +0000 (15:25 +0000)]
Rewrote the Android M3 client to do continuous decoding, which means you no longer have to push the shutter button. Now you can just place the barcode in the viewfinder and it will display the contents as soon as it decodes them. That also means you no longer get "barcode not found" error dialogs which is a big improvement. Also made sure that capturing debug JPEGs uses unique filenames.

git-svn-id: http://zxing.googlecode.com/svn/trunk@352 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoWorkaround for codes that fail to include (required) final TERMINATOR mode indicator
srowen [Mon, 7 Apr 2008 22:05:40 +0000 (22:05 +0000)]
Workaround for codes that fail to include (required) final TERMINATOR mode indicator

git-svn-id: http://zxing.googlecode.com/svn/trunk@351 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoOops, off-by-one bug fix, and some more comments
srowen [Mon, 7 Apr 2008 20:32:17 +0000 (20:32 +0000)]
Oops, off-by-one bug fix, and some more comments

git-svn-id: http://zxing.googlecode.com/svn/trunk@350 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoCan now instantiate this to represent a region of a BufferedImage rather than the...
srowen [Mon, 7 Apr 2008 20:05:11 +0000 (20:05 +0000)]
Can now instantiate this to represent a region of a BufferedImage rather than the whole thing.

git-svn-id: http://zxing.googlecode.com/svn/trunk@349 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoStandardize array initializer syntax to use the form without "new type[]", to be...
srowen [Mon, 7 Apr 2008 19:42:35 +0000 (19:42 +0000)]
Standardize array initializer syntax to use the form without "new type[]", to be consistent and make translation to C++ easier

git-svn-id: http://zxing.googlecode.com/svn/trunk@348 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoMake two methods public for easier reuse by third-party implementaitons
srowen [Fri, 4 Apr 2008 16:34:42 +0000 (16:34 +0000)]
Make two methods public for easier reuse by third-party implementaitons

git-svn-id: http://zxing.googlecode.com/svn/trunk@345 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoForward-porting Daniel's fix
srowen [Thu, 3 Apr 2008 22:43:56 +0000 (22:43 +0000)]
Forward-porting Daniel's fix

git-svn-id: http://zxing.googlecode.com/svn/trunk@344 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoMoved the "geo:" fix to the 'right' place
srowen [Thu, 3 Apr 2008 22:18:16 +0000 (22:18 +0000)]
Moved the "geo:" fix to the 'right' place

git-svn-id: http://zxing.googlecode.com/svn/trunk@343 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoImproved the Android M3 viewfinder display, by making the framing box larger and...
dswitkin [Thu, 3 Apr 2008 21:13:50 +0000 (21:13 +0000)]
Improved the Android M3 viewfinder display, by making the framing box larger and zooming in. Also fixed a bug when restarting the activity where the camera params were stale. Fixed handling of geo and tel URIs.

git-svn-id: http://zxing.googlecode.com/svn/trunk@342 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agosmall typo fix.
mschulkind [Thu, 3 Apr 2008 20:34:30 +0000 (20:34 +0000)]
small typo fix.

git-svn-id: http://zxing.googlecode.com/svn/trunk@341 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAt last, removing SKIP_N_BARCODES and separating this logic out in a way that individ...
srowen [Thu, 3 Apr 2008 16:39:44 +0000 (16:39 +0000)]
At last, removing SKIP_N_BARCODES and separating this logic out in a way that individual projects can implement it on their own. It's a bit too onerous and project-specific to live on in the main code.

git-svn-id: http://zxing.googlecode.com/svn/trunk@340 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoParsing wasn't correctly ignoring the ':' in prefix!
srowen [Thu, 3 Apr 2008 16:12:08 +0000 (16:12 +0000)]
Parsing wasn't correctly ignoring the ':' in prefix!

git-svn-id: http://zxing.googlecode.com/svn/trunk@339 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAnother fix to ensure that 2 barcodes with the same info are counted separately.
srowen [Thu, 3 Apr 2008 15:39:06 +0000 (15:39 +0000)]
Another fix to ensure that 2 barcodes with the same info are counted separately.

git-svn-id: http://zxing.googlecode.com/svn/trunk@338 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years ago"Skip 0 barcodes" was incorrectly not returning the first barcode found
srowen [Wed, 2 Apr 2008 14:03:02 +0000 (14:03 +0000)]
"Skip 0 barcodes" was incorrectly not returning the first barcode found

git-svn-id: http://zxing.googlecode.com/svn/trunk@337 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoFixed same ResultPoint bug in Code 128 and Code 39 reader; added convenient toString...
srowen [Wed, 2 Apr 2008 13:40:29 +0000 (13:40 +0000)]
Fixed same ResultPoint bug in Code 128 and Code 39 reader; added convenient toString() to Result and GenericResultPoint; added arg checking for Result constructor too

git-svn-id: http://zxing.googlecode.com/svn/trunk@336 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoFixed the result points for 1D decoding so that we once again get a green line in...
dswitkin [Tue, 1 Apr 2008 21:23:14 +0000 (21:23 +0000)]
Fixed the result points for 1D decoding so that we once again get a green line in the Android client across the successful row.

git-svn-id: http://zxing.googlecode.com/svn/trunk@335 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdded latency measurement in milliseconds to the Android client.
dswitkin [Tue, 1 Apr 2008 19:23:05 +0000 (19:23 +0000)]
Added latency measurement in milliseconds to the Android client.

git-svn-id: http://zxing.googlecode.com/svn/trunk@334 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoImproved the statistics reporting for the CommandLineRunner.
dswitkin [Tue, 1 Apr 2008 18:30:38 +0000 (18:30 +0000)]
Improved the statistics reporting for the CommandLineRunner.

git-svn-id: http://zxing.googlecode.com/svn/trunk@333 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdded some debugging features to the M3 Android client. You can now press 'C' to...
dswitkin [Tue, 1 Apr 2008 16:11:36 +0000 (16:11 +0000)]
Added some debugging features to the M3 Android client. You can now press 'C' to capture a photo, 'U' to decode only UPC/1D barcodes, and 'Q' to decode only QR Codes.

git-svn-id: http://zxing.googlecode.com/svn/trunk@332 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoChanged the project names for the two Android clients to disambiguate them.
dswitkin [Mon, 31 Mar 2008 20:55:38 +0000 (20:55 +0000)]
Changed the project names for the two Android clients to disambiguate them.

git-svn-id: http://zxing.googlecode.com/svn/trunk@330 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoCompleted basic support for NFC / NDEF formats applicable to 2D barcodes. Not yet...
srowen [Mon, 31 Mar 2008 20:51:24 +0000 (20:51 +0000)]
Completed basic support for NFC / NDEF formats applicable to 2D barcodes. Not yet enabled.

git-svn-id: http://zxing.googlecode.com/svn/trunk@329 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoRemoved @Override from Tom's code, which gave errors in 1.5 because they referred...
dswitkin [Mon, 31 Mar 2008 19:49:08 +0000 (19:49 +0000)]
Removed @Override from Tom's code, which gave errors in 1.5 because they referred to an interface instead of a base class.

git-svn-id: http://zxing.googlecode.com/svn/trunk@328 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoMade the RGB to luminance approximation/optimization a little faster -- one less...
srowen [Mon, 31 Mar 2008 19:04:38 +0000 (19:04 +0000)]
Made the RGB to luminance approximation/optimization a little faster -- one less shift

git-svn-id: http://zxing.googlecode.com/svn/trunk@327 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoTiny improvement -- 'clean' target should remove generated javadoc
srowen [Fri, 28 Mar 2008 17:04:48 +0000 (17:04 +0000)]
Tiny improvement -- 'clean' target should remove generated javadoc

git-svn-id: http://zxing.googlecode.com/svn/trunk@322 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoUpdates for 0.6; set aside a different android-m3-home variable for android-m3 build
srowen [Fri, 28 Mar 2008 16:57:55 +0000 (16:57 +0000)]
Updates for 0.6; set aside a different android-m3-home variable for android-m3 build

git-svn-id: http://zxing.googlecode.com/svn/trunk@321 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoUpdates to build on M5
srowen [Fri, 28 Mar 2008 16:54:29 +0000 (16:54 +0000)]
Updates to build on M5

git-svn-id: http://zxing.googlecode.com/svn/trunk@320 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoBranching the current Android client into an M3 directory so we can proceed with...
dswitkin [Fri, 28 Mar 2008 15:25:18 +0000 (15:25 +0000)]
Branching the current Android client into an M3 directory so we can proceed with M5 development.

git-svn-id: http://zxing.googlecode.com/svn/trunk@319 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoImproved bounds-checking and point-nudging logic in GridSampler. We should check...
srowen [Wed, 26 Mar 2008 17:01:13 +0000 (17:01 +0000)]
Improved bounds-checking and point-nudging logic in GridSampler. We should check more than endpoints.

git-svn-id: http://zxing.googlecode.com/svn/trunk@317 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoRestored a corrected Reed-Solomon optimization and fixed a small issue in black box...
srowen [Wed, 26 Mar 2008 16:22:02 +0000 (16:22 +0000)]
Restored a corrected Reed-Solomon optimization and fixed a small issue in black box test cases

git-svn-id: http://zxing.googlecode.com/svn/trunk@316 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoA few refactorings in anticipation of more formats that needs some common functionality
srowen [Wed, 26 Mar 2008 14:46:57 +0000 (14:46 +0000)]
A few refactorings in anticipation of more formats that needs some common functionality

git-svn-id: http://zxing.googlecode.com/svn/trunk@315 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoRemoved old YUV-based implementation
srowen [Wed, 26 Mar 2008 14:43:42 +0000 (14:43 +0000)]
Removed old YUV-based implementation

git-svn-id: http://zxing.googlecode.com/svn/trunk@314 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agobiasTowardsWhite was, embarassingly, not accomplishing anything mathematically. It...
srowen [Wed, 26 Mar 2008 14:42:33 +0000 (14:42 +0000)]
biasTowardsWhite was, embarassingly, not accomplishing anything mathematically. It proved to not have much value so has been removed, to simplify the code.

git-svn-id: http://zxing.googlecode.com/svn/trunk@313 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoUndo optimization that seems to not be correct in all cases -- will have to evaluate...
srowen [Wed, 26 Mar 2008 14:13:14 +0000 (14:13 +0000)]
Undo optimization that seems to not be correct in all cases -- will have to evaluate again later

git-svn-id: http://zxing.googlecode.com/svn/trunk@312 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoMore aggressive inlining, to inline some key methods like BitArray.get(), resulting...
srowen [Tue, 25 Mar 2008 18:23:49 +0000 (18:23 +0000)]
More aggressive inlining, to inline some key methods like BitArray.get(), resulting in significant performance boost

git-svn-id: http://zxing.googlecode.com/svn/trunk@311 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years ago"Regular" version now attempts to set desired camera exposure settings
srowen [Tue, 25 Mar 2008 17:03:15 +0000 (17:03 +0000)]
"Regular" version now attempts to set desired camera exposure settings

git-svn-id: http://zxing.googlecode.com/svn/trunk@310 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoOptimized 0- and 1-error case of Reed Solomon decoding a bit
srowen [Mon, 24 Mar 2008 20:02:06 +0000 (20:02 +0000)]
Optimized 0- and 1-error case of Reed Solomon decoding a bit

git-svn-id: http://zxing.googlecode.com/svn/trunk@309 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoMore aggressive ProGuard optimization
srowen [Fri, 21 Mar 2008 12:46:00 +0000 (12:46 +0000)]
More aggressive ProGuard optimization

git-svn-id: http://zxing.googlecode.com/svn/trunk@307 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoMore small improvements to SKIP_N_BARCODES -- now remembers value across invocations...
srowen [Thu, 20 Mar 2008 17:08:07 +0000 (17:08 +0000)]
More small improvements to SKIP_N_BARCODES -- now remembers value across invocations of doDecode()

git-svn-id: http://zxing.googlecode.com/svn/trunk@305 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoRestored SKIP_N_BARCODES functionality and corrected a logic error
srowen [Thu, 20 Mar 2008 17:01:19 +0000 (17:01 +0000)]
Restored SKIP_N_BARCODES functionality and corrected a logic error

git-svn-id: http://zxing.googlecode.com/svn/trunk@304 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAutomatically inserts version number in strings.xml now
srowen [Wed, 19 Mar 2008 20:23:27 +0000 (20:23 +0000)]
Automatically inserts version number in strings.xml now

git-svn-id: http://zxing.googlecode.com/svn/trunk@303 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAutomatically inserts version number in strings.xml now
srowen [Wed, 19 Mar 2008 20:23:10 +0000 (20:23 +0000)]
Automatically inserts version number in strings.xml now

git-svn-id: http://zxing.googlecode.com/svn/trunk@302 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoMore proper support for geo: URLs in Android
srowen [Wed, 19 Mar 2008 20:18:28 +0000 (20:18 +0000)]
More proper support for geo: URLs in Android

git-svn-id: http://zxing.googlecode.com/svn/trunk@301 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years ago"Try harder" mode now tries 2D formats first. BlackPointEstimator more conservative...
srowen [Wed, 19 Mar 2008 18:40:52 +0000 (18:40 +0000)]
"Try harder" mode now tries 2D formats first. BlackPointEstimator more conservative about rejecting histograms with too little dynamic range. Temporarily deprecated SKIP_N_BARCODES hint.

git-svn-id: http://zxing.googlecode.com/svn/trunk@300 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoTake small advantage of "TRY_HARDER" in QR code decoder
srowen [Wed, 19 Mar 2008 17:10:58 +0000 (17:10 +0000)]
Take small advantage of "TRY_HARDER" in QR code decoder

git-svn-id: http://zxing.googlecode.com/svn/trunk@299 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoOops, forgot to include in last commit
srowen [Wed, 19 Mar 2008 17:10:11 +0000 (17:10 +0000)]
Oops, forgot to include in last commit

git-svn-id: http://zxing.googlecode.com/svn/trunk@298 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoFixed bug in rotation code for BufferedImageMonochromeBitmapSource; fixed "SKIP_N_BAR...
srowen [Wed, 19 Mar 2008 17:09:27 +0000 (17:09 +0000)]
Fixed bug in rotation code for BufferedImageMonochromeBitmapSource; fixed "SKIP_N_BARCODES" behavior to ignore barcodes already found.

git-svn-id: http://zxing.googlecode.com/svn/trunk@297 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoDumb logic error in boundary case for transformation: "nudging" the rightmost pixel...
srowen [Wed, 19 Mar 2008 14:45:49 +0000 (14:45 +0000)]
Dumb logic error in boundary case for transformation: "nudging" the rightmost pixel of a line back onto the image was actually nudging the leftmost pixel

git-svn-id: http://zxing.googlecode.com/svn/trunk@296 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoRemoved unneeded 'keep' args to ProGuard
srowen [Tue, 18 Mar 2008 17:06:21 +0000 (17:06 +0000)]
Removed unneeded 'keep' args to ProGuard

git-svn-id: http://zxing.googlecode.com/svn/trunk@295 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoOops, use 5 passes of optimization
srowen [Tue, 18 Mar 2008 16:56:12 +0000 (16:56 +0000)]
Oops, use 5 passes of optimization

git-svn-id: http://zxing.googlecode.com/svn/trunk@294 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdded overdue Reed-Solomon tests
srowen [Mon, 17 Mar 2008 20:48:32 +0000 (20:48 +0000)]
Added overdue Reed-Solomon tests

git-svn-id: http://zxing.googlecode.com/svn/trunk@293 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdd support for tel: URIs
srowen [Mon, 17 Mar 2008 20:17:20 +0000 (20:17 +0000)]
Add support for tel: URIs

git-svn-id: http://zxing.googlecode.com/svn/trunk@292 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoOnly parse UPC result out of a UPC format code, to avoid "false positives" from other...
srowen [Mon, 17 Mar 2008 20:16:20 +0000 (20:16 +0000)]
Only parse UPC result out of a UPC format code, to avoid "false positives" from other formats

git-svn-id: http://zxing.googlecode.com/svn/trunk@291 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agogit-svn-id: http://zxing.googlecode.com/svn/trunk@290 59b500cc-1b3d-0410-9834-0bbf25f...
srowen [Mon, 17 Mar 2008 18:41:10 +0000 (18:41 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@290 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoFixed naming convention. Everything should be a "ParsedResult"
srowen [Mon, 17 Mar 2008 18:24:26 +0000 (18:24 +0000)]
Fixed naming convention. Everything should be a "ParsedResult"

git-svn-id: http://zxing.googlecode.com/svn/trunk@289 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoSome refactoring to remove small disconnect between how Results are handled and wheth...
srowen [Mon, 17 Mar 2008 18:12:00 +0000 (18:12 +0000)]
Some refactoring to remove small disconnect between how Results are handled and whether the client thinks it can do anything meaningful with a Result

git-svn-id: http://zxing.googlecode.com/svn/trunk@288 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoNope, disable link from geo: URL to Google Maps. Does not quite work in the browser...
srowen [Mon, 17 Mar 2008 16:50:03 +0000 (16:50 +0000)]
Nope, disable link from geo: URL to Google Maps. Does not quite work in the browser yet.

git-svn-id: http://zxing.googlecode.com/svn/trunk@287 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoFirst checkin of support for basic NDEF message types -- not enabled yet
srowen [Mon, 17 Mar 2008 15:35:27 +0000 (15:35 +0000)]
First checkin of support for basic NDEF message types -- not enabled yet

git-svn-id: http://zxing.googlecode.com/svn/trunk@286 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdd client support for geo URIs
srowen [Mon, 17 Mar 2008 15:16:59 +0000 (15:16 +0000)]
Add client support for geo URIs

git-svn-id: http://zxing.googlecode.com/svn/trunk@285 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdd geo: URL support (oh and removed an old moved file)
srowen [Mon, 17 Mar 2008 14:57:56 +0000 (14:57 +0000)]
Add geo: URL support (oh and removed an old moved file)

git-svn-id: http://zxing.googlecode.com/svn/trunk@284 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years ago"Try harder" now examines a lot more lines in the image
srowen [Fri, 14 Mar 2008 20:54:12 +0000 (20:54 +0000)]
"Try harder" now examines a lot more lines in the image

git-svn-id: http://zxing.googlecode.com/svn/trunk@282 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdded result metadata mechanism: now, reports orientation for 1D barcodes if it's...
srowen [Fri, 14 Mar 2008 20:49:46 +0000 (20:49 +0000)]
Added result metadata mechanism: now, reports orientation for 1D barcodes if it's not an upright orientation

git-svn-id: http://zxing.googlecode.com/svn/trunk@281 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoOops, delete old files that were moved
srowen [Fri, 14 Mar 2008 18:54:09 +0000 (18:54 +0000)]
Oops, delete old files that were moved

git-svn-id: http://zxing.googlecode.com/svn/trunk@280 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoChanged signature of parse() to take in more general Result
srowen [Fri, 14 Mar 2008 18:53:25 +0000 (18:53 +0000)]
Changed signature of parse() to take in more general Result

git-svn-id: http://zxing.googlecode.com/svn/trunk@279 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoMove GridSampler into common package and refactor to ready it for use with Data Matrix
srowen [Fri, 14 Mar 2008 18:44:41 +0000 (18:44 +0000)]
Move GridSampler into common package and refactor to ready it for use with Data Matrix

git-svn-id: http://zxing.googlecode.com/svn/trunk@278 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoThis URL seems dead, removing the test
srowen [Fri, 14 Mar 2008 18:43:41 +0000 (18:43 +0000)]
This URL seems dead, removing the test

git-svn-id: http://zxing.googlecode.com/svn/trunk@277 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoTrying out a new user-requested decode hint, allowing a caller to skip the first...
srowen [Thu, 13 Mar 2008 19:32:08 +0000 (19:32 +0000)]
Trying out a new user-requested decode hint, allowing a caller to skip the first n barcodes found.

git-svn-id: http://zxing.googlecode.com/svn/trunk@276 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoTiny enhancement -- make sure we don't include any hidden files like .nfs files in...
srowen [Wed, 12 Mar 2008 19:35:16 +0000 (19:35 +0000)]
Tiny enhancement -- make sure we don't include any hidden files like .nfs files in releases

git-svn-id: http://zxing.googlecode.com/svn/trunk@274 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoJavadoc typo fix
srowen [Wed, 12 Mar 2008 19:27:17 +0000 (19:27 +0000)]
Javadoc typo fix

git-svn-id: http://zxing.googlecode.com/svn/trunk@273 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoChanged for 0.5.5
srowen [Wed, 12 Mar 2008 19:21:39 +0000 (19:21 +0000)]
Changed for 0.5.5

git-svn-id: http://zxing.googlecode.com/svn/trunk@272 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoTemporarily turning off Data Matrix in MultiFormatReader until it's done
srowen [Wed, 12 Mar 2008 19:19:02 +0000 (19:19 +0000)]
Temporarily turning off Data Matrix in MultiFormatReader until it's done

git-svn-id: http://zxing.googlecode.com/svn/trunk@271 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoRefactorings to allow raw bytes to be passed back with reader result, where applicable
srowen [Wed, 12 Mar 2008 18:51:46 +0000 (18:51 +0000)]
Refactorings to allow raw bytes to be passed back with reader result, where applicable

git-svn-id: http://zxing.googlecode.com/svn/trunk@270 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoFixed a few more extractPureBits() gotchas that came up, and added a couple tests...
srowen [Tue, 11 Mar 2008 17:43:32 +0000 (17:43 +0000)]
Fixed a few more extractPureBits() gotchas that came up, and added a couple tests for UPC-E

git-svn-id: http://zxing.googlecode.com/svn/trunk@269 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdded overdue EAN-8 tests
srowen [Tue, 11 Mar 2008 15:28:23 +0000 (15:28 +0000)]
Added overdue EAN-8 tests

git-svn-id: http://zxing.googlecode.com/svn/trunk@268 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdded some needed bounds checking in Data Matrix, QR Code extractPureBits() methods
srowen [Tue, 11 Mar 2008 15:26:45 +0000 (15:26 +0000)]
Added some needed bounds checking in Data Matrix, QR Code extractPureBits() methods

git-svn-id: http://zxing.googlecode.com/svn/trunk@267 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoSmall tweaks on this test too
srowen [Tue, 11 Mar 2008 15:05:10 +0000 (15:05 +0000)]
Small tweaks on this test too

git-svn-id: http://zxing.googlecode.com/svn/trunk@266 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoCompleted some modest tweaks to new Data Matrix code based on IntelliJ suggestions
srowen [Tue, 11 Mar 2008 15:01:02 +0000 (15:01 +0000)]
Completed some modest tweaks to new Data Matrix code based on IntelliJ suggestions

git-svn-id: http://zxing.googlecode.com/svn/trunk@265 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoAdded code for the Data Matrix decoder.
briangbrown [Tue, 11 Mar 2008 03:48:12 +0000 (03:48 +0000)]
Added code for the Data Matrix decoder.
Added initial ASCII tests for Data Matrix.
Added test symbols for DataMatrix.
Modified MultiFormatReader to try the DataMatrixReader after 1D and QRCode.

git-svn-id: http://zxing.googlecode.com/svn/trunk@264 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoDeprecated YUV version
srowen [Mon, 10 Mar 2008 21:36:12 +0000 (21:36 +0000)]
Deprecated YUV version

git-svn-id: http://zxing.googlecode.com/svn/trunk@263 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoSwitch to RGB-based captures for decoding, in preparation for move to continuous...
srowen [Mon, 10 Mar 2008 21:31:47 +0000 (21:31 +0000)]
Switch to RGB-based captures for decoding, in preparation for move to continuous scan model

git-svn-id: http://zxing.googlecode.com/svn/trunk@262 59b500cc-1b3d-0410-9834-0bbf25fbcc57

16 years agoFixed handling of new Android Intent result
srowen [Mon, 10 Mar 2008 21:23:58 +0000 (21:23 +0000)]
Fixed handling of new Android Intent result

git-svn-id: http://zxing.googlecode.com/svn/trunk@261 59b500cc-1b3d-0410-9834-0bbf25fbcc57