1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-11 17:37:23 +00:00
mpv/Gui/bitmap.h
alex 13d89cd03d some fixes and bigendian fix for 32bpp pngs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10169 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-23 17:04:24 +00:00

19 lines
440 B
C

#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 */