home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / graphics / gifbla20.zip / SOURCE / GB11CODE.H < prev    next >
C/C++ Source or Header  |  1992-12-15  |  882b  |  32 lines

  1.  
  2. /* gb11code.h - Include file for special purpose GIF compressor routines
  3.     (version 1.1). */
  4.  
  5. #ifndef P_DEFINED
  6. #define P_DEFINED
  7. #ifdef NOPROTOS
  8. #define P(a,b) b
  9. #else
  10. #define P(a,b) a
  11. #endif
  12. #endif
  13.  
  14. typedef struct {
  15.     ARCON_BIG_CONTEXT ac_order_0_con;
  16.     ARCON_SMALL_CONTEXT *ac_order_1_cons;
  17.     ARCON_TYPE_CONTEXT ac_type_con;
  18.     int prev;
  19.     ARITH_CODER ac_struct;
  20. } GB11_CODER;
  21.  
  22. extern int copy_if_larger;
  23.  
  24. extern GB11_CODER *gb11_alloc_coder();
  25. extern void gb11_free_coder P((GB11_CODER *gb11),());
  26. extern int gb11_start_encoding P((GB11_CODER *gb11, FFILE *ff),());
  27. extern int gb11_encode_c P((int c, GB11_CODER *gb11),());
  28. extern int gb11_end_encoding P((GB11_CODER *gb11),());
  29. extern int gb11_start_decoding P((GB11_CODER *gb11, FFILE *ff),());
  30. extern int gb11_decode_c P((GB11_CODER *gb11),());
  31. extern int gb11_end_decoding P((GB11_CODER *gb11),());
  32.