Main Page | Modules | Class List | Directories | File List | Class Members | File Members

image_gla_float64.h

00001 
00012 /* This library is free software; you can redistribute it and/or
00013    modify it under the terms of the GNU Lesser General Public
00014    License as published by the Free Software Foundation; either
00015    version 2.1 of the License, or (at your option) any later version.
00016 
00017    This library is distributed in the hope that it will be useful,
00018    but WITHOUT ANY WARRANTY; without even the implied warranty of
00019    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020    Lesser General Public License for more details.
00021 
00022    You should have received a copy of the GNU Lesser General Public
00023    License along with this library; if not, write to the Free Software
00024    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 */
00026 
00027 #ifndef _GAN_IMAGE_GLA_FLOAT64_H
00028 #define _GAN_IMAGE_GLA_FLOAT64_H
00029 
00030 #include <gandalf/common/misc_defs.h>
00031 
00032 #ifdef GAN_FLOAT64
00033 
00034 #ifdef GAN_GENERATE_DOCUMENTATION
00035 
00036 #define GAN_PIXEL Gan_GLAPixel_f64
00037 #define GAN_PIXEL_FORMAT grey-level alpha
00038 #define GAN_PIXEL_TYPE 64-bit float
00039 
00040 #define GAN_IMAGE_FORM_GEN gan_image_form_gen_gla_f64
00041 #define GAN_IMAGE_SET_GEN gan_image_set_gen_gla_f64
00042 #define GAN_IMAGE_ALLOC gan_image_alloc_gla_f64
00043 #define GAN_IMAGE_ALLOC_DATA gan_image_alloc_data_gla_f64
00044 #define GAN_IMAGE_FORM gan_image_form_gla_f64
00045 #define GAN_IMAGE_FORM_DATA gan_image_form_data_gla_f64
00046 #define GAN_IMAGE_SET gan_image_set_gla_f64
00047 #define GAN_IMAGE_SET_PIX gan_image_set_pix_gla_f64
00048 #define GAN_IMAGE_GET_PIX gan_image_get_pix_gla_f64
00049 #define GAN_IMAGE_GET_PIXPTR gan_image_get_pixptr_gla_f64
00050 #define GAN_IMAGE_GET_PIXARR gan_image_get_pixarr_gla_f64
00051 #define GAN_IMAGE_FILL_CONST gan_image_fill_const_gla_f64
00052 #define GAN_IMAGE_GET_ACTIVE_SUBWINDOW gan_image_get_active_subwindow_gla_f64
00053 #define GAN_IMAGE_MASK_WINDOW gan_image_mask_window_gla_f64
00054 #define GAN_IMAGE_CLEAR_WINDOW gan_image_clear_window_gla_f64
00055 
00056 #include <gandalf/image/image_colour_noc.h>
00057 
00058 #else
00059 
00060 #if (SIZEOF_DOUBLE == 8)
00061 
00062 #include <gandalf/image/image_gla_double.h>
00063 
00064 #define gan_image_form_gen_gla_f64(img,h,w,s,a,pdata,pdsize,rdata,rdsize) \
00065         gan_image_form_gen_gla_d(img,h,w,s,a,pdata,pdsize,rdata,rdsize)
00066 #define gan_image_set_gen_gla_f64(img,h,w,s,a) \
00067         gan_image_set_gen_gla_d(img,h,w,s,a)
00068 #define gan_image_set_pix_gla_f64(img,row,col,val) \
00069         gan_image_set_pix_gla_d(img,row,col,val)
00070 #define gan_image_get_pix_gla_f64(img,row,col) \
00071         gan_image_get_pix_gla_d(img,row,col)
00072 #define gan_image_get_pixptr_gla_f64(img,row,col) \
00073         gan_image_get_pixptr_gla_d(img,row,col)
00074 #define gan_image_get_pixarr_gla_f64(img) \
00075         gan_image_get_pixarr_gla_d(img)
00076 #define gan_image_fill_const_gla_f64(img,val) \
00077         gan_image_fill_const_gla_d(img,val)
00078 #define gan_image_alloc_gla_f64(h,w) gan_image_alloc_gla_d(h,w)
00079 #define gan_image_form_gla_f64(img,h,w) gan_image_form_gla_d(img,h,w)
00080 #define gan_image_alloc_data_gla_f64(h,w,s,pd,pds,rd,rds) \
00081         gan_image_alloc_data_gla_d(h,w,s,pd,pds,rd,rds)
00082 #define gan_image_form_data_gla_f64(img,h,w,s,pd,pds,rd,rds) \
00083         gan_image_form_data_gla_d(img,h,w,s,pd,pds,rd,rds)
00084 #define gan_image_set_gla_f64(img,h,w) gan_image_set_gla_d(img,h,w)
00085 #define gan_assert_image_grey_f64(img) gan_assert_image_grey_d(img)
00086 
00087 #else
00088 
00089 #error "64-bit float type conflict"
00090 
00091 #endif /* #if (SIZEOF_DOUBLE == 8) */
00092 
00093 #endif /* #ifdef GAN_GENERATE_DOCUMENTATION */
00094 
00095 #endif /* #ifdef GAN_FLOAT64 */
00096 
00097 #endif /* #ifndef _GAN_IMAGE_GLA_FLOAT64_H */

Generated on Sat May 21 23:52:47 2005 by  doxygen 1.4.3