view gui/bitmap.h @ 26368:92f1c7f009c4

Makefile: Fix compilation on systems with dvb support libmenu/menu_dvbin.c was added to sources if HAVE_DVBIN was defined, even if LIBMENU was not defined. This caused a compilation failure on systems with dvb support unless you ran configure with --enable-menu. Fix by making compilation of menu_dvbin conditional on both HAVE_DVBIN and LIBMENU.
author uau
date Fri, 11 Apr 2008 23:06:30 +0000
parents 4129c8cfa742
children b0a7b35b78d2
line wrap: on
line source

#ifndef MPLAYER_GUI_BITMAP_H
#define MPLAYER_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 /* MPLAYER_GUI_BITMAP_H */