view Gui/bitmap/bitmap.h @ 8031:ad62a544964c

Huge update, added native overlay support (no more need for dxr3view). This is still in testing state so I won't update the docs/Changelog just yet. By pre11 perhaps ;).
author mswitch
date Sat, 02 Nov 2002 01:18:54 +0000
parents 634d93c68912
children 30a9a6358ee9
line wrap: on
line source


#ifndef __MYSAMPLE
#define __MYSAMPLE

typedef struct _txSample
{
 unsigned int  Width;
 unsigned int  Height;
 unsigned int  BPP;
 unsigned long ImageSize;
 char *        Image;
} txSample;

#include "png/png.h"
#include "../../mp_msg.h"

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