summaryrefslogtreecommitdiff
path: root/v4l_experimental/dpl3518.h
blob: 3841cdc775ab0f9ff896b2cf1557b10b3c702c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * $Id: dpl3518.h,v 1.3 2005/06/12 04:19:19 mchehab Exp $
 */

#ifndef DPL3518_H
#define DPL3518_H

#include <linux/ioctl.h>

#define DPL_VERSION_CODE 0x0002        /* Version 0.2 */


/* IOCTL numbers */

/* Reset function (just in case...) */
#define DPL_IOC_RESET		_IO('d',1)

/* Get driver version */
#define DPL_IOC_VERSION		_IOR('d',2,int)

/* Dolby Pro Logic modes */
#define DPL_IOC_INIT		_IO('d',3)	/* Must be done first */

#define DPL_IOC_PROLOGIC_INIT	_IO('d',4)
#define DPL_IOC_NOISE_INIT	_IO('d',5)
#define DPL_IOC_THROUGH_INIT	_IO('d',6)

#define DPL_IOC_MODE		_IOW('d',7,int)	/* 0 = Normal */
					/* 1 = Phantom */
					/* 2 = Wide */
					/* 3 = Dolby 3 Stereo */
					/* 4 = Center Off */
					/* 5 = Panorama */
					/* 6 = 3D-Panorama (virtual dolby) */
#define DPL_IOC_GET_MODE 	_IOR('d',7,int)

#define DPL_IOC_NOISE_MODE	_IOW('d',8,int)
#define DPL_IOC_GET_NOISE_MODE	_IOR('d',8,int)

#define DPL_IOC_DELAY		_IOW('d',9,int)        /* 0 .. 15 */
#define DPL_IOC_REVERB		_IOW('d',10,int)       /* 0 .. 100 % */
#define DPL_IOC_PANORAMA	_IOW('d',11,int)       /* 0 .. 100 % */
#define DPL_IOC_SPATIAL		_IOW('d',12,int)       /* 0 .. 100 % */


/* ---------------------------------------------------------------------- */

#endif /* DPL3518_H */