mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
doc-rst: libv4l-introduction: improve format
Fix some cross-references and improve the layout of this page. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
0c15aefd9e
commit
bb2ade02e8
@ -45,7 +45,7 @@ It currently accepts the following V4L2 driver formats:
|
||||
:ref:`V4L2_PIX_FMT_SPCA508 <V4L2-PIX-FMT-SPCA508>`,
|
||||
:ref:`V4L2_PIX_FMT_SPCA561 <V4L2-PIX-FMT-SPCA561>`,
|
||||
:ref:`V4L2_PIX_FMT_SQ905C <V4L2-PIX-FMT-SQ905C>`,
|
||||
``V4L2_PIX_FMT_SRGGB8``,
|
||||
:ref:`V4L2_PIX_FMT_SRGGB8 <V4L2-PIX-FMT-SRGGB8>`,
|
||||
:ref:`V4L2_PIX_FMT_UYVY <V4L2-PIX-FMT-UYVY>`,
|
||||
:ref:`V4L2_PIX_FMT_YUV420 <V4L2-PIX-FMT-YUV420>`,
|
||||
:ref:`V4L2_PIX_FMT_YUYV <V4L2-PIX-FMT-YUYV>`,
|
||||
@ -92,16 +92,16 @@ and to enhance the image quality.
|
||||
In most cases, libv4l2 just passes the calls directly through to the
|
||||
v4l2 driver, intercepting the calls to
|
||||
:ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>`,
|
||||
:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`
|
||||
:ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
|
||||
:ref:`VIDIOC_ENUM_FRAMESIZES` and
|
||||
:ref:`VIDIOC_ENUM_FRAMEINTERVALS` in
|
||||
:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`,
|
||||
:ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`,
|
||||
:ref:`VIDIOC_ENUM_FRAMESIZES <VIDIOC_ENUM_FRAMESIZES>` and
|
||||
:ref:`VIDIOC_ENUM_FRAMEINTERVALS <VIDIOC_ENUM_FRAMEINTERVALS>` in
|
||||
order to emulate the formats
|
||||
:ref:`V4L2_PIX_FMT_BGR24 <V4L2-PIX-FMT-BGR24>`,
|
||||
:ref:`V4L2_PIX_FMT_RGB24 <V4L2-PIX-FMT-RGB24>`,
|
||||
:ref:`V4L2_PIX_FMT_YUV420 <V4L2-PIX-FMT-YUV420>`, and
|
||||
:ref:`V4L2_PIX_FMT_YVU420 <V4L2-PIX-FMT-YVU420>`, if they aren't
|
||||
available in the driver. :ref:`VIDIOC_ENUM_FMT`
|
||||
available in the driver. :ref:`VIDIOC_ENUM_FMT <VIDIOC_ENUM_FMT>`
|
||||
keeps enumerating the hardware supported formats, plus the emulated
|
||||
formats offered by libv4l at the end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user