Go to the source code of this file.
Functions | |
GpivImage * | gpiv_alloc_img (const GpivImagePar *image_par) |
gchar * | gpiv_check_alloc_img (const GpivImage *image) |
void | gpiv_free_img (GpivImage *gpiv_image) |
GpivImage * | gpiv_cp_img (const GpivImage *image) |
gchar * | gpiv_cp_img_data (const GpivImage *image_src, GpivImage *image_dest) |
SOURCES: lib/img_utils.c
LAST MODIFICATION DATE:
Definition in file gpiv-img_utils.h.
GpivImage* gpiv_alloc_img | ( | const GpivImagePar * | image_par | ) |
Allocates memory for GpivImage frames
[in] | image_par | image parameters |
gchar* gpiv_check_alloc_img | ( | const GpivImage * | image | ) |
Checks if image frames have been allocated TODO BUGFIX: check on correct size
[in] | image | image to be checked if allocated |
Duplicates image. The returned image will have to be freed with gpiv_free_img when no longer needed.
[in] | image | source image |
Copies contents of img_src to img_dest. Image_src and image_dest will have to be allocated with gpiv_alloc_img before and will have to be freed with gpiv_free_img when no longer needed.
[in] | image_src | source image to be copied |
[out] | image_dest | destination image, copy of source |
void gpiv_free_img | ( | GpivImage * | gpiv_image | ) |
Frees memory of gpiv_image
[in] | gpiv_image | image structure containging data frames and parameters |