/*
 * AmigaMesaRTL graphics library
 * Version:  1.1
 * Copyright (C) 1998  Jarno van der Linden
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */


/*
 * quantizer.h
 *
 * Version 1.0  01 Aug 1998
 * by Jarno van der Linden
 * jarno@kcbbs.gen.nz
 *
 */


#ifndef QUANTIZER_H
#define QUANTIZER_H


#ifdef __cplusplus
extern "C" {
#endif


#ifndef MAKE_QUANTIZERLIB
#include "pragmas/quantizer_pragmas.h"
#endif

#include "amigamesartl.h"

extern __asm __saveds int InitQuantizer(register __a0 struct Window *window, register __d0 ULONG mode, register __d1 ULONG numcolours, register __d2 ULONG firstcolour);
extern __asm __saveds void DeleteQuantizer(void);
extern __asm __saveds int ResizeQuantizer(register __d0 int width, register __d1 int height);
extern __asm __saveds int Quantize(register __a0 APTR buffer);


#ifdef __cplusplus
}
#endif


#endif

