EGIFLIB.C File Reference

Go to the source code of this file.

Defines

#define COMMENT_EXT_FUNC_CODE   'C'
#define GIF_STAMP87   "GIF87a"
#define GIF_STAMP89   "GIF89a"
#define ZL_MAX_CODE   4095
#define FILE_STATE_WRITE   0x01
#define FILE_STATE_SCREEN   0x02
#define FILE_STATE_IMAGE   0x04
#define FLUSH_OUTPUT   4096
#define FIRST_CODE   4097
#define IS_WRITEABLE(Private)   (Private -> FileState & FILE_STATE_WRITE)

Functions

GifFileTypeEGifOpenFileName (char *FileName, long TestExistance, long version)
GifFileTypeEGifOpenFileHandle (char *filename, long version)
long EGifPutScreenDesc (GifFileType *GifFile, long Width, long Height, long ColorRes, long BackGround, long BitsPerPixel, GifColorType *ColorMap)
long EGifPutImageDesc (GifFileType *GifFile, long Left, long Top, long Width, long Height, long Interlace, long BitsPerPixel, GifColorType *ColorMap)
long EGifPutControlDesc (GifFileType *GifFile, long transp, ByteType transpid, long delay, long dummy)
long EGifPutBrowserControlDesc (GifFileType *GifFile, long repeat)
long EGifPutLine (GifFileType *GifFile, PixelType *Line, long LineLen)
long EGifPutCode (GifFileType *GifFile, long CodeSize, ByteType *CodeBlock)
long EGifPutCodeNext (GifFileType *GifFile, ByteType *CodeBlock)
long EGifCloseFile (GifFileType *GifFile)

Variables

long _GifError


Define Documentation

#define COMMENT_EXT_FUNC_CODE   'C'

Definition at line 16 of file EGIFLIB.C.

#define GIF_STAMP87   "GIF87a"

Definition at line 17 of file EGIFLIB.C.

Referenced by EGifOpenFileHandle().

#define GIF_STAMP89   "GIF89a"

Definition at line 18 of file EGIFLIB.C.

Referenced by EGifOpenFileHandle().

#define ZL_MAX_CODE   4095

Definition at line 19 of file EGIFLIB.C.

#define FILE_STATE_WRITE   0x01

Definition at line 21 of file EGIFLIB.C.

Referenced by EGifOpenFileHandle().

#define FILE_STATE_SCREEN   0x02

Definition at line 22 of file EGIFLIB.C.

Referenced by EGifPutScreenDesc().

#define FILE_STATE_IMAGE   0x04

Definition at line 23 of file EGIFLIB.C.

Referenced by EGifPutImageDesc().

#define FLUSH_OUTPUT   4096

Definition at line 25 of file EGIFLIB.C.

#define FIRST_CODE   4097

Definition at line 26 of file EGIFLIB.C.

#define IS_WRITEABLE ( Private   )     (Private -> FileState & FILE_STATE_WRITE)


Function Documentation

GifFileType* EGifOpenFileName ( char *  FileName,
long  TestExistance,
long  version 
)

Definition at line 80 of file EGIFLIB.C.

References EGifOpenFileHandle().

Referenced by _BuildGif().

GifFileType* EGifOpenFileHandle ( char *  filename,
long  version 
)

long EGifPutScreenDesc ( GifFileType GifFile,
long  Width,
long  Height,
long  ColorRes,
long  BackGround,
long  BitsPerPixel,
GifColorType ColorMap 
)

long EGifPutImageDesc ( GifFileType GifFile,
long  Left,
long  Top,
long  Width,
long  Height,
long  Interlace,
long  BitsPerPixel,
GifColorType ColorMap 
)

long EGifPutControlDesc ( GifFileType GifFile,
long  transp,
ByteType  transpid,
long  delay,
long  dummy 
)

Definition at line 281 of file EGIFLIB.C.

References _GifError, E_GIF_ERR_NotWriteable, ERROR, IS_WRITEABLE, and OK.

Referenced by _BuildGif().

long EGifPutBrowserControlDesc ( GifFileType GifFile,
long  repeat 
)

Definition at line 307 of file EGIFLIB.C.

References _GifError, E_GIF_ERR_NotWriteable, ERROR, IS_WRITEABLE, and OK.

Referenced by _BuildGif().

long EGifPutLine ( GifFileType GifFile,
PixelType Line,
long  LineLen 
)

Definition at line 337 of file EGIFLIB.C.

References _GifError, E_GIF_ERR_DataTooBig, E_GIF_ERR_NotWriteable, ERROR, and IS_WRITEABLE.

Referenced by _BuildGif().

long EGifPutCode ( GifFileType GifFile,
long  CodeSize,
ByteType CodeBlock 
)

Definition at line 364 of file EGIFLIB.C.

References _GifError, E_GIF_ERR_NotWriteable, EGifPutCodeNext(), ERROR, and IS_WRITEABLE.

long EGifPutCodeNext ( GifFileType GifFile,
ByteType CodeBlock 
)

Definition at line 387 of file EGIFLIB.C.

References _GifError, E_GIF_ERR_WriteFailed, ERROR, and OK.

Referenced by EGifPutCode().

long EGifCloseFile ( GifFileType GifFile  ) 

Definition at line 412 of file EGIFLIB.C.

References _GifError, E_GIF_ERR_CloseFailed, E_GIF_ERR_NotWriteable, ERROR, IS_WRITEABLE, OK, and X__Free.

Referenced by _BuildGif().


Variable Documentation

long _GifError


Generated on Sun Apr 27 14:20:17 2014 for OpenFX by  doxygen 1.5.6