diff options
Diffstat (limited to 'Documentation')
-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 |