diff options
Diffstat (limited to 'Documentation/video4linux/cx2341x/fw-decoder-api.txt')
-rw-r--r-- | Documentation/video4linux/cx2341x/fw-decoder-api.txt | 14 |
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. |
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] |