view Gui/bitmap.h @ 19831:a9d072fde78f

r19829: Improve TrueType font installation section r19828: Move subtitles and OSD section from the installation to the usage chapter r19827: Slightly restructure font installation section r19825: Truetype fonts now preferred over bitmap fonts, rewrite the font installation r19823: Remove mpsub section, the format is documented in DOCS/tech r19820: Marillat packages binary codecs, not bitmap fonts
author voroshil
date Thu, 14 Sep 2006 09:41:06 +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 */