Magellan Linux

Contents of /trunk/linterm_tools/fw_builder/bootsplash/fbmngplay.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 658 - (show annotations) (download)
Mon Jan 14 16:57:24 2008 UTC (16 years, 3 months ago) by niro
File MIME type: text/plain
File size: 1180 byte(s)
initial import

1 /*
2 * fbmngplay - fb console MNG player.
3 * (c) 2001-2002 by Stefan Reinauer, <stepan@suse.de>
4 *
5 * This program is based on mngplay, part of libmng, written and (C) by
6 *
7 * Ralph Giles <giles@ashlu.bc.ca>
8 *
9 * This program my be redistributed under the terms of the
10 * GNU General Public Licence, version 2, or at your preference,
11 * any later version.
12 */
13
14 #ifndef __FBMNGPLAY_H
15 #define __FBMNGPLAY_H
16
17 #include <libmng.h>
18
19 #define FBMNGPLAY_VERSION "0.5.1"
20
21 /* structure for keeping track of our mng stream inside the callbacks */
22 typedef struct {
23 FILE *file; /* pointer to the file we're decoding */
24 char *filename; /* pointer to the file's path/name */
25 mng_uint32 delay; /* ticks to wait before resuming decode */
26 unsigned char *display; /* pointer to display */
27 unsigned char *copybuffer;
28 unsigned char *background;
29 mng_handle mng; /* mng handle */
30 int width, height;
31 int fbwidth, fbheight, fbbpp, fbrow;
32 int fbx, fby;
33 int fbredo, fbredl, fbgreeno, fbgreenl, fbblueo, fbbluel;
34 int alpha;
35 } mngstuff;
36
37 extern volatile int run;
38 extern int verbose;
39 extern int buffered;
40 extern int dynpos;
41 extern int waitsignal;
42 extern int delta;
43 extern int sconly;
44
45 #endif