#ifndef _CEVIDEO_H_
#define _CEVIDEO_H_

#include "CE.h"
#include "system.h"
#include "ppp_stdio.h"

extern char *  g_vram;
extern char *  g_vbuf;
extern int g_width;
extern int g_height;
extern int g_screen_width;
extern int g_screen_height;
extern int g_screen_x;
extern int g_screen_y;
extern int videomode;
extern int scanline;
extern int scanlineflip;

extern void CEVideo_SetVideoMode(void);

extern void   (*filterFunction)(u8*,u32,u8*,u8*,u32,int,int);
extern int    (*CEVideo_Init)(int,int);
extern void   (*CEVideo_Trash)(void);
extern char * (*CEVideo_GetBufferPtrLine)(int line);
extern char * (*CEVideo_GetBufferPtr)(void);
extern void   (*CEVideo_CleanBuffer)(void);
extern void   (*CEVideo_FreeBufferPtr)(void);

#endif /* _CEVIDEO_H_ */
