view gui/bitmap.h @ 25966:28316f2f8d26

Try to make fps float -> AVRational conversion work better. Might make sense to change this once we at least use double for fps everywhere.
author reimar
date Thu, 14 Feb 2008 17:38:52 +0000
parents 9d0b189ce1b2
children 4129c8cfa742
line wrap: on
line source

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