1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _v4l2-selection-targets:
9 The precise meaning of the selection targets may be dependent on which
10 of the two interfaces they are used.
13 .. _v4l2-selection-targets-table:
19 .. tabularcolumns:: |p{6.2cm}|p{1.4cm}|p{7.3cm}|p{1.2cm}|p{0.8cm}|
21 .. cssclass:: longtable
23 .. flat-table:: Selection target definitions
31 - Valid for V4L2 subdev
32 * - ``V4L2_SEL_TGT_CROP``
34 - Crop rectangle. Defines the cropped area.
37 * - ``V4L2_SEL_TGT_CROP_DEFAULT``
39 - Suggested cropping rectangle that covers the "whole picture".
40 This includes only active pixels and excludes other non-active
41 pixels such as black pixels.
44 * - ``V4L2_SEL_TGT_CROP_BOUNDS``
46 - Bounds of the crop rectangle. All valid crop rectangles fit inside
47 the crop bounds rectangle.
50 * - ``V4L2_SEL_TGT_NATIVE_SIZE``
52 - The native size of the device, e.g. a sensor's pixel array.
53 ``left`` and ``top`` fields are zero for this target.
56 * - ``V4L2_SEL_TGT_COMPOSE``
58 - Compose rectangle. Used to configure scaling and composition.
61 * - ``V4L2_SEL_TGT_COMPOSE_DEFAULT``
63 - Suggested composition rectangle that covers the "whole picture".
66 * - ``V4L2_SEL_TGT_COMPOSE_BOUNDS``
68 - Bounds of the compose rectangle. All valid compose rectangles fit
69 inside the compose bounds rectangle.
72 * - ``V4L2_SEL_TGT_COMPOSE_PADDED``
74 - The active area and all padding pixels that are inserted or