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:
15 .. tabularcolumns:: |p{6.0cm}|p{1.4cm}|p{7.4cm}|p{1.2cm}|p{1.4cm}|
17 .. flat-table:: Selection target definitions
25 - Valid for V4L2 subdev
26 * - ``V4L2_SEL_TGT_CROP``
28 - Crop rectangle. Defines the cropped area.
31 * - ``V4L2_SEL_TGT_CROP_DEFAULT``
33 - Suggested cropping rectangle that covers the "whole picture".
34 This includes only active pixels and excludes other non-active
35 pixels such as black pixels.
38 * - ``V4L2_SEL_TGT_CROP_BOUNDS``
40 - Bounds of the crop rectangle. All valid crop rectangles fit inside
41 the crop bounds rectangle.
44 * - ``V4L2_SEL_TGT_NATIVE_SIZE``
46 - The native size of the device, e.g. a sensor's pixel array.
47 ``left`` and ``top`` fields are zero for this target.
50 * - ``V4L2_SEL_TGT_COMPOSE``
52 - Compose rectangle. Used to configure scaling and composition.
55 * - ``V4L2_SEL_TGT_COMPOSE_DEFAULT``
57 - Suggested composition rectangle that covers the "whole picture".
60 * - ``V4L2_SEL_TGT_COMPOSE_BOUNDS``
62 - Bounds of the compose rectangle. All valid compose rectangles fit
63 inside the compose bounds rectangle.
66 * - ``V4L2_SEL_TGT_COMPOSE_PADDED``
68 - The active area and all padding pixels that are inserted or