view gui/bitmap.h @ 25340:b6107034e981

support for xtensa CPU architecture patch by Dan Nicolaescu (dann ics.uci edu), Reimar and me
author diego
date Tue, 11 Dec 2007 22:37:36 +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 */