what the heck one last one before i go take a nap...
[dragonfly.git] / sys / platform / pc32 / include / ioctl_ctx.h
1 /*
2  *
3  *      Copyright (C) 1994, Paul S. LaFollette, Jr. This software may be used,
4  *      modified, copied, distributed, and sold, in both source and binary form
5  *      provided that the above copyright and these terms are retained. Under
6  *      no circumstances is the author responsible for the proper functioning
7  *      of this software, nor does the author assume any responsibility
8  *      for damages incurred with its use
9  *
10  * $FreeBSD: src/sys/i386/include/ioctl_ctx.h,v 1.6 1999/08/28 00:44:17 peter Exp $
11  * $DragonFly: src/sys/platform/pc32/include/ioctl_ctx.h,v 1.2 2003/06/17 04:28:35 dillon Exp $
12  */
13
14 /*
15  *      ioctl constants for Cortex-I frame grabber
16  */
17
18 #ifndef _MACHINE_IOCTL_CTX_H_
19 #define _MACHINE_IOCTL_CTX_H_
20
21 #include <sys/ioccom.h>
22
23 typedef char _CTX_LUTBUF[256];  /* look up table buffer */
24
25 #define CTX_LIVE _IO('x', 1)            /* live video */
26 #define CTX_GRAB _IO('x', 2)            /* frame grab */
27 #define CTX_H_ORGANIZE _IO('x', 3)  /* file goes across screen (horiz. read) */
28 #define CTX_V_ORGANIZE _IO('x', 4)  /* file goes down screen (vert. read)    */
29 #define CTX_SET_LUT _IOW('x', 5, _CTX_LUTBUF)  /* set lookup table */
30 #define CTX_GET_LUT _IOR('x', 6, _CTX_LUTBUF)  /* get lookup table */
31
32 #endif /* !_MACHINE_IOCTL_CTX_H_ */