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

  1.  
  2. /*
  3.  * xa_movi.h
  4.  *
  5.  * Copyright (C) 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 MOVI_FRAME_STRUCT
  22. {
  23.   xaULONG time;
  24.   xaULONG timelo;
  25.   XA_ACTION *act;
  26.   struct MOVI_FRAME_STRUCT *next;
  27. } MOVI_FRAME;
  28.  
  29. typedef struct
  30. {
  31.   xaULONG frames;
  32.   xaULONG width;
  33.   xaULONG chans;
  34.   xaULONG format;
  35.   float rate;
  36.   xaULONG compression;
  37.   xaULONG *off;
  38.   xaULONG *size;
  39. } MOVI_A_HDR;
  40.  
  41. typedef struct
  42. {
  43.   xaULONG frames;
  44.   xaULONG width;
  45.   xaULONG height;
  46.   xaULONG compression;
  47.   xaULONG interlacing;
  48.   xaULONG packing;
  49.   xaULONG orientation;
  50.   float pixel_aspect;
  51.   float fps;
  52.   float q_spatial;
  53.   float q_temporal;
  54.   xaULONG *off;
  55.   xaULONG *size;
  56. } MOVI_I_HDR;
  57.  
  58. /* NOTES:
  59.  *   from makemovie manpage
  60.  *     interlace  none, even lines 1st, odd lines 1st
  61.  *     loopmode   once, loop, swing(pingpong)
  62.  *     compressions   mvc1   (most likely my comp1)
  63.  *                    mvc2
  64.  *                    jpeg
  65.  *                    rle   8 bit
  66.  *                    rle24 24 bit
  67.  *    orientation  top_to_bottom  bottom_to_top?
  68.  *    packing      32-bit RGBX ???
  69.  */
  70.  
  71. typedef struct
  72. {
  73.  xaULONG version;
  74.  xaULONG i_tracks;
  75.  xaULONG a_tracks;
  76.  xaULONG loop_mode;
  77.  xaULONG num_loops;
  78.  xaULONG optimized;
  79.  MOVI_A_HDR *a_hdr;
  80.  MOVI_I_HDR *i_hdr;
  81. } MOVI_HDR;
  82.  
  83.