Commit | Line | Data |
---|---|---|
47d23e36 MCC |
1 | .. -*- coding: utf-8; mode: rst -*- |
2 | ||
3 | .. _VIDEO_FAST_FORWARD: | |
4 | ||
5 | VIDEO_FAST_FORWARD | |
6 | ================== | |
7 | ||
8 | Description | |
9 | ----------- | |
10 | ||
11 | This ioctl call asks the Video Device to skip decoding of N number of | |
12 | I-frames. This call can only be used if VIDEO_SOURCE_MEMORY is | |
13 | selected. | |
14 | ||
15 | Synopsis | |
16 | -------- | |
17 | ||
18 | .. c:function:: int ioctl(fd, int request = VIDEO_FAST_FORWARD, int nFrames) | |
19 | ||
20 | Arguments | |
21 | ---------- | |
22 | ||
23 | ||
24 | ||
25 | .. flat-table:: | |
26 | :header-rows: 0 | |
27 | :stub-columns: 0 | |
28 | ||
29 | ||
30 | - .. row 1 | |
31 | ||
32 | - int fd | |
33 | ||
34 | - File descriptor returned by a previous call to open(). | |
35 | ||
36 | - .. row 2 | |
37 | ||
38 | - int request | |
39 | ||
40 | - Equals VIDEO_FAST_FORWARD for this command. | |
41 | ||
42 | - .. row 3 | |
43 | ||
44 | - int nFrames | |
45 | ||
46 | - The number of frames to skip. | |
47 | ||
48 | ||
49 | Return Value | |
50 | ------------ | |
51 | ||
52 | On success 0 is returned, on error -1 and the ``errno`` variable is set | |
53 | appropriately. The generic error codes are described at the | |
54 | :ref:`Generic Error Codes <gen-errors>` chapter. | |
55 | ||
56 | ||
57 | ||
58 | .. flat-table:: | |
59 | :header-rows: 0 | |
60 | :stub-columns: 0 | |
61 | ||
62 | ||
63 | - .. row 1 | |
64 | ||
65 | - ``EPERM`` | |
66 | ||
67 | - Mode VIDEO_SOURCE_MEMORY not selected. | |
68 | ||
69 | ||
70 |