- 29 Nov, 2018 2 commits
-
-
Bastien Nocera authored
-
Bastien Nocera authored
-
- 25 Nov, 2018 1 commit
-
-
Bastien Nocera authored
So gtk-doc doesn't warn about them any more.
-
- 13 Nov, 2018 1 commit
-
-
Bastien Nocera authored
libfprint/fpi-dev-img.c:255:6: warning: variable 'print' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (imgdev->action != IMG_ACTION_CAPTURE) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libfprint/fpi-dev-img.c:271:25: note: uninitialized use occurs here imgdev->acquire_data = print; ^~~~~ libfprint/fpi-dev-img.c:255:2: note: remove the 'if' if its condition is always true if (imgdev->action != IMG_ACTION_CAPTURE) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libfprint/fpi-dev-img.c:232:29: note: initialize the variable 'print' to silence this warning struct fp_print_data *print; ^ = NULL
-
- 09 Nov, 2018 1 commit
-
-
Bastien Nocera authored
-
- 28 Sep, 2018 2 commits
-
-
Bastien Nocera authored
They now live in fpi-dev-img.[ch]
-
Bastien Nocera authored
And don't add the new fpi-async.h to the driver imports, it will only be used by the upekts driver.
-
- 14 Sep, 2018 2 commits
-
-
Bastien Nocera authored
Instead of having own own pointer in fp_img_dev
-
Bastien Nocera authored
So it's easy to switch between the 2 structs, and remove fp_img_dev->dev direct access, as well as fp_dev->priv "user data" usage.
-
- 23 May, 2018 1 commit
-
-
Bastien Nocera authored
GLib won't like them, so use G_DEBUG_HERE() instead.
-
- 16 Dec, 2015 2 commits
-
-
Vasily Khoruzhick authored
Otherwise we end up in reporting the same result on next iteration.
-
Vasily Khoruzhick authored
Smart sensors like Upek TouchChip Coprocessor can provide scan status instead of image, as result we need to report such status as "short scan" or "finger not centered" from within the driver, since it's not a session error.
-
- 03 Feb, 2015 1 commit
-
-
Timo Teräs authored
This bug has existed long time, but it was uncovered by commit e215b050 which enabled multiple enrollment rounds. In practice this broke (at least) URU4000 driver state machine causing it to enter indefinite loop - due to the invalid state change callback. Patch originally posted at: http://lists.freedesktop.org/archives/fprint/2014-June/000603.html Test and verification results: http://lists.freedesktop.org/archives/fprint/2014-June/000607.htmlSigned-off-by:
Timo Teräs <timo.teras@iki.fi>
-
- 19 Aug, 2013 1 commit
-
-
Vasily Khoruzhick authored
This feature dramatically improves matching rate on devices with small sensors.
-
- 12 Aug, 2013 1 commit
-
-
Vasily Khoruzhick authored
fp_dev_img_capture() is not implemented and returns -ENOTSUPP for all devices since migration to asynchronous model. This commit implement missing functionality
-
- 14 Dec, 2012 1 commit
-
-
Timo Teräs authored
Re-check device state after fpi_drvcb_enroll_stage_completed(). If enrollment was cancelled after non-completing stage, we must not restart acquire as it would confuse the internal state machine. https://bugs.freedesktop.org/show_bug.cgi?id=57829
-
- 20 Jan, 2012 1 commit
-
-
Patrick Marlier authored
We were checking for ->activate existing instead of ->deactivate.
-
- 19 Aug, 2010 1 commit
-
-
Alexia Death authored
This segfault was caused by proceeding to free the conversion result without checking for an error condition in image to print data conversion. http://lists.reactivated.net/pipermail/fprint/2009-December/001405.html
-
- 10 Aug, 2008 2 commits
-
-
Daniel Drake authored
Cleans up the conditional compilation system
-
Pavel Herrman authored
-
- 19 Mar, 2008 1 commit
-
-
Daniel Drake authored
Enroll attempts may retry in some situations, so we need to reset the state to accept more scans.
-
- 03 Mar, 2008 1 commit
-
-
Daniel Drake authored
Fixes a crash and adds in a missing break statement
-
- 01 Mar, 2008 1 commit
-
-
Daniel Drake authored
Involved some internal overhaul/reorganisation. Nice side effect is that the synchronous API is now expressed purely in terms of the public async API.
-
- 16 Feb, 2008 2 commits
-
-
Daniel Drake authored
-
Daniel Drake authored
-
- 21 Nov, 2007 1 commit
-
-
Daniel Drake authored
-
- 17 Nov, 2007 2 commits
-
-
Daniel Drake authored
Fix the functions to conform to the documentation: -1 means non-imaging device, 0 means variable. Internally, -1 is used to represent variable height (to be noticably different from the memset-imposed default of zero).
-
Daniel Drake authored
I want to offer the ability for an application to view a binarized version of a scanned print. This lead onto a few changes: 1. Store minutiae and binarized data inside fp_img 2. Move resize code to the capture path, it previously happened much later. 3. Add fp_img_binarize() to return a new image in binarized form. 4. Add a BINARIZED_FORM flag to prevent an image being binarized again. In future, it would be nice to be able to binarize without detecting minutiae, but this involves some work on the NBIS interaction.
-
- 16 Nov, 2007 1 commit
-
-
Daniel Drake authored
Currently this is a dangling pointer if the image capture fails, and then we try to standardize an invalid pointer --> crash
-
- 15 Nov, 2007 1 commit
-
-
Daniel Drake authored
Added new API functions to obtain images, even when scans are bad, perhaps a useful way to show the user just how good/bad the scan actually was. Drivers and examples updated accordingly.
-
- 12 Nov, 2007 2 commits
-
-
Daniel Drake authored
aes4000 detects fewer minutiae and hence returns lower scores.
-
Daniel Drake authored
For example, AES2501 returns images that vary in height.
-
- 02 Nov, 2007 1 commit
-
-
Daniel Drake authored
Make it easier for application developers, don't have to care about this level of abstraction which we're intending to make superfluous to them.
-
- 28 Oct, 2007 2 commits
-
-
Daniel Drake authored
Drivers now have an ID number. These will be assigned by me and documented on the wiki. 0 cannot be used. Drivers now define a devtype for each device they initialise. This is to cope with the situation where a driver can support varying devices where their print data is incompatible (i.e. image scaling is totally changed). This doesn't apply to any existing supported devices. Print data no longer includes driver name, and includes driver ID instead. Paths to saved print data now include driver ID and devtype, and no longer include driver name. APIs exposed for converting a print_data into a blob which can then be loaded back again later. Useful for systems who don't want to use my simple storage system (which is only aimed at a single user). File format is now defined and will be documented on the wiki. The header is larger as we can no longer rely on directory paths in all scenarios. Print data compat check now checks devtype and driver ID.
-
Daniel Drake authored
uru4000 works splendiferously (YAY!) aes4000 is going to need some work though :(
-
- 27 Oct, 2007 3 commits
-
-
Daniel Drake authored
mindtct is mostly as-is for now, with just a couple of bits ripped out.
-
Daniel Drake authored
Creating by dimensions is likely not useful now that we can infer image size from a device in question.
-
Daniel Drake authored
Drivers now specify the size of the image they provide, and theres an API so that you can get the size of an image before you capture it.
-
- 26 Oct, 2007 1 commit
-
-
Daniel Drake authored
Also added new example: img_capture
-
- 23 Oct, 2007 1 commit
-
-
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.
-