diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-12-18 20:43:36 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:34:13 -0500 |
commit | 20a919f7960df1c0bf1cb4f637149ed4b6bc9ec3 (patch) | |
tree | 42dc57863659eb45f97b46c40e97ca12bba14858 /Documentation/video4linux | |
parent | e12ceaf4962d804320d639faed1da61e2cb85723 (diff) |
V4L/DVB (4985): Update cx2341x documentation.
Removed a few unimplemented commands. Added a note for a few fields that are
not implemented in the firmware, and clarified several issues around reverse
playback.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'Documentation/video4linux')
-rw-r--r-- | Documentation/video4linux/cx2341x/fw-decoder-api.txt | 48 | ||||
-rw-r--r-- | Documentation/video4linux/cx2341x/fw-encoder-api.txt | 2 |
2 files changed, 7 insertions, 43 deletions
diff --git a/Documentation/video4linux/cx2341x/fw-decoder-api.txt b/Documentation/video4linux/cx2341x/fw-decoder-api.txt index 15c388b8bd19..1345d267c5fc 100644 --- a/Documentation/video4linux/cx2341x/fw-decoder-api.txt +++ b/Documentation/video4linux/cx2341x/fw-decoder-api.txt | |||
@@ -21,7 +21,7 @@ Param[0] | |||
21 | 0 based frame number in GOP to begin playback from. | 21 | 0 based frame number in GOP to begin playback from. |
22 | Param[1] | 22 | Param[1] |
23 | Specifies the number of muted audio frames to play before normal | 23 | Specifies the number of muted audio frames to play before normal |
24 | audio resumes. | 24 | audio resumes. (This is not implemented in the firmware, leave at 0) |
25 | 25 | ||
26 | ------------------------------------------------------------------------------- | 26 | ------------------------------------------------------------------------------- |
27 | 27 | ||
@@ -64,7 +64,7 @@ Param[0] | |||
64 | 31 Speed: | 64 | 31 Speed: |
65 | '0' slow | 65 | '0' slow |
66 | '1' fast | 66 | '1' fast |
67 | Note: n seems to be limited to 2. Anything higher does not result in | 67 | Note: n is limited to 2. Anything higher does not result in |
68 | faster playback. Instead the host should start dropping frames. | 68 | faster playback. Instead the host should start dropping frames. |
69 | Param[1] | 69 | Param[1] |
70 | Direction: 0=forward, 1=reverse | 70 | Direction: 0=forward, 1=reverse |
@@ -77,15 +77,16 @@ Param[2] | |||
77 | 7=I, P, B frames | 77 | 7=I, P, B frames |
78 | Param[3] | 78 | Param[3] |
79 | B frames per GOP (for reverse play only) | 79 | B frames per GOP (for reverse play only) |
80 | Note: apparently this does not work. For reverse play I can only make it | 80 | Note: for reverse playback the Picture Mask should be set to I or I, P. |
81 | work by selecting I or I and P frames in the Picture mask. | 81 | Adding B frames to the mask will result in corrupt video. This field |
82 | has to be set to the correct value in order to keep the timing correct. | ||
82 | Param[4] | 83 | Param[4] |
83 | Mute audio: 0=disable, 1=enable | 84 | Mute audio: 0=disable, 1=enable |
84 | Param[5] | 85 | Param[5] |
85 | Display 0=frame, 1=field | 86 | Display 0=frame, 1=field |
86 | Param[6] | 87 | Param[6] |
87 | Specifies the number of muted audio frames to play before normal audio | 88 | Specifies the number of muted audio frames to play before normal audio |
88 | resumes. | 89 | resumes. (Not implemented in the firmware, leave at 0) |
89 | 90 | ||
90 | ------------------------------------------------------------------------------- | 91 | ------------------------------------------------------------------------------- |
91 | 92 | ||
@@ -287,43 +288,6 @@ Param[3] | |||
287 | 288 | ||
288 | ------------------------------------------------------------------------------- | 289 | ------------------------------------------------------------------------------- |
289 | 290 | ||
290 | Name CX2341X_DEC_SET_AUDIO_OUTPUT | ||
291 | Enum 27/0x1B | ||
292 | Description | ||
293 | Select audio output format | ||
294 | Param[0] | ||
295 | Bitmask: | ||
296 | 0:1 Data size: | ||
297 | '00' 16 bit | ||
298 | '01' 20 bit | ||
299 | '10' 24 bit | ||
300 | 2:7 Unused | ||
301 | 8:9 Mode: | ||
302 | '00' 2 channels | ||
303 | '01' 4 channels | ||
304 | '10' 6 channels | ||
305 | '11' 6 channels with one line data mode | ||
306 | (for left justified MSB first mode, 20 bit only) | ||
307 | 10:11 Unused | ||
308 | 12:13 Channel format: | ||
309 | '00' right justified MSB first mode | ||
310 | '01' left justified MSB first mode | ||
311 | '10' I2S mode | ||
312 | 14:15 Unused | ||
313 | 16:21 Right justify bit count | ||
314 | 22:31 Unused | ||
315 | |||
316 | ------------------------------------------------------------------------------- | ||
317 | |||
318 | Name CX2341X_DEC_SET_AV_DELAY | ||
319 | Enum 28/0x1C | ||
320 | Description | ||
321 | Set audio/video delay in 90Khz ticks | ||
322 | Param[0] | ||
323 | 0=A/V in sync, negative=audio lags, positive=video lags | ||
324 | |||
325 | ------------------------------------------------------------------------------- | ||
326 | |||
327 | Name CX2341X_DEC_SET_PREBUFFERING | 291 | Name CX2341X_DEC_SET_PREBUFFERING |
328 | Enum 30/0x1E | 292 | Enum 30/0x1E |
329 | Description | 293 | Description |
diff --git a/Documentation/video4linux/cx2341x/fw-encoder-api.txt b/Documentation/video4linux/cx2341x/fw-encoder-api.txt index 15df0df57ddd..9a5710646778 100644 --- a/Documentation/video4linux/cx2341x/fw-encoder-api.txt +++ b/Documentation/video4linux/cx2341x/fw-encoder-api.txt | |||
@@ -216,7 +216,7 @@ Param[1] | |||
216 | Name CX2341X_ENC_SET_3_2_PULLDOWN | 216 | Name CX2341X_ENC_SET_3_2_PULLDOWN |
217 | Enum 177/0xB1 | 217 | Enum 177/0xB1 |
218 | Description | 218 | Description |
219 | 3:2 pulldown properties | 219 | 3:2 pulldown properties (This command is not implemented in the firmware) |
220 | Param[0] | 220 | Param[0] |
221 | 0=enabled | 221 | 0=enabled |
222 | 1=disabled | 222 | 1=disabled |