view Gui/bitmap.h @ 10550:7860a71ba82c

For a request by Gabu, i've cut & fix a part of Joey's dvd aid switching patch, to always use the first audio track of DVD, unless -alang or -aid is used. I think it will be almost always teh id 128. (actual number comes from the .IFO) (reported ok - Gabu)
author gabucino
date Sat, 09 Aug 2003 14:23:16 +0000
parents 22572f1dafa3
children
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;

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 /* __BITMAP_H */