/*_ Magie library                                   _*/
/*_ Copyright (c) 2007, Ivan Bezdomniy              _*/
/*_ This program is free software. It may be distributed
 * and/or modified under the terms of the Lesser General
 * Public License. See the GNU Lesser General Public
 * License for more details */


/*_ Pixels model definition	_*/

#ifndef	_PIXMODEL_HEADER
#define	_PIXMODEL_HEADER

#include <stdint.h>

typedef enum _Pixel_Model {
	PIXEL_GRAY_VALUE,		/* No change	*/
	PIXEL_HSV_VALUE,		/* HSV			*/
	PIXEL_HSL_LIGHTNESS,	/* HSL			*/
	PIXEL_LUMA,
	PIXEL_BRIGHTNESS
} PXM_MODEL;



void	pixmodel_rgb_to_v(void*, float*, int, PXM_MODEL, int);
void	pixmodel_rgb_set_v(void*, float*, int, PXM_MODEL, int, float*);

#endif/*_PIXMODEL_HEADER*/



