diff options
Diffstat (limited to 'Documentation/video4linux/sn9c102.txt')
-rw-r--r-- | Documentation/video4linux/sn9c102.txt | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/Documentation/video4linux/sn9c102.txt b/Documentation/video4linux/sn9c102.txt index 142920bc011f..1d20895b4354 100644 --- a/Documentation/video4linux/sn9c102.txt +++ b/Documentation/video4linux/sn9c102.txt | |||
@@ -1,9 +1,9 @@ | |||
1 | 1 | ||
2 | SN9C10x PC Camera Controllers | 2 | SN9C10x PC Camera Controllers |
3 | Driver for Linux | 3 | Driver for Linux |
4 | ============================= | 4 | ============================= |
5 | 5 | ||
6 | - Documentation - | 6 | - Documentation - |
7 | 7 | ||
8 | 8 | ||
9 | Index | 9 | Index |
@@ -176,46 +176,46 @@ Name: video_nr | |||
176 | Type: short array (min = 0, max = 64) | 176 | Type: short array (min = 0, max = 64) |
177 | Syntax: <-1|n[,...]> | 177 | Syntax: <-1|n[,...]> |
178 | Description: Specify V4L2 minor mode number: | 178 | Description: Specify V4L2 minor mode number: |
179 | -1 = use next available | 179 | -1 = use next available |
180 | n = use minor number n | 180 | n = use minor number n |
181 | You can specify up to 64 cameras this way. | 181 | You can specify up to 64 cameras this way. |
182 | For example: | 182 | For example: |
183 | video_nr=-1,2,-1 would assign minor number 2 to the second | 183 | video_nr=-1,2,-1 would assign minor number 2 to the second |
184 | recognized camera and use auto for the first one and for every | 184 | recognized camera and use auto for the first one and for every |
185 | other camera. | 185 | other camera. |
186 | Default: -1 | 186 | Default: -1 |
187 | ------------------------------------------------------------------------------- | 187 | ------------------------------------------------------------------------------- |
188 | Name: force_munmap | 188 | Name: force_munmap |
189 | Type: bool array (min = 0, max = 64) | 189 | Type: bool array (min = 0, max = 64) |
190 | Syntax: <0|1[,...]> | 190 | Syntax: <0|1[,...]> |
191 | Description: Force the application to unmap previously mapped buffer memory | 191 | Description: Force the application to unmap previously mapped buffer memory |
192 | before calling any VIDIOC_S_CROP or VIDIOC_S_FMT ioctl's. Not | 192 | before calling any VIDIOC_S_CROP or VIDIOC_S_FMT ioctl's. Not |
193 | all the applications support this feature. This parameter is | 193 | all the applications support this feature. This parameter is |
194 | specific for each detected camera. | 194 | specific for each detected camera. |
195 | 0 = do not force memory unmapping | 195 | 0 = do not force memory unmapping |
196 | 1 = force memory unmapping (save memory) | 196 | 1 = force memory unmapping (save memory) |
197 | Default: 0 | 197 | Default: 0 |
198 | ------------------------------------------------------------------------------- | 198 | ------------------------------------------------------------------------------- |
199 | Name: frame_timeout | 199 | Name: frame_timeout |
200 | Type: uint array (min = 0, max = 64) | 200 | Type: uint array (min = 0, max = 64) |
201 | Syntax: <n[,...]> | 201 | Syntax: <n[,...]> |
202 | Description: Timeout for a video frame in seconds. This parameter is | 202 | Description: Timeout for a video frame in seconds. This parameter is |
203 | specific for each detected camera. This parameter can be | 203 | specific for each detected camera. This parameter can be |
204 | changed at runtime thanks to the /sys filesystem interface. | 204 | changed at runtime thanks to the /sys filesystem interface. |
205 | Default: 2 | 205 | Default: 2 |
206 | ------------------------------------------------------------------------------- | 206 | ------------------------------------------------------------------------------- |
207 | Name: debug | 207 | Name: debug |
208 | Type: ushort | 208 | Type: ushort |
209 | Syntax: <n> | 209 | Syntax: <n> |
210 | Description: Debugging information level, from 0 to 3: | 210 | Description: Debugging information level, from 0 to 3: |
211 | 0 = none (use carefully) | 211 | 0 = none (use carefully) |
212 | 1 = critical errors | 212 | 1 = critical errors |
213 | 2 = significant informations | 213 | 2 = significant informations |
214 | 3 = more verbose messages | 214 | 3 = more verbose messages |
215 | Level 3 is useful for testing only, when only one device | 215 | Level 3 is useful for testing only, when only one device |
216 | is used. It also shows some more informations about the | 216 | is used. It also shows some more informations about the |
217 | hardware being detected. This parameter can be changed at | 217 | hardware being detected. This parameter can be changed at |
218 | runtime thanks to the /sys filesystem interface. | 218 | runtime thanks to the /sys filesystem interface. |
219 | Default: 2 | 219 | Default: 2 |
220 | ------------------------------------------------------------------------------- | 220 | ------------------------------------------------------------------------------- |
221 | 221 | ||
@@ -280,24 +280,24 @@ Byte # Value Description | |||
280 | 0x04 0xC4 Frame synchronisation pattern. | 280 | 0x04 0xC4 Frame synchronisation pattern. |
281 | 0x05 0x96 Frame synchronisation pattern. | 281 | 0x05 0x96 Frame synchronisation pattern. |
282 | 0x06 0xXX Unknown meaning. The exact value depends on the chip; | 282 | 0x06 0xXX Unknown meaning. The exact value depends on the chip; |
283 | possible values are 0x00, 0x01 and 0x20. | 283 | possible values are 0x00, 0x01 and 0x20. |
284 | 0x07 0xXX Variable value, whose bits are ff00uzzc, where ff is a | 284 | 0x07 0xXX Variable value, whose bits are ff00uzzc, where ff is a |
285 | frame counter, u is unknown, zz is a size indicator | 285 | frame counter, u is unknown, zz is a size indicator |
286 | (00 = VGA, 01 = SIF, 10 = QSIF) and c stands for | 286 | (00 = VGA, 01 = SIF, 10 = QSIF) and c stands for |
287 | "compression enabled" (1 = yes, 0 = no). | 287 | "compression enabled" (1 = yes, 0 = no). |
288 | 0x08 0xXX Brightness sum inside Auto-Exposure area (low-byte). | 288 | 0x08 0xXX Brightness sum inside Auto-Exposure area (low-byte). |
289 | 0x09 0xXX Brightness sum inside Auto-Exposure area (high-byte). | 289 | 0x09 0xXX Brightness sum inside Auto-Exposure area (high-byte). |
290 | For a pure white image, this number will be equal to 500 | 290 | For a pure white image, this number will be equal to 500 |
291 | times the area of the specified AE area. For images | 291 | times the area of the specified AE area. For images |
292 | that are not pure white, the value scales down according | 292 | that are not pure white, the value scales down according |
293 | to relative whiteness. | 293 | to relative whiteness. |
294 | 0x0A 0xXX Brightness sum outside Auto-Exposure area (low-byte). | 294 | 0x0A 0xXX Brightness sum outside Auto-Exposure area (low-byte). |
295 | 0x0B 0xXX Brightness sum outside Auto-Exposure area (high-byte). | 295 | 0x0B 0xXX Brightness sum outside Auto-Exposure area (high-byte). |
296 | For a pure white image, this number will be equal to 125 | 296 | For a pure white image, this number will be equal to 125 |
297 | times the area outside of the specified AE area. For | 297 | times the area outside of the specified AE area. For |
298 | images that are not pure white, the value scales down | 298 | images that are not pure white, the value scales down |
299 | according to relative whiteness. | 299 | according to relative whiteness. |
300 | according to relative whiteness. | 300 | according to relative whiteness. |
301 | 301 | ||
302 | The following bytes are used by the SN9C103 bridge only: | 302 | The following bytes are used by the SN9C103 bridge only: |
303 | 303 | ||