view gui/bitmap.h @ 24122:0efabdc34ad4

Add -mstackrealign to CFLAGS on Darwin, fixes loading WMV9 DLL. patch by Ulion, ulion2002 gmail com
author diego
date Fri, 24 Aug 2007 12:49:59 +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 */