view Gui/bitmap.h @ 17128:34f870d8e8a8

really clear frames to black instead of grey, and make sure one of those cleared frames is actually shown (and not a leftover from last film, which happened at least with ATI cards).
author reimar
date Wed, 07 Dec 2005 16:04:14 +0000
parents 22572f1dafa3
children
line wrap: on
line source

#ifndef __BITMAP_H
#define __BITMAP_H

typedef struct _txSample
{
 unsigned long Width;
 unsigned long Height;
 unsigned int  BPP;
 unsigned long ImageSize;
 char *        Image;
} txSample;

extern int bpRead( char * fname, txSample * bf );
extern int conv24to32( txSample * bf );
extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
extern void Convert1to32( txSample * in,txSample * out );

#endif /* __BITMAP_H */