Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 366849
Collapse All | Expand All

(-)sane-backends-1.0.22/backend/v4l.h.deconflict-v4l (-4 / +6 lines)
Lines 29-34 Link Here
29
#ifndef v4l_h
29
#ifndef v4l_h
30
#define v4l_h
30
#define v4l_h
31
31
32
#include <libv4l1-videodev.h>
33
32
/* Kernel interface */
34
/* Kernel interface */
33
/* Only the stuff we need. For more features, more defines are needed */
35
/* Only the stuff we need. For more features, more defines are needed */
34
36
Lines 46-52 Link Here
46
#define VID_TYPE_MPEG_ENCODER	2048	/* Can encode MPEG streams */
48
#define VID_TYPE_MPEG_ENCODER	2048	/* Can encode MPEG streams */
47
#define VID_TYPE_MJPEG_DECODER	4096	/* Can decode MJPEG streams */
49
#define VID_TYPE_MJPEG_DECODER	4096	/* Can decode MJPEG streams */
48
#define VID_TYPE_MJPEG_ENCODER	8192	/* Can encode MJPEG streams */
50
#define VID_TYPE_MJPEG_ENCODER	8192	/* Can encode MJPEG streams */
49
51
#if 0
50
struct video_capability
52
struct video_capability
51
{
53
{
52
	char name[32];
54
	char name[32];
Lines 58-64 Link Here
58
	int minwidth;	/* Supported width */
60
	int minwidth;	/* Supported width */
59
	int minheight;	/* And height */
61
	int minheight;	/* And height */
60
};
62
};
61
62
struct video_picture
63
struct video_picture
63
{
64
{
64
	__u16	brightness;
65
	__u16	brightness;
Lines 102-110 Link Here
102
/* bitmap is 1024x625, a '1' bit represents a clipped pixel */
103
/* bitmap is 1024x625, a '1' bit represents a clipped pixel */
103
#define VIDEO_CLIPMAP_SIZE	(128 * 625)
104
#define VIDEO_CLIPMAP_SIZE	(128 * 625)
104
};
105
};
105
106
#endif
106
#define VIDEO_MAX_FRAME		32
107
#define VIDEO_MAX_FRAME		32
107
108
109
#if 0
108
struct video_mbuf
110
struct video_mbuf
109
{
111
{
110
	int	size;		/* Total memory to map */
112
	int	size;		/* Total memory to map */
Lines 132-138 Link Here
132
#define VIDEO_TYPE_CAMERA	2	
134
#define VIDEO_TYPE_CAMERA	2	
133
	__u16 norm;			/* Norm set by channel */
135
	__u16 norm;			/* Norm set by channel */
134
};
136
};
135
137
#endif
136
#define VIDIOCGCAP		_IOR('v',1,struct video_capability)	/* Get capabilities */
138
#define VIDIOCGCAP		_IOR('v',1,struct video_capability)	/* Get capabilities */
137
#define VIDIOCGCHAN		_IOWR('v',2,struct video_channel)	/* Get channel info (sources) */
139
#define VIDIOCGCHAN		_IOWR('v',2,struct video_channel)	/* Get channel info (sources) */
138
#define VIDIOCSCHAN		_IOW('v',3,struct video_channel)	/* Set channel 	*/
140
#define VIDIOCSCHAN		_IOW('v',3,struct video_channel)	/* Set channel 	*/

Return to bug 366849