diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-12-18 11:06:30 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:34:13 -0500 |
commit | e12ceaf4962d804320d639faed1da61e2cb85723 (patch) | |
tree | d87a93e07f4a98881818315833c06189020361ab /Documentation/video4linux/cx2341x | |
parent | 8387c66c7f06842b06222235a3749b31448d6637 (diff) |
V4L/DVB (4981): Update cx2341x documentation.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'Documentation/video4linux/cx2341x')
-rw-r--r-- | Documentation/video4linux/cx2341x/fw-decoder-api.txt | 14 | ||||
-rw-r--r-- | Documentation/video4linux/cx2341x/fw-memory.txt | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/Documentation/video4linux/cx2341x/fw-decoder-api.txt b/Documentation/video4linux/cx2341x/fw-decoder-api.txt index 78bf5f21e513..15c388b8bd19 100644 --- a/Documentation/video4linux/cx2341x/fw-decoder-api.txt +++ b/Documentation/video4linux/cx2341x/fw-decoder-api.txt | |||
@@ -32,6 +32,10 @@ Description | |||
32 | playback stops at specified PTS. | 32 | playback stops at specified PTS. |
33 | Param[0] | 33 | Param[0] |
34 | Display 0=last frame, 1=black | 34 | Display 0=last frame, 1=black |
35 | Note: this takes effect immediately, so if you want to wait for a PTS, | ||
36 | then use '0', otherwise the screen goes to black at once. | ||
37 | You can call this later (even if there is no playback) with a 1 value | ||
38 | to set the screen to black. | ||
35 | Param[1] | 39 | Param[1] |
36 | PTS low | 40 | PTS low |
37 | Param[2] | 41 | Param[2] |
@@ -60,8 +64,12 @@ Param[0] | |||
60 | 31 Speed: | 64 | 31 Speed: |
61 | '0' slow | 65 | '0' slow |
62 | '1' fast | 66 | '1' fast |
67 | Note: n seems to be limited to 2. Anything higher does not result in | ||
68 | faster playback. Instead the host should start dropping frames. | ||
63 | Param[1] | 69 | Param[1] |
64 | Direction: 0=forward, 1=reverse | 70 | Direction: 0=forward, 1=reverse |
71 | Note: to make reverse playback work you have to write full GOPs in | ||
72 | reverse order. | ||
65 | Param[2] | 73 | Param[2] |
66 | Picture mask: | 74 | Picture mask: |
67 | 1=I frames | 75 | 1=I frames |
@@ -69,6 +77,8 @@ Param[2] | |||
69 | 7=I, P, B frames | 77 | 7=I, P, B frames |
70 | Param[3] | 78 | Param[3] |
71 | 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 | ||
81 | work by selecting I or I and P frames in the Picture mask. | ||
72 | Param[4] | 82 | Param[4] |
73 | Mute audio: 0=disable, 1=enable | 83 | Mute audio: 0=disable, 1=enable |
74 | Param[5] | 84 | Param[5] |
@@ -212,6 +222,7 @@ Description | |||
212 | Select audio mode | 222 | Select audio mode |
213 | Param[0] | 223 | Param[0] |
214 | Dual mono mode action | 224 | Dual mono mode action |
225 | 0=Stereo, 1=Left, 2=Right, 3=Mono, 4=Swap, -1=Unchanged | ||
215 | Param[1] | 226 | Param[1] |
216 | Stereo mode action: | 227 | Stereo mode action: |
217 | 0=Stereo, 1=Left, 2=Right, 3=Mono, 4=Swap, -1=Unchanged | 228 | 0=Stereo, 1=Left, 2=Right, 3=Mono, 4=Swap, -1=Unchanged |
@@ -225,6 +236,9 @@ Description | |||
225 | Counterpart to API 0xD5 | 236 | Counterpart to API 0xD5 |
226 | Param[0] | 237 | Param[0] |
227 | Event: 0=Audio mode change between stereo and dual channel | 238 | Event: 0=Audio mode change between stereo and dual channel |
239 | Event: 3=Decoder started | ||
240 | Event: 4=Unknown: goes off 10-15 times per second while decoding. | ||
241 | Event: 5=Some sync event: goes off once per frame. | ||
228 | Param[1] | 242 | Param[1] |
229 | Notification 0=disabled, 1=enabled | 243 | Notification 0=disabled, 1=enabled |
230 | Param[2] | 244 | Param[2] |
diff --git a/Documentation/video4linux/cx2341x/fw-memory.txt b/Documentation/video4linux/cx2341x/fw-memory.txt index ef0aad3f88fc..0cf24918c9fc 100644 --- a/Documentation/video4linux/cx2341x/fw-memory.txt +++ b/Documentation/video4linux/cx2341x/fw-memory.txt | |||
@@ -125,7 +125,7 @@ Bit | |||
125 | 27 Encoder DMA complete | 125 | 27 Encoder DMA complete |
126 | 26 | 126 | 26 |
127 | 25 Decoder copy protect detection event | 127 | 25 Decoder copy protect detection event |
128 | 24 Decoder audio mode change detection event | 128 | 24 Decoder audio mode change detection event (through event notification) |
129 | 23 | 129 | 23 |
130 | 22 Decoder data request | 130 | 22 Decoder data request |
131 | 21 Decoder I-Frame? done | 131 | 21 Decoder I-Frame? done |