From: Mauro Carvalho Chehab Date: Mon, 4 Jul 2016 22:03:49 +0000 (-0300) Subject: doc-rst: libv4l-introduction: improve format X-Git-Tag: v4.14-rc1~2807^2^2~233 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb2ade02e8507f6f9a723ec7816918cf7c4fe74d;p=platform%2Fkernel%2Flinux-rpi.git doc-rst: libv4l-introduction: improve format Fix some cross-references and improve the layout of this page. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/Documentation/linux_tv/media/v4l/libv4l-introduction.rst b/Documentation/linux_tv/media/v4l/libv4l-introduction.rst index 4b261d9..61d085f 100644 --- a/Documentation/linux_tv/media/v4l/libv4l-introduction.rst +++ b/Documentation/linux_tv/media/v4l/libv4l-introduction.rst @@ -45,7 +45,7 @@ It currently accepts the following V4L2 driver formats: :ref:`V4L2_PIX_FMT_SPCA508 `, :ref:`V4L2_PIX_FMT_SPCA561 `, :ref:`V4L2_PIX_FMT_SQ905C `, -``V4L2_PIX_FMT_SRGGB8``, +:ref:`V4L2_PIX_FMT_SRGGB8 `, :ref:`V4L2_PIX_FMT_UYVY `, :ref:`V4L2_PIX_FMT_YUV420 `, :ref:`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 `, -:ref:`VIDIOC_G_FMT ` -:ref:`VIDIOC_S_FMT ` -:ref:`VIDIOC_ENUM_FRAMESIZES` and -:ref:`VIDIOC_ENUM_FRAMEINTERVALS` in +:ref:`VIDIOC_G_FMT `, +:ref:`VIDIOC_S_FMT `, +:ref:`VIDIOC_ENUM_FRAMESIZES ` and +:ref:`VIDIOC_ENUM_FRAMEINTERVALS ` in order to emulate the formats :ref:`V4L2_PIX_FMT_BGR24 `, :ref:`V4L2_PIX_FMT_RGB24 `, :ref:`V4L2_PIX_FMT_YUV420 `, and :ref:`V4L2_PIX_FMT_YVU420 `, if they aren't -available in the driver. :ref:`VIDIOC_ENUM_FMT` +available in the driver. :ref:`VIDIOC_ENUM_FMT ` keeps enumerating the hardware supported formats, plus the emulated formats offered by libv4l at the end.