[PATCH 8/8] media: Documentation: Add binning and sub-sampling controls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Document the binning and scaling controls (V4L2_CID_BINNING and
V4L2_CID_SUBSAMPLING_{HORIZONTAL,VERTICAL}) in the common raw sensor
model.

Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
---
 .../userspace-api/media/v4l/subdev-config-model.rst   | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/Documentation/userspace-api/media/v4l/subdev-config-model.rst b/Documentation/userspace-api/media/v4l/subdev-config-model.rst
index 25030b80734f..ae39a1bfd2f7 100644
--- a/Documentation/userspace-api/media/v4l/subdev-config-model.rst
+++ b/Documentation/userspace-api/media/v4l/subdev-config-model.rst
@@ -161,9 +161,14 @@ Also refer to :ref:`Selection targets <v4l2-selection-targets-table>`.
       - \-
       - X
       - Binning, sub-sampling and scaling. This rectangle is relative to the
-        V4L2_SEL_TGT_CROP rectangle on the same (pad, stream). The combination
-        of binning, sub-sampling and scaling is configured using this selection
-        target.
+        V4L2_SEL_TGT_CROP rectangle on the same (pad, stream). Binning is
+        configured using the :ref:`V4L2_CID_BINNING
+        <v4l2-cid-camera-sensor-binning>` control and sub-sampling is configured
+        using the :ref:`V4L2_CID_SUBSAMPLING_HORIZONTAL and
+        V4L2_CID_SUBSAMPLING_VERTICAL <v4l2-cid-camera-sensor-subsampling>`
+        controls. Further on, scaling may be configured by setting the compose
+        rectangle, relative to analogue crop rectangle after binning and
+        sub-sampling.
     * - 2/0
       - Format
       - X
-- 
2.39.5





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux