view Gui/bitmap.h @ 8335:0e1d45e44813

set channel count to a saner value if the card reports an unknown audio mode
author henry
date Tue, 03 Dec 2002 13:24:10 +0000
parents 30a9a6358ee9
children aa55f2f0b057
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;

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