ungif.h

Go to the documentation of this file.
00001 #ifndef UNGIF_H_HEADER_INCLUDED
00002 #define UNGIF_H_HEADER_INCLUDED
00003 
00004 #ifdef HAVE_GIF         /* GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF */
00005 
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif
00009 
00010 #ifdef __GNUC__
00011 #define ASIM_PrintGifError() do{ fprintf( stderr, "%s():%d:<%s> ",__FUNCTION__, __LINE__, path?path:"null" ); PrintGifError(); }while(0)
00012 #else
00013 #define ASIM_PrintGifError() do{ PrintGifError(); }while(0)
00014 #endif
00015 
00016 #define GIF_GCE_DELAY_BYTE_LOW  1
00017 #define GIF_GCE_DELAY_BYTE_HIGH 2
00018 #define GIF_GCE_TRANSPARENCY_BYTE       3
00019 #define GIF_NETSCAPE_REPEAT_BYTE_LOW    1
00020 #define GIF_NETSCAPE_REPEAT_BYTE_HIGH   2
00021 
00022 void free_gif_saved_image( SavedImage *sp, Bool reusable );
00023 void free_gif_saved_images( SavedImage *images, int count );
00024 
00025 
00026 int fread_gif( GifFileType *gif, GifByteType* buf, int len );
00027 GifFileType* open_gif_read( FILE *in_stream );
00028 
00029 int get_gif_image_desc( GifFileType *gif, SavedImage *im );
00030 
00031 int get_gif_saved_images( GifFileType *gif, int subimage, SavedImage **ret, int *ret_images  );
00032 
00033 int write_gif_saved_images( GifFileType *gif, SavedImage *images, unsigned int count );
00034 
00035 #ifdef __cplusplus
00036 }
00037 #endif
00038 
00039 #endif                  /* GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF GIF */
00040 
00041 
00042 #endif

Generated on Tue Jul 5 14:13:32 2011 for ROOT_528-00b_version by  doxygen 1.5.1