mga_vid.h
上传用户:aoeyumen
上传日期:2007-01-06
资源大小:3329k
文件大小:1k
- /*
- *
- * mga_vid.h
- *
- * Copyright (C) 1999 Aaron Holtzman
- *
- * Matrox MGA G200/G400 YUV Video Interface module Version 0.1.0
- *
- * BES == Back End Scaler
- *
- * This software has been released under the terms of the GNU Public
- * license. See http://www.gnu.org/copyleft/gpl.html for details.
- */
- #ifndef __LINUX_MGAVID_H
- #define __LINUX_MGAVID_H
- #ifndef AARONS_TYPES
- typedef unsigned long uint_32;
- typedef unsigned char uint_8;
- #endif
- typedef struct mga_vid_config_s
- {
- uint_32 card_type;
- uint_32 src_width;
- uint_32 src_height;
- uint_32 dest_width;
- uint_32 dest_height;
- uint_32 x_org;
- uint_32 y_org;
- uint_8 colkey_on;
- uint_8 colkey_red;
- uint_8 colkey_green;
- uint_8 colkey_blue;
- } mga_vid_config_t;
- #define MGA_VID_CONFIG _IOR('J', 1, mga_vid_config_t)
- #define MGA_VID_ON _IO ('J', 2)
- #define MGA_VID_OFF _IO ('J', 3)
- #define MGA_G200 0x1234
- #define MGA_G400 0x5678
- #endif