view gui/bitmap.h @ 23636:46a6e2183078

define HAVE_FAST_UNALIGNED on x86 (32 and 64 bit). Please add more architectures if you know they support unaligned access reasonably fast.
author reimar
date Sun, 24 Jun 2007 14:39:11 +0000
parents 019bfce0c0dc
children f15bce7943b9
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;

int bpRead( char * fname, txSample * bf );
void Convert32to1( txSample * in,txSample * out,int adaptivlimit );

#endif /* __BITMAP_H */