diff mbox series

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

Message ID 20241122100633.8971-9-sakari.ailus@linux.intel.com
State New
Headers show
Series Sub-device configuration models | expand

Commit Message

Sakari Ailus Nov. 22, 2024, 10:06 a.m. UTC
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@linux.intel.com>
---
 .../userspace-api/media/v4l/subdev-config-model.rst   | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
diff mbox series

Patch

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