aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/video4linux/cx2341x
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-12-18 11:06:30 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:34:13 -0500
commite12ceaf4962d804320d639faed1da61e2cb85723 (patch)
treed87a93e07f4a98881818315833c06189020361ab /Documentation/video4linux/cx2341x
parent8387c66c7f06842b06222235a3749b31448d6637 (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.txt14
-rw-r--r--Documentation/video4linux/cx2341x/fw-memory.txt2
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.
33Param[0] 33Param[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.
35Param[1] 39Param[1]
36 PTS low 40 PTS low
37Param[2] 41Param[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.
63Param[1] 69Param[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.
65Param[2] 73Param[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
70Param[3] 78Param[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.
72Param[4] 82Param[4]
73 Mute audio: 0=disable, 1=enable 83 Mute audio: 0=disable, 1=enable
74Param[5] 84Param[5]
@@ -212,6 +222,7 @@ Description
212 Select audio mode 222 Select audio mode
213Param[0] 223Param[0]
214 Dual mono mode action 224 Dual mono mode action
225 0=Stereo, 1=Left, 2=Right, 3=Mono, 4=Swap, -1=Unchanged
215Param[1] 226Param[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
226Param[0] 237Param[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.
228Param[1] 242Param[1]
229 Notification 0=disabled, 1=enabled 243 Notification 0=disabled, 1=enabled
230Param[2] 244Param[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
12527 Encoder DMA complete 12527 Encoder DMA complete
12626 12626
12725 Decoder copy protect detection event 12725 Decoder copy protect detection event
12824 Decoder audio mode change detection event 12824 Decoder audio mode change detection event (through event notification)
12923 12923
13022 Decoder data request 13022 Decoder data request
13121 Decoder I-Frame? done 13121 Decoder I-Frame? done