/*
 *  effects.h
 *  PSP Development
 *
 *  Created by XArt on 16/03/2007.
 *  Copyright 2007 XArt. All rights reserved.
 *
 */

#ifndef _EFFECTS_H_
#define _EFFECTS_H_

#ifdef PSP
#include <psptypes.h>
#else
#ifndef _VAR_TYPEDEFS_
#define _VAR_TYPEDEFS_
typedef unsigned char	u8;
typedef char	         s8;
typedef unsigned short	u16;
typedef short	         s16;
typedef unsigned int	   u32;
typedef int             s32;
#endif
#endif


#ifndef _IMAGE_
#define _IMAGE_
struct Image{
   int   x;                // Image x position
   int   y;                // Image y position
   int   width;            // Image width in pixels
   int   height;           // Image height in pixels
   int   depth;            // 24-bit RGB / 32-bit RGB+Alpha (DEPTH NOT YET USED)
   
   //int   textureWidth;
   //int   textureHeight;
   void *pixels;
};
#endif

class Effects
{
private:
public:
   void grayscale(Image *image);
   void sepia(Image *image);
};

#endif
