AVI_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 fflush(a)   0
#define GOOD   2
#define GIFCOLOURS   256
#define ALIGNULONG(i)   ((i+3)/4*4)

Functions

void configureAVIfile (HWND, char *, void *)
void openAVIfile (char *Name, LPBITMAPINFOHEADER lpbi, int compress, long speed)
void appendAVIfile (LPBITMAPINFOHEADER lpbi)
void closeAVIfile (void)
long getcolor (unsigned short crgb, long Npalette)
void SortColours (long Ngif, long N_colours)
void UnCompressWordLine (short bufsize, short *buffer, unsigned short *output)
void _BuildAvi (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)


Define Documentation

#define X__Malloc (  )     GlobalAlloc(GMEM_FIXED,s)

Definition at line 18 of file AVI_DLL.C.

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

Definition at line 19 of file AVI_DLL.C.

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

Definition at line 20 of file AVI_DLL.C.

#define fflush (  )     0

Definition at line 23 of file AVI_DLL.C.

#define GOOD   2

Definition at line 46 of file AVI_DLL.C.

#define GIFCOLOURS   256

Definition at line 47 of file AVI_DLL.C.

Referenced by _BuildAvi(), and _BuildGif().

#define ALIGNULONG (  )     ((i+3)/4*4)

Definition at line 48 of file AVI_DLL.C.


Function Documentation

void configureAVIfile ( HWND  ,
char *  ,
void *   
)

void openAVIfile ( char *  Name,
LPBITMAPINFOHEADER  lpbi,
int  compress,
long  speed 
)

void appendAVIfile ( LPBITMAPINFOHEADER  lpbi  ) 

void closeAVIfile ( void   ) 

static long getcolor ( unsigned short  crgb,
long  Npalette 
)

Definition at line 166 of file AVI_DLL.C.

References colorstats1.

Referenced by _BuildAvi(), and _BuildGif().

static void SortColours ( long  Ngif,
long  N_colours 
)

Definition at line 187 of file AVI_DLL.C.

References colorstats0, and colorstats1.

Referenced by _BuildAvi(), and _BuildGif().

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

Definition at line 131 of file AVI_DLL.C.

Referenced by _BuildAvi(), and _BuildGif().

void _BuildAvi ( 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 420 of file AVI_DLL.C.

References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, and TRUE.


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