Mercurial > mplayer.hg
view Gui/bitmap.h @ 22398:49f01f8fbd60
Rework of copying samples from directshow codecs.
Using callback function provided by filter to store and process samples from
codec instead of explicit typecast to DS_Filter.
author | voroshil |
---|---|
date | Fri, 02 Mar 2007 18:52:10 +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 */