view Gui/bitmap.h @ 3366:005b875788f7

rage128_vid are fully works!!! {Also there works brightness and saturation control ;) (Cause: there was saturation == 0 and as effect - grayscaled output). (on Radeons brightness and saturation still don't work)} Reversed color and video key definition for radeons - they caused problems
author nick
date Fri, 07 Dec 2001 09:56:39 +0000
parents 5fa8c079ee3c
children 3473ca9ef158
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 "tga/tga.h"
#include "bmp/bmp.h"
#include "png/png.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