Go to the documentation of this file.
25 #define IVTV_CARD_PVR_250 0
26 #define IVTV_CARD_PVR_350 1
27 #define IVTV_CARD_PVR_150 2
29 #define IVTV_CARD_M179 3
30 #define IVTV_CARD_MPG600 4
31 #define IVTV_CARD_MPG160 5
33 #define IVTV_CARD_PG600 6
34 #define IVTV_CARD_AVC2410 7
35 #define IVTV_CARD_AVC2010 8
36 #define IVTV_CARD_TG5000TV 9
37 #define IVTV_CARD_VA2000MAX_SNT6 10
38 #define IVTV_CARD_CX23416GYC 11
39 #define IVTV_CARD_GV_MVPRX 12
40 #define IVTV_CARD_GV_MVPRX2E 13
41 #define IVTV_CARD_GOTVIEW_PCI_DVD 14
42 #define IVTV_CARD_GOTVIEW_PCI_DVD2 15
43 #define IVTV_CARD_YUAN_MPC622 16
44 #define IVTV_CARD_DCTMTVP1 17
45 #define IVTV_CARD_PG600V2 18
46 #define IVTV_CARD_CLUB3D 19
47 #define IVTV_CARD_AVERTV_MCE116 20
48 #define IVTV_CARD_ASUS_FALCON2 21
49 #define IVTV_CARD_AVER_PVR150PLUS 22
50 #define IVTV_CARD_AVER_EZMAKER 23
51 #define IVTV_CARD_AVER_M104 24
52 #define IVTV_CARD_BUFFALO_MV5L 25
53 #define IVTV_CARD_AVER_ULTRA1500MCE 26
54 #define IVTV_CARD_KIKYOU 27
55 #define IVTV_CARD_LAST 27
64 #define IVTV_CARD_PVR_350_V1 (IVTV_CARD_LAST+1)
66 #define IVTV_CARD_CX23416GYC_NOGR (IVTV_CARD_LAST+2)
67 #define IVTV_CARD_CX23416GYC_NOGRYCS (IVTV_CARD_LAST+3)
70 #define PCI_VENDOR_ID_ICOMP 0x4444
71 #define PCI_DEVICE_ID_IVTV15 0x0803
72 #define PCI_DEVICE_ID_IVTV16 0x0016
75 #define IVTV_PCI_ID_HAUPPAUGE 0x0070
76 #define IVTV_PCI_ID_HAUPPAUGE_ALT1 0x0270
77 #define IVTV_PCI_ID_HAUPPAUGE_ALT2 0x4070
78 #define IVTV_PCI_ID_ADAPTEC 0x9005
79 #define IVTV_PCI_ID_ASUSTEK 0x1043
80 #define IVTV_PCI_ID_AVERMEDIA 0x1461
81 #define IVTV_PCI_ID_YUAN1 0x12ab
82 #define IVTV_PCI_ID_YUAN2 0xff01
83 #define IVTV_PCI_ID_YUAN3 0xffab
84 #define IVTV_PCI_ID_YUAN4 0xfbab
85 #define IVTV_PCI_ID_DIAMONDMM 0xff92
86 #define IVTV_PCI_ID_IODATA 0x10fc
87 #define IVTV_PCI_ID_MELCO 0x1154
88 #define IVTV_PCI_ID_GOTVIEW1 0xffac
89 #define IVTV_PCI_ID_GOTVIEW2 0xffad
90 #define IVTV_PCI_ID_SONY 0x104d
93 #define IVTV_HW_CX25840 (1 << 0)
94 #define IVTV_HW_SAA7115 (1 << 1)
95 #define IVTV_HW_SAA7127 (1 << 2)
96 #define IVTV_HW_MSP34XX (1 << 3)
97 #define IVTV_HW_TUNER (1 << 4)
98 #define IVTV_HW_WM8775 (1 << 5)
99 #define IVTV_HW_CS53L32A (1 << 6)
100 #define IVTV_HW_TVEEPROM (1 << 7)
101 #define IVTV_HW_SAA7114 (1 << 8)
102 #define IVTV_HW_UPD64031A (1 << 9)
103 #define IVTV_HW_UPD6408X (1 << 10)
104 #define IVTV_HW_SAA717X (1 << 11)
105 #define IVTV_HW_WM8739 (1 << 12)
106 #define IVTV_HW_VP27SMPX (1 << 13)
107 #define IVTV_HW_M52790 (1 << 14)
108 #define IVTV_HW_GPIO (1 << 15)
109 #define IVTV_HW_I2C_IR_RX_AVER (1 << 16)
110 #define IVTV_HW_I2C_IR_RX_HAUP_EXT (1 << 17)
111 #define IVTV_HW_I2C_IR_RX_HAUP_INT (1 << 18)
112 #define IVTV_HW_Z8F0811_IR_TX_HAUP (1 << 19)
113 #define IVTV_HW_Z8F0811_IR_RX_HAUP (1 << 20)
114 #define IVTV_HW_I2C_IR_RX_ADAPTEC (1 << 21)
116 #define IVTV_HW_Z8F0811_IR_HAUP (IVTV_HW_Z8F0811_IR_RX_HAUP | \
117 IVTV_HW_Z8F0811_IR_TX_HAUP)
119 #define IVTV_HW_SAA711X (IVTV_HW_SAA7115 | IVTV_HW_SAA7114)
121 #define IVTV_HW_IR_RX_ANY (IVTV_HW_I2C_IR_RX_AVER | \
122 IVTV_HW_I2C_IR_RX_HAUP_EXT | \
123 IVTV_HW_I2C_IR_RX_HAUP_INT | \
124 IVTV_HW_Z8F0811_IR_RX_HAUP | \
125 IVTV_HW_I2C_IR_RX_ADAPTEC)
127 #define IVTV_HW_IR_TX_ANY (IVTV_HW_Z8F0811_IR_TX_HAUP)
129 #define IVTV_HW_IR_ANY (IVTV_HW_IR_RX_ANY | IVTV_HW_IR_TX_ANY)
132 #define IVTV_CARD_INPUT_VID_TUNER 1
133 #define IVTV_CARD_INPUT_SVIDEO1 2
134 #define IVTV_CARD_INPUT_SVIDEO2 3
135 #define IVTV_CARD_INPUT_COMPOSITE1 4
136 #define IVTV_CARD_INPUT_COMPOSITE2 5
137 #define IVTV_CARD_INPUT_COMPOSITE3 6
140 #define IVTV_CARD_INPUT_AUD_TUNER 1
141 #define IVTV_CARD_INPUT_LINE_IN1 2
142 #define IVTV_CARD_INPUT_LINE_IN2 3
144 #define IVTV_CARD_MAX_VIDEO_INPUTS 6
145 #define IVTV_CARD_MAX_AUDIO_INPUTS 3
146 #define IVTV_CARD_MAX_TUNERS 3
149 #define IVTV_SAA71XX_COMPOSITE0 0
150 #define IVTV_SAA71XX_COMPOSITE1 1
151 #define IVTV_SAA71XX_COMPOSITE2 2
152 #define IVTV_SAA71XX_COMPOSITE3 3
153 #define IVTV_SAA71XX_COMPOSITE4 4
154 #define IVTV_SAA71XX_COMPOSITE5 5
155 #define IVTV_SAA71XX_SVIDEO0 6
156 #define IVTV_SAA71XX_SVIDEO1 7
157 #define IVTV_SAA71XX_SVIDEO2 8
158 #define IVTV_SAA71XX_SVIDEO3 9
161 #define IVTV_SAA717X_TUNER_FLAG 0x80
164 #define IVTV_DUMMY_AUDIO 0
167 #define IVTV_GPIO_TUNER 0
168 #define IVTV_GPIO_LINE_IN 1
171 #define IVTV_SAA717X_IN0 0
172 #define IVTV_SAA717X_IN1 1
173 #define IVTV_SAA717X_IN2 2
176 #define IVTV_CAP_ENCODER (V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_TUNER | \
177 V4L2_CAP_AUDIO | V4L2_CAP_READWRITE | V4L2_CAP_VBI_CAPTURE | \
178 V4L2_CAP_SLICED_VBI_CAPTURE)
179 #define IVTV_CAP_DECODER (V4L2_CAP_VIDEO_OUTPUT | \
180 V4L2_CAP_SLICED_VBI_OUTPUT | V4L2_CAP_VIDEO_OUTPUT_OVERLAY)
263 unsigned short demod[2];
264 unsigned short tv[4];