1. 28 Oct, 2007 1 commit
  2. 27 Oct, 2007 7 commits
  3. 26 Oct, 2007 3 commits
  4. 25 Oct, 2007 2 commits
  5. 23 Oct, 2007 1 commit
    • Daniel Drake's avatar
      Basic image driver foundations · 2709c6dc
      Daniel Drake authored
      The basic model is that image drivers declare a fp_img_driver structure
      rather than a fp_driver struct. fp_img_driver will contain primitive imaging
      operations such as 'scan finger and return image'. The imgdev layer will
      generically implement the primitive fp_driver operations, and the imgdev
      layer will fix up the enroll/verify/etc pointers at driver registration
      time.
      
      Removed const from all fp_driver declarations, as these are now modified
      dynamically in the case of imaging drivers.
      2709c6dc
  6. 16 Oct, 2007 4 commits
  7. 15 Oct, 2007 4 commits
  8. 13 Oct, 2007 4 commits
    • Daniel Drake's avatar
      Enrollment: improved error reporting · 39271b4f
      Daniel Drake authored
      Convert enrollment function to return a signed integer, which is negative
      on error or corresponds into fp_enroll_result otherwise.
      Now we can treat a 'FAIL' condition differently from an actual error: fail
      means that enrollment didn't complete because the data was nonsense or
      whatever (e.g. scanned a different finger for each stage?).
      
      Updated upekts accordingly.
      39271b4f
    • Daniel Drake's avatar
      upekts: communication handling and enrollment implementation · ab5b1ca8
      Daniel Drake authored
      This completes an enrollment implementation for the upekts driver.
      It's based on code from libthinkfinger, but as there seemed to be many
      unknown details there, I spent some time analysing the bus messages in
      more detail and have effectively rewritten almost all of the borrowed code.
      
      Note that libthinkfinger is GPL licensed, so that reflects on this code too.
      At release time I will ask them if they are OK for me to relicense it.
      ab5b1ca8
    • Daniel Drake's avatar
      Build system tweaks · 29951443
      Daniel Drake authored
      Add configure-time controls for logging
      Set some default compile-time warnings
      29951443
    • Daniel Drake's avatar
      Enrollment tweaks · 50e2de07
      Daniel Drake authored
      upekts will need to know when the first enrollment stage is attempted for
      the first time, so add an __enroll_stage counter which actually indicates
      the next stage to enroll. -1 is a special value and it means 0 is next *and*
      it is the initial attemt.
      
      Added more debug output to the enroll handler.
      Added new fp_enroll_status codes for too short or uncentered scans.
      
      Changed the print_data allocator to consider the device rather than the
      driver, this feels more natural. Added missing return value.
      
      Make fp_enroll_status codes start at 1. 0 can now be used as a
      special/temporary value by the drivers. Also check that we aren't exceeding
      the number of enroll stages.
      
      Also add a missing exit() call to the verify example and update for the
      above.
      50e2de07
  9. 12 Oct, 2007 2 commits
  10. 08 Oct, 2007 9 commits