home *** CD-ROM | disk | FTP | other *** search
/ Graphics 16,000 / graphics-16000.iso / msdos / animutil / pvquan / flilib / aafii.h < prev    next >
C/C++ Source or Header  |  1992-11-30  |  1KB  |  24 lines

  1.  
  2. #ifndef AAFII_H
  3. #define AAFII_H
  4.  
  5. /* Low level decompression functions */
  6. void far cdecl fii_unbrun(Cbuf *cbuf, Pixel *screen, int linect); /* 1st frame */
  7. void far cdecl fii_unlccomp(Cbuf *cbuf, Pixel *screen);           /* delta frames */
  8. void far cdecl fii_mem_fcuncomp(Cbuf *cbuf, Cmap *cmap);          /* colors to memory */
  9. void far cdecl fii_reg_fcuncomp(Cbuf *cbuf);                                      /* colors to registers */
  10.  
  11. /* Longest run for byte-oriented compression */
  12. #define FLI_MAX_RUN 127
  13.  
  14. /** Mid level routines to compress 1st frame, delta frames, and color maps **/
  15. /* Run length compress a single frame using Animator 8086
  16.     1st frame technique */
  17. unsigned fii_brun(Pixel *s1, Cbuf *cbuf, int width, int height);
  18. /* Delta compress a single frame using Animator 8086 byte-oriented scheme */
  19. unsigned fii_lccomp(Pixel *s1,Pixel *s2, Cbuf *cbuf,int width,int height);
  20. /* fii_fccomp - compress an rgb triples color map doing 'skip' compression */
  21. unsigned fii_fccomp(Cmap *s1, Cmap *s2, Cbuf *cbuf, int count);
  22.  
  23. #endif /* AAFII_H */
  24.