1 /*
2  */
3 
4 /*
5  * This file defines compatibility versions of several video structures
6  * defined in the Linux videodev.h header (linux_videodev.h).  The
7  * structures defined in this file are the ones that have been determined
8  * to have 32- to 64-bit size dependencies.
9  */
10 
11 #ifndef _LINUX_VIDEODEV_COMPAT_H_
12 #define	_LINUX_VIDEODEV_COMPAT_H_
13 
14 struct l_video_tuner
15 {
16 	l_int		tuner;
17 #define LINUX_VIDEO_TUNER_NAME_SIZE	32
18 	char		name[LINUX_VIDEO_TUNER_NAME_SIZE];
19 	l_ulong		rangelow, rangehigh;
20 	uint32_t	flags;
21 	uint16_t	mode;
22 	uint16_t	signal;
23 };
24 
25 struct l_video_clip
26 {
27 	int32_t		x, y;
28 	int32_t		width, height;
29 	l_uintptr_t	next;
30 };
31 
32 struct l_video_window
33 {
34 	uint32_t	x, y;
35 	uint32_t	width, height;
36 	uint32_t	chromakey;
37 	uint32_t	flags;
38 	l_uintptr_t	clips;
39 	l_int		clipcount;
40 };
41 
42 struct l_video_buffer
43 {
44 	l_uintptr_t	base;
45 	l_int		height, width;
46 	l_int		depth;
47 	l_int		bytesperline;
48 };
49 
50 struct l_video_code
51 {
52 #define LINUX_VIDEO_CODE_LOADWHAT_SIZE	16
53 	char		loadwhat[LINUX_VIDEO_CODE_LOADWHAT_SIZE];
54 	l_int		datasize;
55 	l_uintptr_t	data;
56 };
57 
58 #endif /* !_LINUX_VIDEODEV_COMPAT_H_ */
59