Mercurial > mplayer.hg
view Gui/bitmap.h @ 10168:22572f1dafa3
some fixes and bigendian fix for 32bpp pngs
author | alex |
---|---|
date | Fri, 23 May 2003 17:04:24 +0000 |
parents | aa55f2f0b057 |
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 */