view Gui/bitmap.h @ 15076:1a02a23202c2

Stop streaming if we got a server error or message on pnm streaming. This is needed to stop playback for pnm streams where mplayer can't authenticate, and avoid an endless list of "input pnm: read error".
author rtognimp
date Sat, 09 Apr 2005 13:44:43 +0000
parents 22572f1dafa3
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 */