diff --git a/libfprint/drivers/aes3k.c b/libfprint/drivers/aes3k.c index ee80230..59c91bc 100644 --- a/libfprint/drivers/aes3k.c +++ b/libfprint/drivers/aes3k.c @@ -94,7 +94,7 @@ static void img_cb(struct libusb_transfer *transfer) /* FIXME: this is an ugly hack to make the image big enough for NBIS * to process reliably */ - img = fpi_im_resize(tmp, aesdev->enlarge_factor, aesdev->enlarge_factor); + img = fpi_img_resize(tmp, aesdev->enlarge_factor, aesdev->enlarge_factor); fp_img_free(tmp); fpi_imgdev_image_captured(dev, img); diff --git a/libfprint/fpi-img-pixman.c b/libfprint/fpi-img-pixman.c index 1b4ca06..4704461 100644 --- a/libfprint/fpi-img-pixman.c +++ b/libfprint/fpi-img-pixman.c @@ -23,7 +23,7 @@ #include "fp_internal.h" -struct fp_img *fpi_im_resize(struct fp_img *img, unsigned int w_factor, unsigned int h_factor) +struct fp_img *fpi_img_resize(struct fp_img *img, unsigned int w_factor, unsigned int h_factor) { int new_width = img->width * w_factor; int new_height = img->height * h_factor; diff --git a/libfprint/fpi-img.h b/libfprint/fpi-img.h index 7867b4a..666083c 100644 --- a/libfprint/fpi-img.h +++ b/libfprint/fpi-img.h @@ -47,7 +47,7 @@ struct fp_img { struct fp_img *fpi_img_new(size_t length); struct fp_img *fpi_img_new_for_imgdev(struct fp_img_dev *dev); struct fp_img *fpi_img_realloc(struct fp_img *img, size_t newsize); -struct fp_img *fpi_im_resize(struct fp_img *img, unsigned int w_factor, unsigned int h_factor); +struct fp_img *fpi_img_resize(struct fp_img *img, unsigned int w_factor, unsigned int h_factor); int fpi_std_sq_dev(const unsigned char *buf, int size); int fpi_mean_sq_diff_norm(unsigned char *buf1, unsigned char *buf2, int size);