13b599cdnetchild/*
23b599cdnetchild * $FreeBSD$
33b599cdnetchild */
43b599cdnetchild
53b599cdnetchild/*
63b599cdnetchild * This file defines compatibility versions of several video structures
73b599cdnetchild * defined in the Linux videodev.h header (linux_videodev.h).  The
83b599cdnetchild * structures defined in this file are the ones that have been determined
93b599cdnetchild * to have 32- to 64-bit size dependencies.
103b599cdnetchild */
113b599cdnetchild
123b599cdnetchild#ifndef _LINUX_VIDEODEV_COMPAT_H_
133b599cdnetchild#define	_LINUX_VIDEODEV_COMPAT_H_
143b599cdnetchild
153b599cdnetchildstruct l_video_tuner
163b599cdnetchild{
173b599cdnetchild	l_int		tuner;
183b599cdnetchild#define LINUX_VIDEO_TUNER_NAME_SIZE	32
193b599cdnetchild	char		name[LINUX_VIDEO_TUNER_NAME_SIZE];
203b599cdnetchild	l_ulong		rangelow, rangehigh;
213b599cdnetchild	uint32_t	flags;
223b599cdnetchild	uint16_t	mode;
233b599cdnetchild	uint16_t	signal;
243b599cdnetchild};
253b599cdnetchild
263b599cdnetchildstruct l_video_clip
273b599cdnetchild{
283b599cdnetchild	int32_t		x, y;
293b599cdnetchild	int32_t		width, height;
303b599cdnetchild	l_uintptr_t	next;
313b599cdnetchild};
323b599cdnetchild
333b599cdnetchildstruct l_video_window
343b599cdnetchild{
353b599cdnetchild	uint32_t	x, y;
363b599cdnetchild	uint32_t	width, height;
373b599cdnetchild	uint32_t	chromakey;
383b599cdnetchild	uint32_t	flags;
393b599cdnetchild	l_uintptr_t	clips;
403b599cdnetchild	l_int		clipcount;
413b599cdnetchild};
423b599cdnetchild
433b599cdnetchildstruct l_video_buffer
443b599cdnetchild{
453b599cdnetchild	l_uintptr_t	base;
463b599cdnetchild	l_int		height, width;
473b599cdnetchild	l_int		depth;
483b599cdnetchild	l_int		bytesperline;
493b599cdnetchild};
503b599cdnetchild
513b599cdnetchildstruct l_video_code
523b599cdnetchild{
533b599cdnetchild#define LINUX_VIDEO_CODE_LOADWHAT_SIZE	16
543b599cdnetchild	char		loadwhat[LINUX_VIDEO_CODE_LOADWHAT_SIZE];
553b599cdnetchild	l_int		datasize;
563b599cdnetchild	l_uintptr_t	data;
573b599cdnetchild};
583b599cdnetchild
593b599cdnetchild#endif /* !_LINUX_VIDEODEV_COMPAT_H_ */
60