view gui/bitmap.h @ 25890:374816d4d565

Disable reading of flac metadata, mere metadata is not worth such a mess. If you want this, fix the implementation to not crash at least occasionally, or wait till I get bored enough to fix it.
author reimar
date Tue, 29 Jan 2008 22:04:46 +0000
parents 9d0b189ce1b2
children 4129c8cfa742
line wrap: on
line source

#ifndef GUI_BITMAP_H
#define GUI_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 /* GUI_BITMAP_H */