view gui/bitmap.h @ 26395:71bd93e71a97

Restore grayscale decoding support with FFmpeg. Removing support was done due to a silly misunderstanding.
author diego
date Sun, 13 Apr 2008 00:03:11 +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 */