home *** CD-ROM | disk | FTP | other *** search
/ Dream 44 / Amiga_Dream_44.iso / Linux / Apps / xanim.tgz / xanim / xanim27064 / xa_codecs.h < prev    next >
Text File  |  1997-01-26  |  1KB  |  38 lines

  1.  
  2. /*
  3.  * xa_codecs.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. typedef struct
  20. {
  21.   void *anim_hdr;        /* used to add stuff to Free Chain */
  22.   xaULONG compression;        /* input/output compression */
  23.   xaULONG x,y;            /* input/output x,y */
  24.   xaULONG depth;        /* input depth  and cfunc */
  25.   void  *extra;            /* extra for delta */
  26.   xaULONG xapi_rev;        /* XAnim API rev */
  27.   xaULONG (*decoder)();        /* decoder routine */
  28.   char *description;        /* text string */
  29.   xaULONG avi_ctab_flag;    /* AVI ctable to be read */
  30.   xaULONG (*avi_read_ext)();    /* routine to read extended data */
  31.  
  32. } XA_CODEC_HDR;
  33.  
  34. #define CODEC_SUPPORTED    1
  35. #define CODEC_UNKNOWN      0
  36. #define CODEC_UNSUPPORTED -1
  37.  
  38.