view gui/bitmap.h @ 25561:1e215be6a749

Get rid of build system hackery to generate mga_crtc2_vid.o and rage128_vid.o. Instead, create files that #include mga_vid.c/radeon_vid.c with the proper #defines set. This has the added benefit of fixing dependency generation, which only works for existing .c files.
author diego
date Wed, 02 Jan 2008 22:00:34 +0000
parents 3f0d00abc073
children 9d0b189ce1b2
line wrap: on
line source

#ifndef GUI_BITMAP_H
#define GUI_BITMAP_H

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

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

#endif /* GUI_BITMAP_H */