home *** CD-ROM | disk | FTP | other *** search
/ Dream 44 / Amiga_Dream_44.iso / Linux / Apps / xanim.tgz / xanim / xanim27064 / xa_jmov.h < prev    next >
C/C++ Source or Header  |  1997-01-26  |  2KB  |  57 lines

  1.  
  2. /*
  3.  * xa_jmov.h
  4.  *
  5.  * Copyright (C) 1995,1996,1997 by Mark Podlipec. 
  6.  * All rights reserved.
  7.  *
  8.  * This software may be freely copied, modified and redistributed without
  9.  * fee for non-commerical purposes provided that this copyright notice is
  10.  * preserved intact on all copies and modified copies.
  11.  * 
  12.  * There is no warranty or other guarantee of fitness of this software.
  13.  * It is provided solely "as is". The author(s) disclaim(s) 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 JMOV_FRAME_STRUCT
  22. {
  23.   xaULONG time;
  24.   xaULONG timelo;
  25.   XA_ACTION *act;
  26.   struct JMOV_FRAME_STRUCT *next;
  27. } JMOV_FRAME;
  28.  
  29.  
  30. typedef struct
  31. {
  32.   xaULONG version;
  33.   xaULONG fps;            /* frames per second */
  34.   xaULONG frames;         /* total video frames */
  35.   xaULONG width;
  36.   xaULONG height;
  37.   xaULONG bandwidth;      /* 1kbytes/sec need to playback */
  38.   xaULONG qfactor;        /* quantization scaling factor */
  39.   xaULONG mapsize;        /* colors in colormap */
  40.   xaULONG indexbuf;       /* offset in file of frame indexes */
  41.   xaULONG tracks;         /* num of audio tracks */
  42.   xaULONG volbase;        /* base volume */
  43.   xaULONG audioslice;     /* audio bytes per frame */
  44. /*Audio_hdr */          /* Audio_hdr?!?  for what machine?? */
  45.   xaULONG freq;
  46.   xaULONG chans;
  47.   xaULONG prec;
  48.   xaULONG codec;
  49. /*filler(48) */
  50. } JMOV_HDR;
  51.  
  52. #define JMOV_AUDIO_ENC_NONE (0)   /* no encoding assigned */
  53. #define JMOV_AUDIO_ENC_ULAW (1)   /* u-law encoding */
  54. #define JMOV_AUDIO_ENC_ALAW (2)   /* A-law encoding */
  55. #define JMOV_AUDIO_ENC_PCM  (3)   /* Linear PCM encoding */
  56.  
  57.