doc: Add fpi-img section to the docs

This commit is contained in:
Bastien Nocera 2018-11-09 13:52:26 +01:00
parent fe17dfe01d
commit 7402401057
3 changed files with 31 additions and 0 deletions

View file

@ -42,6 +42,7 @@
<xi:include href="xml/fpi-dev.xml"/>
<xi:include href="xml/fpi-ssm.xml"/>
<xi:include href="xml/fpi-poll.xml"/>
<xi:include href="xml/fpi-img.xml"/>
<xi:include href="xml/fpi-usb.xml"/>
</part>

View file

@ -196,6 +196,27 @@ fp_dev_set_instance_data
FP_INSTANCE_DATA
</SECTION>
<SECTION>
<INCLUDE>fpi-img.h</INCLUDE>
<FILE>fpi-img</FILE>
fp_minutiae
FP_IMG_V_FLIPPED
FP_IMG_H_FLIPPED
FP_IMG_COLORS_INVERTED
FP_IMG_BINARIZED_FORM
FP_IMG_PARTIAL
FP_IMG_STANDARDIZATION_FLAGS
fpi_img_new
fpi_img_new_for_imgdev
fpi_img_realloc
fpi_img_resize
fpi_std_sq_dev
fpi_mean_sq_diff_norm
</SECTION>
<SECTION>
<INCLUDE>fpi-usb.h</INCLUDE>
<FILE>fpi-usb</FILE>

View file

@ -48,6 +48,15 @@
* natural upright orientation.
*/
/**
* SECTION:fpi-img
* @title: Driver Image operations
*
* Those are the driver-specific helpers for #fp_img manipulation. See #fp_img's
* documentation for more information about data formats, and their uses in
* front-end applications.
*/
struct fp_img *fpi_img_new(size_t length)
{
struct fp_img *img = g_malloc0(sizeof(*img) + length);