projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'mailbox/mailbox-for-next'
[deliverable/linux.git]
/
Documentation
/
media
/
uapi
/
v4l
/
vidioc-encoder-cmd.rst
diff --git
a/Documentation/media/uapi/v4l/vidioc-encoder-cmd.rst
b/Documentation/media/uapi/v4l/vidioc-encoder-cmd.rst
index 69bd9b4e0e5604f38854dee348a72dc66173e906..b724ec36a25c99b348c450e225582ee9492b34de 100644
(file)
--- a/
Documentation/media/uapi/v4l/vidioc-encoder-cmd.rst
+++ b/
Documentation/media/uapi/v4l/vidioc-encoder-cmd.rst
@@
-15,7
+15,11
@@
VIDIOC_ENCODER_CMD - VIDIOC_TRY_ENCODER_CMD - Execute an encoder command
Synopsis
========
Synopsis
========
-.. cpp:function:: int ioctl( int fd, int request, struct v4l2_encoder_cmd *argp )
+.. c:function:: int ioctl( int fd, VIDIOC_ENCODER_CMD, struct v4l2_encoder_cmd *argp )
+ :name: VIDIOC_ENCODER_CMD
+
+.. c:function:: int ioctl( int fd, VIDIOC_TRY_ENCODER_CMD, struct v4l2_encoder_cmd *argp )
+ :name: VIDIOC_TRY_ENCODER_CMD
Arguments
Arguments
@@
-24,9
+28,6
@@
Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``fd``
File descriptor returned by :ref:`open() <func-open>`.
-``request``
- VIDIOC_ENCODER_CMD, VIDIOC_TRY_ENCODER_CMD
-
``argp``
``argp``
@@
-39,7
+40,7
@@
These ioctls control an audio/video (usually MPEG-) encoder.
executing it.
To send a command applications must initialize all fields of a struct
executing it.
To send a command applications must initialize all fields of a struct
-:
ref:`v4l2_encoder_cmd <v4l2-encoder-cmd>
` and call
+:
c:type:`v4l2_encoder_cmd
` and call
``VIDIOC_ENCODER_CMD`` or ``VIDIOC_TRY_ENCODER_CMD`` with a pointer to
this structure.
``VIDIOC_ENCODER_CMD`` or ``VIDIOC_TRY_ENCODER_CMD`` with a pointer to
this structure.
@@
-64,7
+65,9
@@
These ioctls are optional, not all drivers may support them. They were
introduced in Linux 2.6.21.
introduced in Linux 2.6.21.
-.. _v4l2-encoder-cmd:
+.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
+
+.. c:type:: v4l2_encoder_cmd
.. flat-table:: struct v4l2_encoder_cmd
:header-rows: 0
.. flat-table:: struct v4l2_encoder_cmd
:header-rows: 0
@@
-101,6
+104,8
@@
introduced in Linux 2.6.21.
+.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
+
.. _encoder-cmds:
.. flat-table:: Encoder Commands
.. _encoder-cmds:
.. flat-table:: Encoder Commands
@@
-161,6
+166,7
@@
introduced in Linux 2.6.21.
flags are defined for this command.
flags are defined for this command.
+.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
.. _encoder-flags:
.. _encoder-flags:
This page took
0.027308 seconds
and
5
git commands to generate.