annotate Gui/bitmap.h @ 6475:837ca6fd4adf

Checked the return value when retrieving the protocol level.
author bertrand
date Fri, 21 Jun 2002 06:25:48 +0000
parents 3473ca9ef158
children 634d93c68912
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 #ifndef __MYSAMPLE
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3 #define __MYSAMPLE
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 typedef struct _txSample
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
6 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7 unsigned int Width;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 unsigned int Height;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 unsigned int BPP;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10 unsigned long ImageSize;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 char * Image;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12 } txSample;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 #include "tga/tga.h"
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15 #include "bmp/bmp.h"
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16 #include "png/png.h"
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 2717
diff changeset
17 #include "../../mp_msg.h"
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
19 extern int bpRead( char * fname, txSample * bf );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
20 extern int conv24to32( txSample * bf );
2717
5fa8c079ee3c fix small xshape bug
pontscho
parents: 1991
diff changeset
21 extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
5fa8c079ee3c fix small xshape bug
pontscho
parents: 1991
diff changeset
22 extern void Convert1to32( txSample * in,txSample * out );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23
1991
dee4b2ea5e5b add gui support to config scripts, and fixed some warning.
pontscho
parents: 1693
diff changeset
24 #endif