Mercurial > mplayer.hg
view Gui/bitmap.h @ 11345:97f11e488141
function convert_matrix() is fixed (off-by-one error) and it is now called with the optimal arguments so that it doesn't do unneeded work, the change was inspired by a comment from Alex
author | rik |
---|---|
date | Fri, 31 Oct 2003 22:22:46 +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 */