2005-03-02 23:49:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef __FB_H__
|
|
|
|
#define __FB_H__
|
|
|
|
|
|
|
|
|
|
|
|
#include "defs.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct fb
|
|
|
|
{
|
|
|
|
byte *ptr;
|
|
|
|
int w, h;
|
|
|
|
int pelsize;
|
|
|
|
int pitch;
|
|
|
|
int indexed;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
int l, r;
|
|
|
|
} cc[4];
|
|
|
|
int yuv;
|
|
|
|
int enabled;
|
|
|
|
int dirty;
|
2005-03-03 19:44:02 +00:00
|
|
|
int mode;
|
2005-03-02 23:49:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
extern struct fb fb;
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|