LZW.H 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  3. SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
  4. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  5. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  6. IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  7. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  8. FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  9. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
  10. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
  11. COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
  12. */
  13. /*
  14. * $Source: f:/miner/source/lzw/rcs/lzw.h $
  15. * $Revision: 1.2 $
  16. * $Author: john $
  17. * $Date: 1994/08/05 16:10:23 $
  18. *
  19. * Routines for lzw compressing some bits.
  20. *
  21. * $Log: lzw.h $
  22. * Revision 1.2 1994/08/05 16:10:23 john
  23. * First version.
  24. *
  25. * Revision 1.1 1994/07/29 11:02:14 john
  26. * Initial revision
  27. *
  28. *
  29. */
  30. #ifndef _LZW_H
  31. #define _LZW_H
  32. // Compresses inputbuf into output buf... Returns size of output buffer.
  33. int new_lzw_compress( ubyte *outputbuf, ubyte *inputbuf, int input_size );
  34. // Decompresses inputbuf into output buf... Returns size of output buiffer.
  35. int new_lzw_expand( ubyte *outputbuf, ubyte *inputbuf );
  36. #endif
  37.