view gui/bitmap.h @ 26072:99bc12329d38

configure: define ENABLE_ENCODERS for FFmpeg Compilation was broken as FFmpeg's dsputil_mmx.c now (ab)uses this variable. Fix by adding "#define ENABLE_ENCODERS 1" to generated config.h.
author uau
date Tue, 26 Feb 2008 05:18:56 +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 */