00001 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 c-style: "K&R" -*- */ 00002 00003 /* 00004 libgpiv - library for Particle Image Velocimetry 00005 00006 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Gerber van der Graaf 00007 00008 This file is part of libgpiv. 00009 00010 Libgpiv is free software; you can redistribute it and/or modify 00011 it under the terms of the GNU General Public License as published by 00012 the Free Software Foundation; either version 2, or (at your option) 00013 any later version. 00014 00015 This program is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 GNU General Public License for more details. 00019 00020 You should have received a copy of the GNU General Public License 00021 along with this program; if not, write to the Free Software Foundation, 00022 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00023 00024 00025 00026 00027 ------------------------------------------------------------------------------- 00028 FILENAME: gpiv-img_utils.h 00029 LIBRARY: libgpiv: 00030 EXTERNAL FUNCTIONS: 00031 gpiv_alloc_img 00032 gpiv_check_alloc_img 00033 gpiv_free_img 00034 gpiv_cp_img 00035 gpiv_cp_img_data 00036 00037 gpiv_mpi_bcast_image 00038 00039 LAST MODIFICATION DATE: $Id: gpiv-img_utils.h,v 1.2 2008-09-25 13:19:53 gerber Exp $ 00040 --------------------------------------------------------------------------- */ 00050 #ifndef __LIBGPIV_IMG_UTILS_H__ 00051 #define __LIBGPIV_IMG_UTILS_H__ 00052 00053 00060 GpivImage * 00061 gpiv_alloc_img (const GpivImagePar *image_par 00062 ); 00063 00064 00072 gchar * 00073 gpiv_check_alloc_img (const GpivImage *image 00074 ); 00075 00076 00077 00084 void 00085 gpiv_free_img (GpivImage *gpiv_image 00086 ); 00087 00088 00098 GpivImage * 00099 gpiv_cp_img (const GpivImage *image 00100 ); 00101 00102 00112 gchar * 00113 gpiv_cp_img_data (const GpivImage *image_src, 00114 GpivImage *image_dest 00115 ); 00116 #ifdef ENABLE_MPI 00117 00126 void 00127 gpiv_img_mpi_bcast_image (GpivImage *image, 00128 const gboolean alloc_frame 00129 ); 00130 00137 void 00138 gpiv_img_mpi_bcast_imgframe (GpivImage *image 00139 ); 00140 00141 #endif /* ENABLE_MPI */ 00142 #endif /* __LIBGPIV_IMG_UTILS_H__ */