1994-10-01 17:59:42 +00:00
|
|
|
/*
|
|
|
|
*
|
1995-05-30 08:16:23 +00:00
|
|
|
* Copyright (C) 1994, Paul S. LaFollette, Jr. This software may be used,
|
|
|
|
* modified, copied, distributed, and sold, in both source and binary form
|
|
|
|
* provided that the above copyright and these terms are retained. Under
|
1994-10-01 17:59:42 +00:00
|
|
|
* no circumstances is the author responsible for the proper functioning
|
|
|
|
* of this software, nor does the author assume any responsibility
|
|
|
|
* for damages incurred with its use
|
|
|
|
*
|
1999-08-28 01:08:13 +00:00
|
|
|
* $FreeBSD$
|
1994-10-01 17:59:42 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ioctl constants for Cortex-I frame grabber
|
|
|
|
*/
|
|
|
|
|
1996-09-21 14:59:43 +00:00
|
|
|
#ifndef _MACHINE_IOCTL_CTX_H_
|
|
|
|
#define _MACHINE_IOCTL_CTX_H_
|
|
|
|
|
|
|
|
#include <sys/ioccom.h>
|
1994-10-01 17:59:42 +00:00
|
|
|
|
|
|
|
typedef char _CTX_LUTBUF[256]; /* look up table buffer */
|
|
|
|
|
|
|
|
#define CTX_LIVE _IO('x', 1) /* live video */
|
|
|
|
#define CTX_GRAB _IO('x', 2) /* frame grab */
|
|
|
|
#define CTX_H_ORGANIZE _IO('x', 3) /* file goes across screen (horiz. read) */
|
|
|
|
#define CTX_V_ORGANIZE _IO('x', 4) /* file goes down screen (vert. read) */
|
|
|
|
#define CTX_SET_LUT _IOW('x', 5, _CTX_LUTBUF) /* set lookup table */
|
|
|
|
#define CTX_GET_LUT _IOR('x', 6, _CTX_LUTBUF) /* get lookup table */
|
|
|
|
|
1996-09-21 14:59:43 +00:00
|
|
|
#endif /* !_MACHINE_IOCTL_CTX_H_ */
|