summaryrefslogtreecommitdiffstats
path: root/drivers/mga_vid.h
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-08 01:06:59 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-08 01:06:59 +0000
commitf981ada8df8f4e4a9788bad1a575e5fb54752abc (patch)
tree0a261fa57fb25f0dff6dadeec26817bb48eeec36 /drivers/mga_vid.h
parent838cf97bcb165bff85a3b0f69e4bf416ecc415cf (diff)
downloadmpv-f981ada8df8f4e4a9788bad1a575e5fb54752abc.tar.bz2
mpv-f981ada8df8f4e4a9788bad1a575e5fb54752abc.tar.xz
config interface changed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@58 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'drivers/mga_vid.h')
-rw-r--r--drivers/mga_vid.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/mga_vid.h b/drivers/mga_vid.h
index 5f1a0b540d..3b0459e24c 100644
--- a/drivers/mga_vid.h
+++ b/drivers/mga_vid.h
@@ -19,7 +19,8 @@
typedef struct mga_vid_config_s
{
-uint32_t card_type;
+uint16_t version;
+uint16_t card_type;
uint32_t ram_size;
uint32_t src_width;
uint32_t src_height;
@@ -32,6 +33,8 @@ uint8_t colkey_red;
uint8_t colkey_green;
uint8_t colkey_blue;
uint32_t format;
+uint32_t frame_size;
+uint32_t num_frames;
} mga_vid_config_t;
#define MGA_VID_FORMAT_YV12 0x32315659
@@ -45,4 +48,6 @@ uint32_t format;
#define MGA_G200 0x1234
#define MGA_G400 0x5678
+#define MGA_VID_VERSION 0x0201
+
#endif