2005-03-02 23:49:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef __FB_H__
|
|
|
|
#define __FB_H__
|
|
|
|
|
|
|
|
|
|
|
|
#include "defs.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct fb
|
|
|
|
{
|
2006-01-20 13:05:52 +00:00
|
|
|
fb_data *ptr;
|
2005-03-02 23:49:38 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|