Mercurial > mplayer.hg
view gui/bitmap.h @ 25065:54dba785e683
New media format negotiation code:
loop through all available formats trying to
establish connection between pins.
Negotiation stops either when all formats are rejected
(error reported in this case) or when connection is
established (which can happen only when current media
format is accepted by both of the pins).
author | voroshil |
---|---|
date | Sun, 18 Nov 2007 11:13:28 +0000 |
parents | 3f0d00abc073 |
children | 9d0b189ce1b2 |
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 */