aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/video4linux/cx2341x/fw-decoder-api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/video4linux/cx2341x/fw-decoder-api.txt')
-rw-r--r--Documentation/video4linux/cx2341x/fw-decoder-api.txt14
1 files changed, 14 insertions, 0 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]