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 X__Realloc | ( | p, | |||
s | ) | GlobalReAlloc((HGLOBAL)p,s,GMEM_MOVEABLE) |
#define GIFCOLOURS 256 |
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 | |||
) |
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 | |||
) |
Definition at line 289 of file AVI_DLL.C.
References appendAVIfile(), closeAVIfile(), colorstats0, colorstats1, configureAVIfile(), FALSE, getcolor(), GIFCOLOURS, lpBitmapHeader, min, nCOLOUR, openAVIfile(), ResolutionX, ResolutionY, SortColours(), tzeros, UnCompressWordLine(), X__Free, and X__Malloc.
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.