[media] docs-rst: Convert V4L2 uAPI to use C function references
Name all ioctl references and make them match the ioctls that are documented. That will improve the cross-reference index, as it will have all ioctls and syscalls there. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
@@ -15,7 +15,11 @@ VIDIOC_ENCODER_CMD - VIDIOC_TRY_ENCODER_CMD - Execute an encoder command
|
||||
Synopsis
|
||||
========
|
||||
|
||||
.. c: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
|
||||
@@ -24,9 +28,6 @@ Arguments
|
||||
``fd``
|
||||
File descriptor returned by :ref:`open() <func-open>`.
|
||||
|
||||
``request``
|
||||
VIDIOC_ENCODER_CMD, VIDIOC_TRY_ENCODER_CMD
|
||||
|
||||
``argp``
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user