From b05e630f75fa6db3c9f2b61568e02479e81acff1 Mon Sep 17 00:00:00 2001 From: "Christian A. Weber" Date: Mon, 18 May 1992 02:17:48 +0000 Subject: Kompressionsmodi sind jetzt geschicktere Konstante --- Programmer/iff.h | 17 ++++++++++++++--- Programmer/iff.i | 13 ++++++++++--- 2 files changed, 24 insertions(+), 6 deletions(-) (limited to 'Programmer') diff --git a/Programmer/iff.h b/Programmer/iff.h index 9e89511..763cffd 100644 --- a/Programmer/iff.h +++ b/Programmer/iff.h @@ -2,13 +2,13 @@ #define LIBRARIES_IFF_H /* ** -** $Id: iff.h,v 21.1 92/05/15 03:22:35 chris Exp $ -** $Revision: 21.1 $ +** $Id: iff.h,v 21.2 92/05/17 03:29:18 chris Exp $ +** $Revision: 21.2 $ ** ** $Filename: iff.h $ ** $Author: chris $ ** $Release: 19.1 $ -** $Date: 92/05/15 03:22:35 $ +** $Date: 92/05/17 03:29:18 $ ** ** Standard header file for programs using iff.library ** @@ -110,6 +110,15 @@ #define IFFL_MODE_WRITE 1 +/**************************************************************************** +** Modes for IFFL_CompressBlock() and IFFL_DecompressBlock() +*/ + +#define IFFL_COMPR_NONE 0x0000 /* generic */ +#define IFFL_COMPR_BYTERUN1 0x0001 /* ILBM */ +#define IFFL_COMPR_FIBDELTA 0x0101 /* 8SVX */ + + /**************************************************************************** ** Structure definitions */ @@ -177,7 +186,9 @@ struct IFFL_ANHD /* ANHD chunk for ANIM files */ */ void IFFL_CloseIFF ( IFFL_HANDLE ); +ULONG IFFL_CompressBlock ( APTR, APTR, ULONG, ULONG ); BOOL IFFL_DecodePic ( IFFL_HANDLE, struct BitMap * ); +ULONG IFFL_DecompressBlock ( APTR, APTR, ULONG, ULONG ); void *IFFL_FindChunk ( IFFL_HANDLE, LONG ); struct IFFL_BMHD *IFFL_GetBMHD ( IFFL_HANDLE ); LONG IFFL_GetColorTab ( IFFL_HANDLE, WORD * ); diff --git a/Programmer/iff.i b/Programmer/iff.i index a004d7b..b98ad6c 100644 --- a/Programmer/iff.i +++ b/Programmer/iff.i @@ -1,13 +1,13 @@ IFND LIBRARIES_IFF_I LIBRARIES_IFF_I SET 1 ** -** $Id: iff.i,v 1.1 92/05/12 22:54:18 chris Exp $ -** $Revision: 1.1 $ +** $Id: iff.i,v 21.1 92/05/15 03:22:20 chris Exp $ +** $Revision: 21.1 $ ** ** $Filename: iff.i $ ** $Author: chris $ ** $Release: 19.1 $ -** $Date: 92/05/12 22:54:18 $ +** $Date: 92/05/15 03:22:20 $ ** ** Standard header file for programs using iff.library ** @@ -117,6 +117,13 @@ IFFL_MODE_READ EQU 0 IFFL_MODE_WRITE EQU 1 +***************************************************************************** +** Modes for IFFL_CompressBlock() and IFFL_DecompressBlock() + +IFFL_COMPR_NONE EQU $0000 ; generic +IFFL_COMPR_BYTERUN1 EQU $0001 ; ILBM +IFFL_COMPR_FIBDELTA EQU $0101 ; 8SVX + ***************************************************************************** ** Structure definitions -- cgit v1.2.3