Initial import from FreeBSD RELENG_4:
[games.git] / sys / i386 / 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  */
12
13 /*
14  *      ioctl constants for Cortex-I frame grabber
15  */
16
17 #ifndef _MACHINE_IOCTL_CTX_H_
18 #define _MACHINE_IOCTL_CTX_H_
19
20 #include <sys/ioccom.h>
21
22 typedef char _CTX_LUTBUF[256];  /* look up table buffer */
23
24 #define CTX_LIVE _IO('x', 1)            /* live video */
25 #define CTX_GRAB _IO('x', 2)            /* frame grab */
26 #define CTX_H_ORGANIZE _IO('x', 3)  /* file goes across screen (horiz. read) */
27 #define CTX_V_ORGANIZE _IO('x', 4)  /* file goes down screen (vert. read)    */
28 #define CTX_SET_LUT _IOW('x', 5, _CTX_LUTBUF)  /* set lookup table */
29 #define CTX_GET_LUT _IOR('x', 6, _CTX_LUTBUF)  /* get lookup table */
30
31 #endif /* !_MACHINE_IOCTL_CTX_H_ */