GIF_DLL.C File Reference

Go to the source code of this file.

Defines

#define X__Malloc(s)   GlobalAlloc(GMEM_FIXED,s)
#define X__Free(p)   GlobalFree((HGLOBAL)p)
#define X__Realloc(p, s)   GlobalReAlloc((HGLOBAL)p,s,GMEM_MOVEABLE)
#define GOOD   2
#define GIFCOLOURS   256

Functions

long getcolor (unsigned short crgb, long Npalette)
void SortColours (long Ngif, long N_colours)
void UnCompressWordLine (short bufsize, short *buffer, unsigned short *output)
void _BuildGif (HWND parent_window, HWND status_window, int range_f, int range_l, char *flic_file, char *stem_file, int ResolutionX, int ResolutionY, int nCOLOUR, long speed, long tzeros, unsigned long *cstats0, unsigned short *cstats1)
BOOL WINAPI DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)

Variables

GifColorType GifColourMap [GIFCOLOURS]
GifFileTypeGifFile
unsigned char * decoderline


Define Documentation

#define X__Malloc (  )     GlobalAlloc(GMEM_FIXED,s)

Definition at line 37 of file GIF_DLL.C.

#define X__Free (  )     GlobalFree((HGLOBAL)p)

Definition at line 38 of file GIF_DLL.C.

#define X__Realloc ( p,
 )     GlobalReAlloc((HGLOBAL)p,s,GMEM_MOVEABLE)

Definition at line 39 of file GIF_DLL.C.

#define GOOD   2

Definition at line 46 of file GIF_DLL.C.

#define GIFCOLOURS   256

Definition at line 47 of file GIF_DLL.C.


Function Documentation

long getcolor ( unsigned short  crgb,
long  Npalette 
)

void SortColours ( long  Ngif,
long  N_colours 
)

void UnCompressWordLine ( short  bufsize,
short *  buffer,
unsigned short *  output 
)

void _BuildGif ( HWND  parent_window,
HWND  status_window,
int  range_f,
int  range_l,
char *  flic_file,
char *  stem_file,
int  ResolutionX,
int  ResolutionY,
int  nCOLOUR,
long  speed,
long  tzeros,
unsigned long *  cstats0,
unsigned short *  cstats1 
)

BOOL WINAPI DllMain ( HANDLE  hDLL,
DWORD  dwReason,
LPVOID  lpReserved 
)

Definition at line 300 of file GIF_DLL.C.

References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, and TRUE.


Variable Documentation

Definition at line 58 of file GIF_DLL.C.

Definition at line 59 of file GIF_DLL.C.

Referenced by EGifOpenFileHandle().

unsigned char* decoderline

Definition at line 60 of file GIF_DLL.C.


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