1 
2 /*
3  * xa_replay.h
4  *
5  * Copyright (C) 1995-1998,1999 by Mark Podlipec.
6  * All rights reserved.
7  *
8  * This software may be freely used, copied and redistributed without
9  * fee for non-commerical purposes provided that this copyright
10  * notice is preserved intact on all copies.
11  *
12  * There is no warranty or other guarantee of fitness of this software.
13  * It is provided solely "as is". The author disclaims all
14  * responsibility and liability with respect to this software's usage
15  * or its effect upon hardware or computer systems.
16  *
17  */
18 
19 #include "xanim.h"
20 
21 typedef struct ARM_FRAME_STRUCT
22 {
23   xaULONG time;
24   xaULONG timelo;
25   XA_ACTION *act;
26   struct ARM_FRAME_STRUCT *next;
27 } ARM_FRAME;
28 
29 
30 typedef struct
31 {
32   xaULONG vid_codec;	/* */
33   xaULONG width;		/*I            */
34   xaULONG height;		/*I            */
35   xaULONG depth;		/*I  16 or 8 */
36   xaULONG aud_codec;	/*               */
37   xaULONG aud_freq;	/*F  audio freq HZ */
38   xaULONG aud_chans;	/*I  audio chans */
39   xaULONG aud_prec;	/*I  snd precision  linear/unsigned */
40   xaULONG fp_chunk;	/*I  frames per chunk */
41   xaULONG chunk_cnt;	/*I  chunk count */
42   xaULONG ev_chk_size;	/*I  even chunk size */
43   xaULONG od_chk_size;	/*I  odd chunk size */
44   xaULONG idx_offset;	/*I  offset to chunk index */
45   xaULONG sprite_off;	/*I  offset to helpful sprite??? */
46   xaULONG sprite_size;	/*I  size of sprite info */
47   xaULONG key_offset;	/*I  offset to key frames  -1, 0 no keys */
48   double fps;		/*F  frames per second */
49 } ARM_HDR;
50 
51 #define ARM_VIDEO_MOVL_RGB  0
52 #define ARM_VIDEO_MOVL_YUV  1
53 #define ARM_VIDEO_MOVB_RGB  2
54 #define ARM_VIDEO_MOVB_YUV  3
55 #define ARM_VIDEO_UNK    99
56 
57 #define ARM_AUDIO_NONE    0
58 #define ARM_AUDIO_FORM1   1
59 #define ARM_AUDIO_UNK    99
60 
61 #define ARM_VIDEO_RGB 0
62 #define ARM_VIDEO_YUV 1
63 
64